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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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