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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
MissMintox
Helper I
Helper I

How to change data source in Power BI desktop (From CosmosDB to Blobstorage)

When I am trying to change my existing data source (Microsoft Azure CosmosDB) to Blob Storage, the "Change source" is disabled. How do I workaround this?


I have gone through various questions but none of them were similar to mine.

 

Capture.PNG

1 ACCEPTED SOLUTION
pintojc
New Member

Same problem - here's what I did to solve:

 

1.) Open Power Query Editor (Edit Queries)

2.) For each source table, select Source settings (gear) and update as below:

tempsnip.png

 

3.) You should be prompted to enter the access key from your new Cosmos DB source - you should only have to enter this once.

4.) If you're not prompted for it, or it doesn't recognize the new source, you may have to add the new source to your project before you can update the queries.  

 

Hope this works for you as it did for me.

 

 

View solution in original post

5 REPLIES 5
pintojc
New Member

Same problem - here's what I did to solve:

 

1.) Open Power Query Editor (Edit Queries)

2.) For each source table, select Source settings (gear) and update as below:

tempsnip.png

 

3.) You should be prompted to enter the access key from your new Cosmos DB source - you should only have to enter this once.

4.) If you're not prompted for it, or it doesn't recognize the new source, you may have to add the new source to your project before you can update the queries.  

 

Hope this works for you as it did for me.

 

 

pintojc
New Member

Same issue - this worked for me:

 

1.) Launch the Query Editor (Edit Queries)

2.) For each source table, edit the Source properties:

Query Editor Screen Grab

3.) You should be prompted to update the access key at least once.  I found that I entered it once, and was able to simply change the url for each additional source table.

4.) If (3) gives you a problem, you may have to add the new cosmos DB as a data source before you can change the source for each table.

 

 

 

 

v-jiascu-msft
Employee
Employee

Hi @MissMintox,

 

Microsoft Azure CosmosDB and Blob Storage are two different connectors. I'm afraid we can't change it like that. 

 

Best Regards,

Dale

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

if I am correct the view that you show is related to security settings
you can create a new connection to new data source and then change reference in your queries in the Advanced Editor



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.