This blog post was first published on Lion’s Share of data
Whenever I came across blogs, presentations, or webinars about Agentic Development in the past, the focus was always on either Power BI Reports or Fabric Apps. It was also frequently mentioned that Power BI Project files provide the right structure for agentic workflows. Paginated Reports were never part of the conversation—or at least I hadn’t noticed them.
This week, I decided I wanted to give the topic a try.
RDL Files of Paginated Reports
I hadn’t realized that RDL (Report Definition Language) files are essentially just XML files. That means whether it’s TMDL, JSON, or XML, an agent should be able to handle it quite well.
Microsoft has also defined a schema for it. A high-level overview of the structure:
- <DataSources> and <DataSets>: Connections, queries, and fields
- <ReportSections> or <Body>: Layout containing Tablix, charts, text boxes, and other elements
- <ReportParameters>: Parameters
My First Attempt
My first attempt was using the GitHub Copilot CLI and the pbir-cli by Kurt Buhler and Maksim Anatsko. During my initial try, I had forgotten that I didn’t have Power BI Report Builder installed. So, the agent looked for a workaround and ended up creating an RDL file directly.

Since I hadn’t published the semantic model either, it found yet another workaround and accessed the locally opened Power BI file directly via PowerShell.

You can see this in the Connect Sales per Customer.ps1 section. It was quite an exciting experience to see that you can read a semantic model using PowerShell. Then, using the RDL and these data points, it generated a test PDF export to validate the output. Attached is an excerpt from the PDF.

Pretty crazy, considering Paginated Reports have always felt like a bit of an art form to me until everything aligns pixel-perfect—even though that’s exactly what they were designed for 😉.
My Second Attempt with the GitHub Copilot App
I took an existing semantic model and submitted the following prompt.

I’m at least somewhat reassured that it required Opus for this. After a few minutes of work, it produced a respectable, high-quality paginated report. For a prototype run and initial hands-on experience, I’m already very pleased with the result. Attached is the final feedback.

The most important part is the final report.

What’s really great is that scrolling through individual customers works seamlessly, and the report also exports properly to Excel into separate tabs.
For straightforward use cases, Agentic Development could offer a very fast path to delivering value here. The quality for more complex scenarios will certainly still need to be tested.