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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
AndreaCBS
Helper III
Helper III

Error in Analyze in Excel - Connection String

Hello everyone,

I'm experiencing the following issue: In Power BI Service, when I click on the "Analyze in Excel" option and open the file, it throws an error stating that it cannot connect to the OLAP cube.

AndreaCBS_1-1733758980613.png

 

However, if I go to the data connection properties and modify the connection string name, it successfully connects.

AndreaCBS_2-1733759052167.png

 

How is it possible that when I download a report connected to the cube, which displays the data correctly, the "Analyze in Excel" option seems to insert an incorrect connection? And how can i fix it?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @AndreaCBS 

 

As far as I know, this issue should not be related to the Tenant Administration Portal.

 

Maybe you can create a support ticket for free and a dedicated Microsoft engineer will come to solve the problem for you.

It would be great if you continue to share in this issue to help others with similar problems after you know the root cause or solution.

The link of Power BI Support:  https://powerbi.microsoft.com/en-us/support/

For how to create a support ticket, please refer to How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

Thank you for your understanding.

 

Best Regards

Zhengdong Xu
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
cbernsdorfSCS
New Member

Did you ever find a solution to this?  I am experiencing the same issue. In my case, i have found that if the model name has a space in it, when you download the excel file, the command text gets quotes added around it which causes the excel connection to fail.  This seems to be a bug when Power Bi adds the connection string for the excel file. 

Anonymous
Not applicable

Hi @AndreaCBS 

 

Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

 

Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I didn't find the solution. Probably I will open a ticket to Microsoft.

Anonymous
Not applicable

Hi @AndreaCBS 

 

Here's the explanation from the document:

vzhengdxumsft_0-1733800161304.png

Troubleshoot the connection from Excel to Power BI data - Power BI | Microsoft Learn

 

According to my speculation, your problem here is the connection string in the Excel file might be incorrect and cannot match the correct OLAP cube so that you need to update the connection string.

 

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

You got it right — the issue is that the connection string in the Excel file is incorrect and does not match the correct OLAP cube, so it needs to be updated. Once you correct it, it works.

However, my issue is not with the Excel file itself. The client downloads the Excel file from the Power BI report on Power BI Service every 2-3 days, which means the problem will keep recurring. I’m looking for a way to resolve this issue once and for all.

Anonymous
Not applicable

Hi @AndreaCBS 

 

Consider updating the Connection String in Power BI, open the Power BI Desktop file that was used to publish the report to the Power BI Service. Go to the "Transform Data" or "Get Data" > "Data Source Settings" to find the data source for the OLAP cube. Update the connection string to the correct one that points to the OLAP cube. After updating, republish the Power BI report to the Power BI Service.

 

Or you can create a template Excel file with the correct connection string to the OLAP cube. When you need to update the data, export the latest figures from Power BI to CSV or Excel, and then import this data into your template Excel file.

Save a workbook as a template - Microsoft Support

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Do you know if there's something that can be done from the tenant administration portal?

Anonymous
Not applicable

Hi @AndreaCBS 

 

As far as I know, this issue should not be related to the Tenant Administration Portal.

 

Maybe you can create a support ticket for free and a dedicated Microsoft engineer will come to solve the problem for you.

It would be great if you continue to share in this issue to help others with similar problems after you know the root cause or solution.

The link of Power BI Support:  https://powerbi.microsoft.com/en-us/support/

For how to create a support ticket, please refer to How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

Thank you for your understanding.

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I tried to update the connection string then republish the Power BI report to the Power BI Service. But if Analyze in Excel once more, I have the same issue.

I tried different approach, hopefully I will persuade the customer to do things in a different way. But now what's most important to me is how fix this issue. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.