Forum Discussion
Remove existing DataSource
- 11 years ago
had this same issue when I created a link to a file on a mapped network drive initially, then later changed it to the full network path to the file.
Both data connections were showing up when I either published it to PowerBI.com or when I went to PowerBI.com and tried to pull the file instead.
I ended up deleting it from PowerBI.com, re-downloading and installing Personal Gateway, then pulling the file into PowerBI.com using Get Data.
Kind of a pain, but it worked. It was a solution offered by a Microsoft employee in another thread.
We recently moved a SQL server, and I updated the location in Data Source Settings screen succesfully in the query. Everything works fine when i refresh locally from PBI Desktop.
After publishing to Powerbi.com though, similar to the OP, the old data source still shows up in the Data Source Credentials screen, even though i've confirmed my data model doesn't reference it at all.
Tried everything outlinded here, I've deleted the data model, uninstalled and reinstalled the personal gateway, and uploaded the data model via both "get data" as well as "publish" and nothing seems to work.
Now my refreshes can't be scheduled since it thinks there is still some kind of reference to it, but if there was, how could the file refresh locally with no issue?
Any input/suggestions would be appreciated.
- Anonymous8 years agoNot applicable
Facing the same issue but it only affects some reports.
Looks like this happens when you have a query that references another query (that was originally using the old data source). The referencing query appears to maintain some link to the old source.
Workaround:
- open report in Power BI
- SAVE AS to new report (this step is critical – wont work from the original report)
- In Advanced Editor, make some minor change to the query string(s) (I generally use custom SQL in my queries).
- SAVE and SAVE AS to original report name
- Publish original report. Should be ok now.
- Edit report to undo minor change and republish.
- Anonymous8 years agoNot applicable
True Solution Found!!
- Got to Query Editor
- Open Data Source Settings
- Select the source to be removed
- Select "Change Source"
- change the source to be the same location as one of your other sources.
My situation was one source was a local copy of a Sharepoint file, the other was the sharepoint URL. - Click OK to accept the change.
- Power BI recognised the duplication and removed the duplicate entry.
I hope this works for you.
- Anonymous8 years agoNot applicable
True Solution Found!!
- Got to Query Editor
- Open Data Source Settings
- Select the source to be removed
- Select "Change Source"
- change the source to be the same location as one of your other sources.
My situation was one source was a local copy of a Sharepoint file, the other was the sharepoint URL. - Click OK to accept the change.
- Power BI recognised the duplication and removed the duplicate entry.
I hope this works for you.
- gilderoylockhar4 years agoRegular Visitor
This has done it!
- Anonymous7 years agoNot applicable
I have been trying for 1 week to get a previous link removed from the datasource. This workaround works - Yippe
Anonymous wrote:Facing the same issue but it only affects some reports.
Looks like this happens when you have a query that references another query (that was originally using the old data source). The referencing query appears to maintain some link to the old source.
Workaround:
- open report in Power BI
- SAVE AS to new report (this step is critical – wont work from the original report)
- In Advanced Editor, make some minor change to the query string(s) (I generally use custom SQL in my queries).
- SAVE and SAVE AS to original report name
- Publish original report. Should be ok now.
- Edit report to undo minor change and republish.
- sfmike997 years ago
Advocate II
Well I didn't do the "save as" trick but I did delete the old report and dataset from Power BI Service, then re-uploaded it again. New version works fine, however I had to recreate permissions (a pain) and I still have the old data sources listed. Even if "save as" works, it still seems like a bad solution because it is effectively a new report. All this to change a file pointer?
Please add 'delete' options for data sources to Power BI Service!