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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
jhalverson
Advocate I
Advocate I

SQL Server Analysis Services does not work in Power BI, but can access in Excel

Hi all,

 

I am trying to analyze some data from the Analysis Services (the one with a cube) in Power BI. When I open up Analysis Services from Get Data in BI, I get this screen:

jhalverson_0-1661294929881.png

I punch in my server and database and just get an unable to connect error stating that the connection either timed out or the server is incorrect.

 

In Excel if I go to 'data' > 'get data' > 'from database' > 'from analysis services' I get a whole different screen:

jhalverson_1-1661295065684.png

 

From here I put in the same server name along with my credentials and it works just fine. I have the excel file stored on the exact same filepath as my pbix file if that matters. I also noticed in excel you can navigate to 'data' > 'get data' > 'from database' > 'from SQL server analysis services database (import)' which will bring up the same popup as the one in power bi. It looks like the 'from analysis services' in excel is an SQL cube or tabular model while the 'from SQL server analysis services database (import)' is a database. It also looks like Power BI only has the latter. Are these two different things? Can you get just the cube/tabular in power bi desktop? Is this a question for the database admin at my company?

 

I appreciate the help!

 

 

 

 

5 REPLIES 5
Anonymous
Not applicable

Hi @jhalverson ,

I can't reproduce your problem. The version of my Power BI Desktop is 2.108.997.0 64-bit (August 2022). What's the version of your Power BI Desktop? Please try to update to latest version and check if you can connect to SQL Server Analysis Services successfully.

yingyinr_0-1661507314778.png

yingyinr_1-1661507355461.png

Best Regards

I have the 2.108.825.0 64-bit (August 2022) version if that helps. I actually discovered that with the source that works in excel you can produce a .ocd (Microsoft Office Data Connection) file. I guess apparetly BI does not allow for that. Here is the idea help on power bi ideas

https://ideas.powerbi.com/ideas/idea/?ideaid=45afc361-3373-4c12-afb6-e22862044501

 

Here is what the connection string in excel looks like, but no idea how to use it in power bi, or if that is even possible:

 

Provider=MSOLAP.8;Persist Security Info=True;User ID=firstname.lastname@mycompany.com;Initial Catalog=CallCenter;Data Source=database.mycompany.com;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Update Isolation Level=2</odc:ConnectionString>

bcdobbs
Community Champion
Community Champion

Have you tried

Get Data > More > Database >
SQL Server Analysis Services database

rather than the import version?



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
amitchandak
Super User
Super User

@jhalverson , which version of power bi you are using? in case you are using August 2022, refer few users have faced connectivity issues -https://community.powerbi.com/t5/Issues/idb-p/Issues

 

In case you have connected before, Open datasource setting and clear permissions and try again

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Have not been able to connect before in Power BI. I do have August 2022 so maybe that is it, but my guess is that the 'from SQL server analysis services database (import)' is funamentally different than 'from analysis services' in excel. Power BI seems to only use the former

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors