Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Create a PBIX file via API

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?

3 REPLIES 3
Anonymous
Not applicable

@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.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.