Skip to main content

Power BI

Needs Votes

Allow PowerBi Desktop to be invoked with automatic "refresh" from command line

Vote (10) Share
Neil MacMullen's profile image

Neil MacMullen on 08 Aug 2019 18:03:40

I use powerbi desktop to analyse data from another system. PowerBi can't talk to the system directly so a separate tool is used to generate csv files which PowerBi can understand. The workflow is therefore....

Use tool to generate CSV
Use PowerBi to set up a report based on the CSV
then on a daily basis...
Use tool to generate updated version of CSV
Open PowerBI report
Click "Refresh" to update the PowerBi model.

It would be a convenience if powerBI could be invoked from the command line with arguments that specified the report-name and a 'refresh' flag.

I notice there are a few other requests for command line arguments such as
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/33013216-command-line-arguments-to-control-startup
https://community.powerbi.com/t5/Desktop/Command-line-to-open-refresh-publish-PBIX/td-p/252693
https://stackoverflow.com/questions/52146213/pass-parameters-in-cmd-while-opening-power-bi-desktop
https://community.powerbi.com/t5/Desktop/Command-line-to-update-data-sources/td-p/3534

Comments (1)
Neil MacMullen's profile image Profile Picture

Hinrich Hobbensiefken on 06 Jul 2020 00:11:01

RE: Allow PowerBi Desktop to be invoked with automatic "refresh" from command line

I would like to add the wish for a datasource parameter. I would really like to change some parameters in my url before open it.