CASE STUDY · MANUFACTURING AND DISTRIBUTION · DATA RECONCILIATION

When the Old Report Is Wrong at the Total: Deciding Where Numbers Should Tie

Matching a new platform to an old report only works if the old report is right. We found places where it is not, and agreed with the client where a comparison is fair.

The Challenge

The pilot's acceptance test was simple on paper. Power BI numbers should match the existing reports for agreed periods, or every difference should be explained and signed off.

The catch was the cube behind the existing reports. It stores item-level values on every transaction row and combines them with a Max aggregation. At item level that works. Add items together, or slice by warehouse, and the totals stop meaning what they say. A comparison that looks like a Fabric error can be an error in the old report.

What We Did

We worked in three steps, in this order.

  1. Check the copy first. Before comparing any business number, we checked that the raw copy in Fabric matched the ERP. For the inventory balance table we ran the same grouped query on both sides by company, comparing row counts and the sum of every quantity column. Across seven company codes and about 945,000 rows, every difference was zero.
  2. Agree the grain. We set the tie-out at the three levels where the old reports are reliable: item, product family and planner. A mismatch in a grand total or a warehouse slice points at the cube, not at Fabric, so those views are not used for acceptance.
  3. Label what has no old number. Some figures the new platform produces have nothing to tie to. Inventory value at a past date is one: it is rebuilt from the transaction ledger and valued at today's standard cost, because no cost history is loaded. We wrote that into the model documentation and told the business owner up front.

Where the Old Logic Was Ambiguous

Some old lookups pick a row with TOP 1 and no ORDER BY across two company codes, so which row wins can change when an item exists in both. Where the old code leaves it to chance, we choose on purpose, prefer the main company, and record the choice.

The Outcome

The rules for comparison are written down and agreed before anyone looks at a result, so acceptance does not turn into an argument about whose number is right. The copy check came back clean. Whether the business numbers tie at each grain is what the acceptance review decides, and the usage reconciliation script shows each layer of the calculation so any gap can be traced to its source.

0

Differences in the Source Copy Check

945K

Rows Checked, Source Against Copy

3

Grains Where a Tie-Out Is Valid

Layer by Layer

Reconciliation Script for Usage by Item

Have a Similar Project?

Free 30-minute call. We'll tell you how we'd approach it and what it would cost. No pitch, no pressure.