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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Helper I
Helper I

XMLA in SSMS 18 - no cubes were found error

Hi, I am trying to connect to Power BI Service via XMLA in SSMS 18, following MSFT instructions. I can see the databases, but when I try to create an MDX query I get an error "Error loading metadata: No cubes were found". Internet search turned-out only single topic-related post from 2006, where they are reffering to a setting "<visible>false</visble>", which I have no idea where it would be in Power BI Service.

Last week, I have successfully connected to XMLA endpoints via SSMS, and executed super simple MDX query. Today, it does not work anymore, workspace is the same as last week. Double checked Settings required (Premium capacity, Analyze in Excel, Enable XMLA Endpoints). Also, I tried with colleague, and he gets the same error.

Mainly, I wanted to try out the new Power BI Report Builder, which should be able to connect to PBI XMLAs.

New Member

MDX doesn't show anything because the Initial Catalog is not set on that connection. You can get MDX to work in SSMS, if you create an MDX Query by selecting the database node (not the server node).

Power BI Team
Power BI Team

In Power BI Report Builder, by default you'll use DAX and that works.  There's a bug with switching to MDX that we're looking into right now.

Community Support
Community Support

hi, @vadlamudibi 

You may refer to this:

and if you still have the problem, you'd better create a support ticket in Power BI Support to get further help.


Best Regards,

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

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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