Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I would like to programmatically create a pbix file from scratch or load an empty file with data I extract from my NoSQL database. In my use case, a business analyst or admin would write XQUERY to generate a result set and landed on the filesystem for use by PowerBI. I can do this today by creating CSV files, but I would like to forgo the critical path conversion and have the export job create the PBIX file. Is this possible?
@Anonymous,
It is not possible to create PBIX file via API as you describe, an similar idea about this issue has been submitted in the link below, please vote it up.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7345565-power-bi-designer-api
Regards,
Lydia
Thanks for the direction, Lydia. That approach is historically very important for us developers in general. I can't believe that it does not exist yet in the Power BI environment / ecosystem.
By the way, that creation on the fly was very common in Crystal Reports back in the 2000s' when we used to create CR files from our VB6 code. Will there be it is possible to work with the DLLs like we did it for creating the CR files?
🙂👍
You can see the current Power BI REST API documentation here, and to this day there is nothing to create a dataset:
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/update-refresh-schedule
It's a surprising omission compared to Tableau who added their Hyper columnar engine years after PowerPivot/Power BI had VertiPaq, but does offer the Hyper API.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |