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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors