Call NowManaged IT Quote
Blog

How to Report on Shopify Sales, Returns and Stock in Power BI

· 5 min read

A useful Shopify report separates three questions. What sold? What was refunded or returned? What can we sell today? Power BI can put those answers on one page, but each measure needs its own date and definition. That matters when a refund appears a week after a sale or stock is already committed to orders.

Start with one product variant at a time

Use the variant identifier where your source provides it and display a readable SKU and product name. A school polo in sizes 8 and 10 may share a product name, but each size has its own stock position. If you bring stock from several locations into the report, identify which locations fulfil online orders before adding their available quantities together.

Worked example with two polo sizes

These figures are illustrative. In week one, a shop sells 12 size 8 polos and 8 size 10 polos at $30 each. No discounts, taxes, or shipping are included in the example. In week two, the shop refunds two size 8 polos from those orders and sells six more size 8 polos.

  • Week one: 20 units sold and $600 in product sales.
  • Week two: $180 in new product sales less $60 in refunds, giving $120 in net product sales in this simplified example.
  • Inventory: A refund affects sales figures. Check whether the goods were received and made sellable before expecting the available stock count to rise.

Shopify sales reports record sales on the sale date and reversals on the processing date. To reconcile weekly sales, apply that same timing in Power BI. If you also want to know how many week-one orders were eventually returned, build a separate view that groups those returns by original sale date. Shopify’s sales reporting definitions.

Use available stock for the reorder conversation

Suppose the size 8 snapshot shows nine on hand, four committed to orders, two held for quality checks, and three available. Another five are incoming. Only three can be sold now. If demand is about six a week and replenishment takes a week, check when the incoming five will arrive and decide whether to expedite or move stock from another location. Check the corresponding size 10 position separately before ordering both sizes. Shopify’s inventory states.

How to set up the report in Power BI

  1. Import sales and reversal records. Keep the event date, variant identifier, quantity, and signed amount. Confirm whether reversals already arrive as negative values so they’re counted once.
  2. Keep inventory as a separate snapshot. Store the variant, location, snapshot time, and stock states. Use the latest relevant snapshot for current stock. Adding snapshots across days counts the same units repeatedly.
  3. Connect both views to a variant list. Keep one row per variant in that list. Avoid joining every sale directly to every stock record for the SKU because the repeated matches can inflate totals.
  4. Show when each source was refreshed. Put weekly sales and returns beside available and incoming stock. Give the inventory snapshot a visible timestamp so staff can spot stale figures.

Reconcile before acting on the numbers

Pick a completed week and match Shopify’s date range, time zone, currency, and filters. Compare like-for-like measures, such as net product sales against net product sales. Spot-check a return processed in a later week and a refund where no goods were restocked. Then compare available stock for one variant and location against Shopify at the same snapshot time. Write down any intentional differences so staff know which report to use for each decision.

For the basics, read how to build your first Power BI report. The One World Uniforms case study shows how reporting and ecommerce fit into our wider client work. If you want help scoping a report, see our Power BI reporting service.