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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
PunitPrabhu89
New Member

Programatically Refresh Power Bi Desktop file and save it

i have multiple clients from whom i get data , and i have compute engine to process and get aggregated KPI file . I use that file to create Power bi report and i upload it to blob and expose it to front end and client logs in and uses it similarly its done for multiple clients , how do i automate power bi file creation to change the data , refresh and save it in local using powershell .  i dont want to user power bi service or rest api or power automate no licensing.

 

I tried with Powershell and python it didnt work

 

Kindly help

3 REPLIES 3
kushanNa
Super User
Super User

Hi @PunitPrabhu89 

 

Check out this video: https://www.youtube.com/watch?v=8HSK_-1ULro . I think he is using mouse clicks to refresh a PBIX file locally. Maybe this is an old video and the current version has changed, so I’m not sure how valid it is, but you should be able to write your own Python code for mouse clicks and movements, for example : https://www.youtube.com/watch?v=cZQDO0ktnrw 

danextian
Super User
Super User

Hi @PunitPrabhu89 

 

I'm not sure if there is a software that can even do that. You can try Power Automate Desktop. 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thank you @danextian for quick reply  , i wanted to check if its possible with power shell or python , without using power automate, power bi service or api . because using them we need license 

Helpful resources

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

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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