In this article 8 sections
The gold layer was done: a dimensional model in a lakehouse, built by Claude Code without me writing any code. The last step in a data platform is the part the business actually sees, so I asked Claude for a Power BI semantic model and a report on top of it. It got a lot further than I expected, and it also made pretty clear where you still need a human.
This is the final part of my series on whether AI can replace a Fabric data engineer. In part four Claude built the silver and gold layers for Adventure Works and Moneybird, with six dimensions, two fact tables and totals that reconcile with both sources.
A functional prompt, not a technical one
My prompt was short:
Start by creating a semantic model in the Fabric workspace containing the gold layer tables in a dimensional model, so that Power BI can run against it. I prefer Direct Lake.
I deliberately kept it functional. It describes what I want to end up with and leaves the how to Claude: nothing about measures, relationships or folders, and Direct Lake only as a preference. Then I let Claude cook.
What Claude built
About nine minutes later the semantic model sm_sales_invoicing was live in the 40_serving folder of the TFG AI Experiment workspace. It uses Direct Lake on the gold lakehouse, so Power BI reads the gold tables directly. Claude’s summary:
- Tables: Sales Order Line and Invoice Line as facts, sharing Customer, Product and Date. Around them are Address, Order Profile and Invoice Profile, plus a small Load Info table that shows when the data was last loaded.
- Measures, grouped into folders: Sales (sales amount, order count, average order value, freight, tax and discount), Invoicing (invoiced amount, paid amount, outstanding amount, outstanding %) and Reconciliation (uninvoiced sales amount and invoice coverage %).
- Time intelligence: one selector that shows any measure as YTD, last year, last year YTD or year-on-year change.
That Load Info table is smart, and I didn’t even ask for it. The time intelligence selector is really cool too.
Claude also checked the model against gold, the same way it reconciled every layer before:
| Check | Model | Gold |
|---|---|---|
| Sales | €2,040,928.23 (831 orders) | equal |
| Invoiced, excl. / incl. tax | €1,996,272.33 / €2,415,489.66 (806 invoices) | equal |
| Customers | 847 (842 in both systems, 5 only in Adventure Works) | equal |
Testing turned up two problems, which it fixed. Every filter list showed an extra “(Blank)” entry, even though every sales and invoice row has a matching customer, product and date, so Claude told the model that gold guarantees those matches. And the customer count included the “Unknown” placeholder customer, giving 848 instead of 847. The model lives as code in fabric/40_serving/, committed on the branch.
Reviewing the model in Fabric
The first thing I did in the model view was move tables around. I always put my dimensions on top and my fact tables at the bottom. That’s a habit from way back in my Power BI days, when I did a lot of semantic model and DAX optimisation. It makes it very easy to see where your filter context goes once you start writing DAX. The tables on top filter the tables at the bottom.

They’re all one-to-many relationships, which is exactly what you want. There are a few different dates on the facts, which also makes sense. Claude created a whole bunch of DAX measures and hid the fields that are wrapped in measures, like the amounts and the sales IDs.
The item lineage shows the semantic model reading from lh_gold, as it should. Then I opened the settings and got an “Upgrade to a paid Power BI license” dialog. I thought I had a Power BI licence on this demo tenant. Apparently I don’t, which is a bit annoying. My regular work account does have a Power BI Pro licence, so that’s how I looked at the report later. Under gateway and cloud connections the model maps to single sign-on. Claude didn’t create a connection there, and that’s fine for now.
Claude plans five report pages
Next I asked Claude to build a Power BI report. Before building anything, it wrote a report plan to _brief/report-spec.md and waited for my approval.

Overview gives five headline numbers and a “Needs attention” list, Sales compares this year with last year, Receivables shows which customers to chase first, Reconciliation shows only the customer-months where sales and invoices differ, and Customer detail opens when you right-click a customer anywhere.
The design would be calm and uncluttered: grey and navy, at most five visuals per page, the same header on every page. Red only appears where a threshold is broken (invoice coverage below 99%, overdue more than 30 days, sales more than 10% below last year), always with a marker so it doesn’t rely on colour alone. It also warned me that every Moneybird test invoice is overdue and nothing is paid, so the Receivables page would be red everywhere. That’s true: I never did any accounting on those invoices. Approved, start building.
The other day I designed a Power BI report for an actual live customer this way, and it went really well. Having Claude work out how to build the report and deploy it to Fabric was super powerful.
Blocked, then testing its own work
After about nine minutes Claude came back with the semantic model additions for the report (last-year comparisons, an overdue age breakdown, the thresholds and the colour rules), all checked against the data. It also found that in Adventure Works a company often has several contacts, each with its own customer number: 440 company names, 848 numbers. So the report counts customers per company.
But it couldn’t start on the pages. The report needs Microsoft’s report tool, powerbi-report-author, which runs on Node.js, and the permission system had denied the install. Rather than guess the internal format of every chart, it asked me to run this:
brew install node && npm install -g @microsoft/powerbi-report-authoring-cli@latest
Once the tool was installed, Claude built the report and then did something I really like: it rendered every page against the live model with the service preview. That needs a browser engine. There was no Chrome or Edge on the machine, so it installed Chromium into a cache folder and carried on.
That takes a while, and I kind of hate waiting for it. Usually you’d leave it running in the background and work on something else. But it means Claude checks whether things actually work, instead of handing you a dashboard nobody has ever looked at or tested. And it did find problems. It applied a first round of fixes from its own screenshot review: fonts, label units, legend names, the KPI layout, rounding noise and the filter pane. So you get the full circle of building, testing and fixing without me in the loop, which is kind of cool.
At that point /usage showed an estimated cost of $11.68 at API rates. I’m on a Claude subscription, so I didn’t pay that, but it tells you what this work would cost at commercial rates. And to be honest, that’s not that much.
When it finished, after almost 25 minutes on the report, it listed a few things I should know. On the Sales page, €350K of sales shows up under the country “NL”: customers without an Adventure Works address take their country from Moneybird, where every test contact is set to NL. The year selector opens on 2026, which needs a one-line change at year end. And the report, build log and decision log are all in Git.
The report
My demo account can’t open the report, so I switched to my other account, and there it was: rpt_sales_invoicing. I didn’t touch anything, and it’s definitely a Power BI report.

The Overview page shows invoice coverage at 96.5%, below the 99% target, so it’s red. The data is as of 23 November, straight from the Load Info table. The headline sentence counts 21 customers below 99% invoice coverage and 220 customers overdue more than 30 days.

It’s not perfect. I don’t like how the filters are laid out, there are some layout errors, the slicers are a bit ugly and a few things are wonky design-wise. But at least we have a working report on a tested model, and if I’d had a lot of time I would have been building that myself.
What I’d do differently
If you don’t have that time, hand it to the agent and work on things that need your attention more. Then iterate: send screenshots to the agent and tell it which visuals to align and what to change.
To be fair to Claude, I didn’t give it a design system or an example of a report I wanted to see. That’s the first thing I’d change. My recommendation if you want to do this in practice: use Claude Design to create a design first, and tell it you’re building a Power BI report, because then it designs for Power BI specifically. Hand those screenshots to Claude Code, or put them in your repository, and it will pick them up.
My verdict on the series
AI for Power BI isn’t autonomous for the full cycle yet. But it’s maybe 70% there, and 70% is a whole lot better than 0%, because it saves you a lot of manual clicking. The most tedious, boring parts of the work can be automated.
It’s maybe 70% there, and 70% is a whole lot better than 0%.
That also sums up the series on autonomous data engineering. Claude Code went from a brief to ingestion, bronze, silver, gold, a semantic model and a report, and overall it’s quite okay. We’re not there yet. A year from now, and definitely five years from now, the world with AI will look very different. But if you work with Fabric and Power BI today, you’ll still have a job in the near future. I know you will. AI is going to make that job easier, and I hope this series gave you some inspiration and a few dos and don’ts.