The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Our team has implemented change management for some critical Power BI Reports used by other teams at my company. We do this by extracting the “.pbix” zip file that makes up a report and storing the individual files into Perforce. We use an internal Perforce-integrated system for tracking changes to the report and, most helpfully, for deploying the changes made on our development system to our test and production systems.
One issue that we have is the size of the data part of the “pbix” versions of the reports. A file named “DataSource” holds the report’s data at the time the “.pbix” file was last saved with Power BI Desktop.
This file can get very large. We have reports whose “DataSource” files contain almost 200 MB of binary data. It’s not a good idea to put these into source file systems made for smaller text-based files, especially since tracking differences between versions of these data files is not useful nor often even possible.
Power BI Report Desktop provides a way to save reports as “.pbit” templates. These are also zip files that are nearly identical to the “.pbix” files and would be a better alternative for change management. They have the benefit of replacing the large “DataSource” file with a much smaller text file named “DataModelSchema”. This smaller file appears to have enough information (specs of the data source connection, names of tables, names of columns from the tables, etc.) to be able to recreate the “DataSource” file.
Currently however, the only way to do this “re-creation” and produce a publishable version of a report from a “.pbit” template is for a human to use Power BI Desktop to “Save As” a “.pbix” file. This “.pbix” file can then be uploaded to the report server or saved directly to the report server. (This is also the only way to do this with the new, somewhat promising “.pbip” files currently in preview, see link below).
Having a script that replaces the manual Power BI Desktop “Save As” step or at least recreates the “DataSource” would be ideal for inclusion in an automated report deployment process.
Unfortunately, I have not been able to find such a script from Microsoft after exploring multiple support sites. I’ve since had a call with Microsoft support and they’ve confirmed that there is currently no way to do this conversion automatically.
What I did find in my online searches was an MS support response that included a link to this page where interested parties can vote up a feature that would address this issue:
https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=e41d996b-1fc4-463a-b8ab-bdedb73728d3&page=8
I also confirmed with Microsoft support that getting this feature many votes increases the likelihood that it will be implemented in a future version of Power BI.
I ask readers of this post to spread the word to fellow Power BI Report users and organizations who would benefit from this proposed feature…and please ask them to vote up the idea. 😊
Thank you.
P.S. Here is a link to the potentially promising new file format for Power BI Reports: Power BI Reports Projects:
https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-overview
Hi @jmillette007 ,
Thank you for your sharing.
Yes, if an idea is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.