Announcements
No record found.
We received a requirement to develop the Report in Power BI already the Report Developed in Business central. Since Business Central does not provide an option to expose reports directly via API, we planned to send the required data from Business Central to Power BI through an API. As reports cannot be published as APIs in Business Central, we decided to run the report logic in Business Central and store the calculated values in a custom table. This table will then be exposed through an API for Power BI consumption. In Business Central, it is possible to run a report without previewing or saving it as PDF, Excel, or Word by using Report.Run() or Report.RunModal( ). This allows the report to execute its business logic and populate the custom table without generating or saving any output file. Therefore, the above approach is technically feasible and recommended for this scenario.
We received a requirement to develop the Report in Power BI already the Report Developed in Business central. Since Business Central does not provide an option to expose reports directly via API, we planned to send the required data from Business Central to Power BI through an API.
As reports cannot be published as APIs in Business Central, we decided to run the report logic in Business Central and store the calculated values in a custom table. This table will then be exposed through an API for Power BI consumption.
In Business Central, it is possible to run a report without previewing or saving it as PDF, Excel, or Word by using Report.Run() or Report.RunModal( ). This allows the report to execute its business logic and populate the custom table without generating or saving any output file.
Report.RunModal( )
Therefore, the above approach is technically feasible and recommended for this scenario.
You can also consider an alternative approach: Instead of storing calculated values in a custom table, you can save the report output as an encoded Base64 string using AL. This allows you to expose the report directly via an API and then decode it back into a PDF.
For reference, here’s a detailed guide on how to implement this in AL: https://yzhums.com/56542/
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,946 Super User 2026 Season 1
YUN ZHU 1,177 Super User 2026 Season 1
Khushbu Rajvi. 555 Super User 2026 Season 1