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)
- Anonymous3 years agoNot applicable
Thanks For your Comment - But Its not Working and Giving Error Like " The Connect Live Option is Disabled Because It already Contains Data From Another Source . But My File Is not having Any Data .
- dscott733 years agoResolver I
Then you are doing something wrong. I just followed my own directions, and it worked fine. I just downloaded the latest version of Power BI as of today (June 30, 2023). That error sounds like you might be working with an older version of PowerBI Desktop that did not allow mixed datasets.