cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.