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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AUaero
Responsive Resident
Responsive Resident

Analyze in Excel Error

Hi,


I've got a Power BI report that is fed by a live connection to an on-premise SSAS tabular model via the enterprise data gateway.  When I click the "Analyze in Excel" button for this report and open the downloaded ODC file, I get an error stating "Unable to obtain list of tables from the data source".

 

I am an adminstrator of the Power BI tenant and I am an administrator on the analysis services server.  I know all of the permissions are correct.  

 

According the MS doc for troubleshooting analyze in Excel, I should be able to access on premise Analysis Services as long as I am on the same domain as the AS server and my account has access to the AS server (both are true in my case).

https://docs.microsoft.com/en-us/power-bi/desktop-troubleshooting-analyze-in-excel 

 

Any ideas?

 

Thanks,

Clayton

 

 

 

 

 

 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hey @AUaero ,

 

I posted that original thread. Nobody was forthcoming with a useful answer, but I did get to a solution.

 

Wait for it... it's a bit of a crazy fix.

 

So, I found that it depends how you create your Analysis Services connection when you first create your Power BI report.

 

If, when you use the Get Data wizard, you specify the database in the first dialogue screen, then the report works fine when you build it, but once published the Analyze in Excel gets the error you've described.

 

If however, rather than specify the database, you click through the dialogue screen and select the database, and then the model you wish to connect to, the PBI report seems to understand the metadata needed for the Analyze in Excel capability to work.

 

So... don't do this:

dbconnection.png

 

Do, do this: 

 

dbconnection2.png

 

Let me know if this helps, or whether this is just some quirk that seems to have helped us.

View solution in original post

5 REPLIES 5
venal
Memorable Member
Memorable Member

@AUaero 

Can you please refer the link.

If you have any queries, please let us know.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more
If this post was helpful may I ask you to mark it as solution and click on thumb symbol?

AUaero
Responsive Resident
Responsive Resident

Thanks, venal.  I had already reviewed that thread and didn't find a solution there.  My account has full privileges on the SSAS server, so I don't believe it is an issue where the user isn't privileged to view the SSAS model.  I also checked to ensure that the Analyze in Excel feature was not blocked administratively (it is not).

 

I can use Excel to successfully connect to the SSAS model in question.  It's only when I try to access the ODC file generated by Power BI that I get the error message.

Anonymous
Not applicable

Hey @AUaero ,

 

I posted that original thread. Nobody was forthcoming with a useful answer, but I did get to a solution.

 

Wait for it... it's a bit of a crazy fix.

 

So, I found that it depends how you create your Analysis Services connection when you first create your Power BI report.

 

If, when you use the Get Data wizard, you specify the database in the first dialogue screen, then the report works fine when you build it, but once published the Analyze in Excel gets the error you've described.

 

If however, rather than specify the database, you click through the dialogue screen and select the database, and then the model you wish to connect to, the PBI report seems to understand the metadata needed for the Analyze in Excel capability to work.

 

So... don't do this:

dbconnection.png

 

Do, do this: 

 

dbconnection2.png

 

Let me know if this helps, or whether this is just some quirk that seems to have helped us.

AUaero
Responsive Resident
Responsive Resident

j0hnnyw1nter that absolutely worked.  I probably wouldn't have stumbled upon that on my own, so thanks!

 

This sounds like a bug to me.

Anonymous
Not applicable

@AUaero glad it worked out.

 

Yeah, should probably flag it up as Microsoft

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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