Forum Discussion
majort
11 years agoNew Member
Remove existing DataSource
Hi, if i change a data source for example from one database to another database by editing the M Script, the previous used database connection still exists because when i publish the pbix to powe...
- 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.
Anonymous
8 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.
gilderoylockhar
4 years agoRegular Visitor
This has done it!