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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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 Solution Authors
Top Kudoed Authors