Field notes
Playbooks from real finance work. Run it yourself.
Seven methods and a set of dashboard formats, rewritten with every company name, person, server, file path and figure removed. What is left is the method.
Educational only. Each playbook is a pattern, not a result, and there is no data in them.
Seven playbooks
Open one to read it. Use the arrow keys to move between them.
-
You need
Power BI Desktop with the report open, an AI client that supports MCP servers (for example Claude Desktop), and the Power BI Modeling MCP server installed.
Steps
- Open the report in Power BI Desktop. The model runs locally, so the report must stay open for a live connection.
- Ask Claude to list local Power BI instances. The server finds every open model and the local port each one is using.
- If more than one report is open (including two copies of the same report), confirm which instance you mean before connecting.
- Connect with a connection string of the form
Data Source=localhost:<port>;Application Name=MCP-PBIModeling. - The port changes every time Power BI Desktop restarts. After a restart, list instances again and reconnect. Do not reuse an old port.
- Explore before you change anything: list tables, columns, measures and relationships.
How to find the right fields without guessing
Query the model's metadata (
INFO.TABLESandINFO.COLUMNS) and filter on keyword fragments such as "customer", "group" or "partner". Check actual column names before writing any DAX. A guessed name that looks right is the most common source of wrong answers.Limits to say out loud
- The connection reaches the semantic model only: tables, relationships, measures, DAX. It cannot see report pages or visual-level filters, so any filter that lives on a visual has to be asked about or tested.
- Treat write operations as changes to a shared model: read first, keep a copy, and confirm before applying.
Playbook 1 flow. After any restart, list instances again and reconnect. Do not reuse an old port. -
Method
- State the two numbers and the exact filters behind each.
- List the relationships between the tables involved. Check the direction (single or both) and whether the key is unique on the "one" side.
- Compute the same total three ways with a simple DAX query: with no filters, with the dimension filter, and with the relationship path removed. Compare
COUNTROWS,DISTINCTCOUNTandSUM. - The difference between two totals tells you which step lost or duplicated rows.
- Ask which visual-level or page-level filters are applied in the report. The model cannot show them.
- Write the finding down as a definition ("sales means X, excluding Y") so the same mismatch does not return next month.
What it teaches
A mismatch is rarely an arithmetic error. It is usually two people using one word for two different things.
-
How it works
Save the report as a Power BI project (PBIP) in the PBIR format. Each visual is its own
visual.jsonfile inside the report's pages folder. A filesystem connector lets Claude read and edit those files. The semantic model is edited through the Power BI Modeling MCP.The rule that prevents lost work
- Visual file edits: close the report in Power BI Desktop first, otherwise Desktop overwrites your edits when it saves.
- Model edits (measures, DAX): keep the report open, because the live connection needs it.
- So batch the work: do all visual edits in one pass with the report closed, then all model edits in another with it open.
Definitions before pixels
Before touching a caption or a visual, settle the business definition it shows. Which orders count? What is a new versus an active customer? What is the percentage measured against: a quota or the prior year? A caption that looks wrong is often bound to a different measure than the reader assumes.
-
The target layout (generic)
Sales, then cost of sales in stages, then subtotals, gross profit, selling expenses, general and administrative expenses, operating income.
Patterns that worked
- Subtotals such as a manufacturing cost of sales line are calculated measures, not rows of data. Name them as calculations so nobody searches for them in the ledger.
- Control display order with sort measures or sort columns, not by hoping the alphabet lines up.
- For grouped expense lines, a measure that uses
SWITCH(TRUE())on the department or group is often more robust than a separate lookup table. - Override measures (an "actual, with overrides" version of each measure) let you reclassify lines for presentation without editing the source data.
- In a matrix, put the department or line on rows and filter the visual with the section sort measure "is not blank" to hide everything that does not belong.
The lesson from a real build
A lookup table keyed on a value that is not unique (several departments sharing one group name) breaks the relationship and produces blank rows. Check key uniqueness before you build a relationship.
-
Pattern
Do not connect to the ERP directly. Route through the reporting layer you already trust: the reporting database and the Power BI model on top of it.
Why
- Read-only by design. The reporting layer is a copy, so nothing the AI does can change a ledger.
- The definitions and relationships you already modelled come along, so the AI answers in your numbers, not its own guess.
- It uses access and approvals you already have.
If you want to go further
Moving the ERP to a cloud version may unlock native direct access. Evaluate it for its own benefits, not only for AI.
A weekly cash report, as a worked pattern
- Inputs: bank transaction exports (CSV, OFX or QFX) or your ledger's cash accounts.
- Output: the week's activity by account and ending balances.
Watch for
The book balance and the bank balance will differ because of outstanding checks and deposits in transit. Show the reconciling items instead of forcing the numbers to agree.
Playbook 5 pattern. Route through the reporting layer, so nothing the AI does can change a ledger. -
Pattern
- Find out how it is deployed. On-premise packages often sit on a standard database you can read. Cloud versions usually need an API, or only offer scheduled file exports.
- Land the data in staging tables, separate from your main model, then map it in.
- The hard work is not the connection. It is mapping the local chart of accounts to your reporting hierarchy, translating currency, aligning fiscal calendars, and handling local-language account and customer names.
- Ask the local IT team for: the software version, where the database is hosted, how you can reach it securely, a read-only login, the schema and modules in use, the chart of accounts, the fiscal calendar, and any rules on exporting financial data out of the country.
- Confirm the compliance question with your controller or legal team before you move any data.
-
What the options have in common
- They query the semantic model underneath the report with DAX. They do not read the report's visuals. So answer quality depends on the model's hygiene (clear names, tidy relationships, well-defined measures), not on how the report looks.
- Most paths hit a cost wall somewhere: a capacity requirement, a premium connector, or a feature scheduled for retirement. Map the all-in cost before you commit.
Check before you commit
Check the current Microsoft documentation for each option. Features and licensing in this area change often.
Dashboard formats that work
Formats only. Each drawing below is a wireframe with placeholder bars and labels. There is no data in any of them.
Executive income statement
A matrix in the standard order, actual against budget, variance and year-over-year change, with calculated subtotals.
format, not dataScorecard by owner
For example by sales rep or region. Period captions for month, quarter and year to date, each showing the result, percent to goal and variance, followed by a ranked table. Keep the caption format identical across the three periods.
format, not dataSales dashboard with backlog
Current-period sales next to a frozen backlog snapshot, with the snapshot date shown on the page.
format, not dataInventory view
Stock, coverage and slow movers on one page, defined by one agreed measure per question.
format, not dataWeekly cash report
The week's activity and ending balances by account, with reconciling items shown separately.
format, not data
Close deck. The same dashboard exported to slides each month, with a checklist that confirms which period is selected and that visuals are frozen rather than live.
Want the next one as it is written?
New playbooks and workflows go to the newsletter first. Get the newsletter, or try the Lab in the meantime.