# Power BI that finance trusts

> Fourteen business units closed the month in fourteen spreadsheets. We built one Power BI model on top of three ERPs, so the group report is ready in two days, not six, and nobody retypes a number.

Project on Variable Frog. Page: https://variablefrog.com/work/power-bi-finance

- Client: A retail group
- Industry: Retail
- Service: Foundation
- Stack: Power BI, DAX, dataflows, three ERPs
- What we built: One semantic model for the group
- Outcome: Month end report in 2 days, not 6
- Headline number: -67% month end close time

## In short

- The problem: 14 business units, 3 ERPs and a month end report assembled by hand over six working days.
- What we built: One Power BI semantic model: a star schema, 140 measures defined once, and security by row.
- The result: The month end report takes two days, and every figure drills down to its ledger line.

Chart: Working days from month end to the report: units on the model against units on spreadsheets.

Working days from month end to the signed report over 8 month ends: units on the model fall from 6 days to 2 while units on spreadsheets stay near 6.

### At a glance

- Challenge: **6 days** From month end to a group report, most of it spent collecting and reconciling spreadsheets.
- Approach: **1** Semantic model for the whole group: one star schema, one set of measures, security by row.
- Result: **-67%** Time to the month end report: two working days, with every figure drilling down to its ledger line.

A retail group had grown by buying companies, and each one arrived with its own ERP, its own chart of accounts and its own way of calculating margin. Group finance held it together with spreadsheets and goodwill.

## The problem

Month end was a relay. Each unit exported its ledgers, a controller reshaped them into the group template, and group finance pasted fourteen templates into one workbook (The consolidation workbook had 61 tabs and one person who understood all of them.). A late correction in one unit meant doing it again.

Power BI was already there, and it had made things worse. Every analyst had built reports straight on their own extracts, so the same margin existed four ways, each one defensible. The tool was fine. It had no model underneath it.

## What we built

One semantic model for the whole group, and the plumbing to keep it true. The three ERPs are mapped onto a single chart of accounts, currencies are converted at the group rate, and trade between units is eliminated on the way in. On top sits a star schema with every measure written once in DAX, so margin means one thing wherever it appears.

### The model, from ledgers to decisions

Three ERPs, the budget and sales systems feed dataflows, a semantic model and a deployment pipeline, which serve the month end pack, unit reviews and self service reports.

- What it reads: Three ERPs (General ledgers and subledgers from each, loaded incrementally every night.); Budget and forecast (Planning figures through one controlled template, versioned, so actuals always have something to stand against.); Store and online sales (Daily sales by store and channel, tied back to the ledger so operations and finance see the same revenue.)
- What we built: Dataflows (One mapping to the group chart of accounts, currency conversion and intercompany elimination, done once and tested.); Semantic model (A star schema with 140 measures, incremental refresh, and row level security: each unit sees its own numbers, the group sees all.); Deployment pipeline (Development, test and production. A change is reviewed and checked against last month's signed figures before finance sees it.)
- What it serves: The month end pack (Profit and loss, balance sheet and cash for the group and every unit, ready on day two.); Unit reviews (Each managing director opens the same report, filtered to their unit, and drills from a variance to the ledger line behind it.); Self service (Analysts build their own reports on the certified model. No new extract, no fifth definition of margin.)

Eight units moved to the model first and six kept their spreadsheets for a few more month ends, which gave a clean comparison and a safety net.

## The result

The units on the model closed their reporting in two working days. The others still took six, until they moved too. Report requests to the BI team fell by about half, because most questions are now a filter, not a ticket.

The first board pack built on the model matched the audited figures to the unit. That was the day the spreadsheet was archived.

## What they own now

### Theirs to keep

The model is theirs, in their own tenant, built to be extended by their own analysts.

- **The semantic model**: Certified, documented, refreshed every night.
- **The measure catalogue**: 140 measures: what each means and who owns it.
- **The dataflows**: Mapping, conversion and elimination, with tests.
- **The security roles**: Who sees which unit, reviewed with audit.
- **A trained team**: Two finance analysts now extend the model themselves.

### How it was measured

Reporting time is the working days from month end to the signed management report, for eight units on the model and six still on spreadsheets, over eight month ends.

- Units: 8 moved first, 6 followed
- Period: 8 month ends
- Model: 140 measures on 3 ERPs
- Check: Matched to audited figures

