CaptainYi logoCaptainYi
← Back to Tools

Sales Analytics Dashboard

Live

Merges Xero and Excel sales data into consolidated management reports by channel and SKU.

This page shows simulated demo data for illustration purposes only.

AUD 284,500

Total Revenue

1,847

Total Orders

Wholesale

Top Channel

+12.4%

MoM Growth

Revenue by Channel

Wholesale52%
Retail25%
Online15%
Export8%
DescriptionChannelUnits SoldRevenue (AUD)% Share
Beef Striploin 250gWholesale1,840AUD 52,44018.4%
Atlantic Salmon FilletRetail920AUD 38,64013.6%
Chicken Breast (kg)Wholesale3,120AUD 31,20011.0%
Tomato Passata 3kgOnline2,340AUD 23,4008.2%
Jasmine Rice 25kgExport410AUD 22,5507.9%
Heavy Cream 600mlRetail1,680AUD 18,4806.5%

Private Repository

This tool's source code is private. Contact me for technical details.

Tech Stack

PythonXero APIpandasopenpyxlFastAPIDocker
Contact me to learn more →

The problem

Sales for a small food business are rarely in one place. Xero has invoices. A spreadsheet has marketplace payouts, a weekend market, or a wholesale account that is invoiced in a different shape. Management asks for “sales by channel” and receives two exports and a verbal caveat. The caveat is where the decision actually lives, and it is not in the file.

SKU names drift. The same sauce is a different code in the online store and on the wholesale price list. A merged report that sums on description text double-counts or drops the line. Channel is even less stable: one person calls it wholesale, another calls it the distributor’s name.

The dashboard on this page is the consolidation step. It takes Xero and Excel, maps channels and SKUs, and shows revenue and share in one view. The bars and the table are sample figures so the layout can be discussed. They are not a customer’s trading result. The repository is private.

How the process works

Consolidation fails when the mapping is informal. The work is the map, then the refresh.

  1. 1

    Name the sources

    Which Xero organisation, which workbooks, and which tabs are in the monthly pack today. A source that only one person can find is not a source. It is a favour.

  2. 2

    Map channels once

    Write the list of channels you want on the management page, and the rule that puts an invoice or a payout into each one. “Everything else” is allowed. An unlabeled remainder is not.

  3. 3

    Map SKUs once

    A crosswalk from the online code, the wholesale code, and the Xero item code to one reporting SKU. Until that sheet exists, a merged total is a guess with decimal places.

  4. 4

    Refresh on the close you already have

    Weekly or monthly, on the same day the bookkeeper considers sales “in”. Refreshing hourly against half-posted invoices produces a chart people stop believing.

  5. 5

    Show share, not only dollars

    A channel that grew in dollars and shrank in share is a different conversation from a channel that grew in both. The view should make that obvious without a second pivot.

  6. 6

    Leave adjustments visible

    Credits, samples, and marketplace fees need a sign and a note. Netting them silently is how the owner’s number and the accountant’s number diverge.

Before and after

Before

  • Two exports and a spoken explanation of what was left out.
  • SKU and channel names depend on who built the pivot.
  • The pack is rebuilt from scratch each month.

After

  • One view by channel and by reporting SKU, with the mapping written down.
  • Share sits next to revenue so mix is visible.
  • The monthly job is a refresh, and adjustments stay as rows.

Do not read the sample revenue totals on this page as performance. They exist so the table has a shape.

Questions

Will this match Xero to the cent?

It should match the slice of Xero you included, after the adjustments you listed. If marketplace fees live outside Xero, the report must say they are outside Xero.

Do we need a data warehouse?

Usually no. A mapped workbook plus a repeatable import is the right size until the number of sources, not the ambition, forces something larger.

What about cost and margin?

Margin needs a cost you trust. This view starts at sales because that is the file people already argue about. Cost can be added when the SKU map is stable, not before.

Who is it for?

An owner or an operations manager who currently waits for a monthly pack. It is not a replacement for the general ledger.

If the monthly pack is a rebuild

Send the two files you wish were one, and the channel list you want on a single page. The first result should be a map, not a new chart style.

Send the two exports