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
BrianHoj
Frequent Visitor

Replace PBIX file in Embedded

We have gone through and built some sample web apps pointing to some sample PBIX files we loaded up into our Embedded Workspaces.  We would like to replace the existing PBIX file we uploaded with a new one.  How do we overwrite the existing and keep the same DataSet ID?

 

The scenario in the future would be that the user creates their reports in PBI Desktop and imports the data into the file.  We publish to PBI embedded.  At some point they want to change the file, add pages, visualization changes, refresh data, etc..  We don't want to change the App to reflect a new dataset id.  

 

Any thoughts?

1 ACCEPTED SOLUTION

@BrianHoj

 

Based on my test, the report id doesn't change in a overwritten import, thus it won't affect the report embedded somewhere in your application.

 

View solution in original post

4 REPLIES 4
Eric_Zhang
Employee
Employee

@BrianHoj

 

There's an argument nameconfilict for PostImportWithFileAsync, and as per this github sample, the argument value "Overwrite" can be used to overwrite the already existing dataset.


@v-lvzhan-msft wrote:

@BrianHoj

 

There's an argument nameconfilict for PostImportWithFileAsync, and as per this github sample, the argument value "Overwrite" can be used to overwrite the already existing dataset.


Thanks that helps a bunch.  Does that keep the ReportID the same as well?

@BrianHoj

 

Based on my test, the report id doesn't change in a overwritten import, thus it won't affect the report embedded somewhere in your application.

 

Hi I am using Power BI CLI commands to automate publishing power bi report into workspace

but overwrite option is not working for me anyone knows how can we achieve overwriting report using power bi cli

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.