Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
I'm faily new to Power BI. Was wondering if there is any scripting shell available for Power BI to automate repititive tasks in report modification / generation? Stuff like: delete every page that starts with X or move the visuals with name X down the page by Y pixels... Hope you get the idea.
Thanks.
Solved! Go to Solution.
Hi @hoss,
It sounds like you want to directly use the script to change the internal contents of a pbix file. AFAIK, current these features not supported on power bi desktop side.
In my opinion, I'd like to suggest you design a report and parametrize its connection string to save it as a template. Then you can simply open and modify the template designs to quickly generated some different versions of the report.
Deep Dive into Query Parameters and Power BI Templates
BTW, if you mean to edit the report contents without using the power bi desktop client, you can also take a look at the third-party tools. (e.g. tabular editor)
Offline model editor experience for Power BI
Regards,
Xiaoxin Sheng
Hi @hoss,
If you mean the embedded power bi contents, it is possible to use javascript API to control its reports and visuals. You can take a look at the following wiki of power bi javascript.
microsoft / PowerBI-JavaScript
Regards,
Xiaoxin Sheng
Hi @Anonymous , thanks for the resposne. No I'm talking about automating report creation and modification in Power BI Desktop. For example a task could be: opening a pbix file, running a script that deletes some pages and saves the pbix file as a new file.
Hi @hoss,
It sounds like you want to directly use the script to change the internal contents of a pbix file. AFAIK, current these features not supported on power bi desktop side.
In my opinion, I'd like to suggest you design a report and parametrize its connection string to save it as a template. Then you can simply open and modify the template designs to quickly generated some different versions of the report.
Deep Dive into Query Parameters and Power BI Templates
BTW, if you mean to edit the report contents without using the power bi desktop client, you can also take a look at the third-party tools. (e.g. tabular editor)
Offline model editor experience for Power BI
Regards,
Xiaoxin Sheng
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
3 |