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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
fsim
Responsive Resident
Responsive Resident

power bi cannot acces to a ssas, bu excel can

Hi !

I have this strange behaviour I don't understand, but I'm pretty sure you will.

I have this on premice server running a sql and SSAS service that I want to connect to with PBI.

I can reach the SQL server with no problem, but I got the " the server you atr trying to connect doesen't have any models or you don't have the permission to access them" error. 
But if I use Power query in Excel, I get my data.

My conclusions: it's not the firewall (unless power query in excel is using another port ?), nor the SSAS.

Any idea is welcome 🙂

 

1 ACCEPTED SOLUTION
fsim
Responsive Resident
Responsive Resident

And so here is the reason.

It's all about delfault database. Excel don't expect a default database when you connect to SAS. So if no deflaut database is defined on the server, it will take the first one. it's only used to allow you to browse the databases on the server.
PowerBi don't do that. This means, you HAVE TO define a database (even if it's optional) at the connection time. And, then, it works.

 

View solution in original post

5 REPLIES 5
fsim
Responsive Resident
Responsive Resident

And so here is the reason.

It's all about delfault database. Excel don't expect a default database when you connect to SAS. So if no deflaut database is defined on the server, it will take the first one. it's only used to allow you to browse the databases on the server.
PowerBi don't do that. This means, you HAVE TO define a database (even if it's optional) at the connection time. And, then, it works.

 

V-pazhen-msft
Community Support
Community Support

@fsim 
Do you have the correct SQL Server version? You can check the following limitation of Connect to SSAS multidimensional models

 

Considerations and limitations

There are certain limitations to using SSAS MD:

  • Only enterprise and BI editions of SQL Server 2014 support live connections. For the standard edition of SQL Server, SQL Server 2016 or later is required for live connections.

  • Actions and named sets aren't exposed to Power BI. To create visuals and reports, you can still connect to cubes that also contain actions or named sets.

  • When Power BI displays metadata for an SSAS model, occasionally you can't retrieve data from the model. This scenario can occur if you've installed the 32-bit version of the MSOLAP provider, but not the 64-bit version. Installing the 64-bit version may resolve the issue.

  • You can't create report level measures when authoring a report that is connected live to an SSAS multidimensional model. The only measures that are available are measures defined in the MD model.

 

Reference : https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-ssas-multidimensional


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

Hi Paul,

thank you for your answer.

The server I'm trying to reach is basically a clone of the prod server (both are virtual machine) dedicated to dev. I can connect to the ssas on the prod server with power bi without problem. 

everything is in 64bit version. SQL version is, as far as I can see, version 17 

fsim
Responsive Resident
Responsive Resident

Hi thanks for the answer.Unfortunately you are talking about PB services, I'm using power bi desktop and, as far as I know, it's not using the Data gateway.

thanks anyway

 

fred

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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