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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
brenotte
Regular Visitor

Command line to open/refresh/publish PBIX

Hi,

 

On my customer context it's out of question to use OnPremises Data Gateway.

But we still need to schedule refresh.

We thought about command line otpions to open/refresh/publish PBIX.

We tried this PBIXRefresher but without any success.

 

Does anyone have tried and succeed to achieve this ?

 

Thanks a lot for any help.

 

Regards,

 

 

7 REPLIES 7
VijayDodamani
New Member

Anonymous
Not applicable

I have the same issue, i'm trying automate the process with without sucess.

Anonymous
Not applicable

Hi @brenotte , any solution to this topic?

dpombal
Post Partisan
Post Partisan

Did you find a solution , i need this!

v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @brenotte,

 

Here is an idea about programmatically refreshing PowerBI Desktop files data. You can vote it up and add your comments there to improve Power BI on this feature. Smiley Happy

 

In addition, from one comment of the idea, a workaround of using Power Update was mentioned. Could you go to check if it helps in your scenario? 

 

Regards

Greg_Deckler
Community Champion
Community Champion

Did you install the UIAutomation libraries? I'm not aware that Microsoft has really opened up Power BI Desktop to automation like this in the same way as Excel, Word, etc. Back in the day, I remember that we used to use a start-up macro in Excel that would perform the refresh and then save the file but I'm not aware of that kind of functionality in Desktop.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi,

 

Yes i tried but without any success

 

reg32.JPG

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors