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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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,

 

 

6 REPLIES 6
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 Patron
Post Patron

Did you find a solution , i need this!

v-ljerr-msft
Employee
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
Super User
Super User

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.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi,

 

Yes i tried but without any success

 

reg32.JPG

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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