cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

refreshing a PBIX file through powershell/any other method.

Hi Everyone, I wanted to ask if it is possible to refresh a PBIX file( in an automated way like power shell script or something). I have a report that uses google analytics data as source. the report needs to be placed at Power BI report server(So can't use the Google analytics content pack) which does not handle scheduled refresh for google analytics data source yet. I am also looking into ways of using google analytics data source in an excel file. Any help or insight into this would be greatly appreciated.

 
 
 
3 REPLIES 3
harikishant Regular Visitor
Regular Visitor

Re: refreshing a PBIX file through powershell/any other method.

Hi Hammadhassan,

 

You can upload/re-upload the PBIX from your local system to Report Server using PBIRS V2.0 REST API's or by installing the PBIRS libraries in powershell which got plenty of functionalites that you can play around with.

 

I've done using REST API's in my project and it is the easiest to start with.

 

Cheers,

Hari T

asmarezgui Regular Visitor
Regular Visitor

Re: refreshing a PBIX file through powershell/any other method.

Hello

 

Any doucument for both methods please?

 

I need to use powershell in order to update an existing update.

 

I just find a command that copy a bix for the first time but not update

 

MAny thanks

Asma

SkinnyPete63 Regular Visitor
Regular Visitor

Re: refreshing a PBIX file through powershell/any other method.

Just add -Overwrite to your upload command.  Simplez 🙂

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 152 members 1,718 guests
Please welcome our newest community members: