Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
jibran
Helper II
Helper II

Remove the data source

Hi,

 

How can I remove previous data sources in Power BI Desktop.

Actually I am getting an error when I try to connect to Oracle Database since morning, actually we upgrade database and add new port to the database. 

Since then I am getting following error.

Is there anyone else encountered the same thing before?

 

 

 

Oracle Error.PNG

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @jibran,

 

You can remove the data sources in the current file or previous used data sources in desktop. You can go to File-> Options and settings-> Data source settings loike below:

q3.PNG

 

Best Regards,
Qiuyun Yu

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

9 REPLIES 9
v-qiuyu-msft
Community Support
Community Support

Hi @jibran,

 

You can remove the data sources in the current file or previous used data sources in desktop. You can go to File-> Options and settings-> Data source settings loike below:

q3.PNG

 

Best Regards,
Qiuyun Yu

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

How this actually explains how to disconnect from a data source escapes me...

Hi,

On your Power bi Desktop Go to File -> Options and Settings -> Data Source Settings.

It will take you to the data source page there you can delete the data base source.

Click on edit permission which will open another pop up that allows you to delete the source as shownData Base Deletion.PNG

Anonymous
Not applicable

This is misinformation you clearly have an option to delete credentials not remove the source.  Why did you post this?

I do not have those options. Thoughts? 

How this actually explains how to remove a data source escapes me...

I have a similar problem and was hoping you could help.

 

I have 2 data sources in the Data Source Settings page (like the one in your image). And the sources are the same except one is in all caps and one isn't. For some reason Power BI sees these 2 as distinct even though the connection strings are identical (password and uname). Because of this the Delete command is just ignored. I tried deleting either and realized I can try deleting both at the same time but nothing works.

 

Any ideas? 

I had the same issue, and it turned out that half of my data was pointing to a file path in one format (full UNC path), and the other data was pointing to a file path with my coded file server name. e.g., "Z:\".

 

If you Right Click-> Advanced Editor on your Query in the transofrm window, it will show you the path of your selected query, which you can then normalize to your preferred format.

PavelR
Solution Specialist
Solution Specialist

Hi @jibran,

 

in Edit queries window, you delete your query.

 

Regards.

Pavel

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.