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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.