Skip to main content
cancel
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

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors