cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jared168 Frequent Visitor
Frequent Visitor

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
Moderator mllopis
Moderator

Re: Command line to update data sources

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.
jared168 Frequent Visitor
Frequent Visitor

Re: Command line to update data sources

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

djnww Established Member
Established Member

Re: Command line to update data sources

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

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 287 members 2,890 guests
Please welcome our newest community members: