Forum Discussion
sophie63
9 years agoHelper I
Switch a data source from SQL database to Power BI Service (live connection) on existing dashboard?
Hi, Is is possible to switch a data source from an SQL database to Power BI Service (live connection) on an existing dashboard? I want to use the same data set but switch to live connection witho...
dscott73
3 years agoResolver I
This is the easiest way I have found. This assumes you have a SQL DB Connection of some type.
- Load the original .pbix file with the SQL DB Connection.
- I strip out the pages, and remove all visuals, leaving a blank page titled "Sales Dataset". Save this file as "Sales Dataset" and publish to the Power BI service. Close this file after publishing.
- Re-load the original report .pbix file
- Click on the Model view Icon to the left of the designer
- Highlight all the tables and delete them.
- Click on Get Data > Power BI Datasets
- Select the "Sales Dataset" you uploaded earlier. The report should connect. Click over to report view, and viola! Your visuals are working again.
- Publish this new report to your desired workspace
- Remove the old report
- Save file as .pbit (or as a .pbix but at this point .pbit is a better option)