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

How to replace dataset without changing report URL

Hello everyone.

Could you please give me advice?
I've got a report published using Analysis Services Live Connection.
I want to change it to import without changing report URL, so I created a new report with import and renamed PBIX same as the exisitng published report of LC and then published it to Service.
But got an error saying try later or raize a support ticket.

I think, it will be resolved with PQ code.

Any idea please?

Thanks in advance,

Vladi

1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @PbiCeo 

 

API could do this.  You can refer to the official document :

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updatedatasources 

But please note that:

Important:

  • The original datasource and the new datasource must have the exact same schema.
  • For cached models, the dataset must be refreshed to get the data from the new data sources. If you're not using enhanced dataset metadata, wait 30 minutes for the update datasources operation to complete before refreshing.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @PbiCeo 

 

API could do this.  You can refer to the official document :

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updatedatasources 

But please note that:

Important:

  • The original datasource and the new datasource must have the exact same schema.
  • For cached models, the dataset must be refreshed to get the data from the new data sources. If you're not using enhanced dataset metadata, wait 30 minutes for the update datasources operation to complete before refreshing.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

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.