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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jared168
Employee
Employee

Command line to update data sources

Is there a way to update my PBIX files without manually opening and refreshing them? I'd like to have a script run and update my data.

 

Any Ideas?

 

(For why I'm not using the Power BI Online updating, it doesn't currently support my internal company OData information source, and I'd like to automate the update process)

3 REPLIES 3
mllopis
Community Admin
Community Admin

Hi Jared,

Currently there is no way to programmatically refresh a PBIX file.

However, on-prem OData feeds should be refreshable using the Personal Gateway. Could you elaborate on what issues you found trying to do this?

Thanks,
M.
djnww
Impactful Individual
Impactful Individual

Hi All,

 

Is Power BI working on command line functionality ?

 

Personal Gateway & Enterprise Gateway are great, but ONLY for on-prem data. What we need is a way to refresh data that is being retrieved from an API on a daily basis (ie. coming from an External source which is not on our premises).

 

Regards,

Daniel

The OData sources I have do not seem to work through the Personal Gateway. I think PowerBI.com tries to access them through a public interface, which would not be possible. It must be accessed from inside my corporate network. Here is the error I get:

 

"Cannot connect to the data source"

Capture.PNG

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.