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
zoffice
Helper I
Helper I

Change dataset of a report

Hi guys,

 

I published several reports from Desktop (connected to an excel file) to My Workspace, but now each one has its own dataset. 

 

To avoid refreshing one by one when I update the data, can I change the dataset of these reports to one dataset only?

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi there

You can use the Power BI REST API to rebind your dataset to another one

https://docs.microsoft.com/en-us/rest/api/power-bi/reports/rebindreportingroup

Another option is to go into your PBIX.
Then go into Transform Data, Edit Queries
Delete ALL the tables (Dont worry it will be fixed)
Then click Close and Apply.
Your report now will look like it is broken.
From within Power BI Desktop click on Get Data
Select Power BI Service
Then select the shared dataset which you need.
Now your report should be working again.
Upload it to your required App Workspace.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

1 REPLY 1
GilbertQ
Super User
Super User

Hi there

You can use the Power BI REST API to rebind your dataset to another one

https://docs.microsoft.com/en-us/rest/api/power-bi/reports/rebindreportingroup

Another option is to go into your PBIX.
Then go into Transform Data, Edit Queries
Delete ALL the tables (Dont worry it will be fixed)
Then click Close and Apply.
Your report now will look like it is broken.
From within Power BI Desktop click on Get Data
Select Power BI Service
Then select the shared dataset which you need.
Now your report should be working again.
Upload it to your required App Workspace.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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.

Top Solution Authors
Top Kudoed Authors