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
MKEHawkeye
Frequent Visitor

Is there a way to auto extract a template PBIT from a PBIX file or get a PBIT from the PBIRS API?

We are trying to use the Power BI on-prem API to Get all the reports and download them to a folder (we were able to POC this).  Then we would like to extract the template file -or- remove all data from the files so we could check them into source control.  Because these reports can be very large and contain very sensitive data, we need the data scrubbed from the files.  Is there a way to do this?

2 REPLIES 2
mbujtor
Frequent Visitor

Hi MKEHawkeye,


did you maybe find a reliable solution for this?

 

I need to list all the used measures and attributes from the published reports, and as a first step I want to get all the files from the service - wo data of course because of sensitivity issues.

 

Thank you,

Máté

d_gosbell
Super User
Super User

Unfortunately there is currently no API call that will let you extract a pbit from a pbix it can only be done through the UI at the moment.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.