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
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
Helper II
Helper II

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

Anonymous
Not applicable

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

Anonymous
Not applicable

Just add -Overwrite to your upload command.  Simplez 🙂

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.