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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
vadlamudibi
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.

3 REPLIES 3
trahul87
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).

chrisfin
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.

v-lili6-msft
Community Support
Community Support

hi, @vadlamudibi 

You may refer to this:

http://radacad.com/what-is-the-xmla-endpoint-for-power-bi-and-why-should-i-care

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

 

Best Regards,
Lin

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

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.