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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
by-myselff
Frequent Visitor

MDX Compatibility = 2 OLAP SSAS Excel Power BI Desktop

Good afternoon,


How to configure a connection from Excel/Power BI to Analysis Services with MDX Compatibility = 2?

Google does not help, as if in no way, because Excel/Power BI sets MDX Compatibility = 1 by default


Thanks!

 

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @by-myselff ,

 

Yes, MDX Compatibility is set as 1 by default.

I found a way to configure it, refer to this document: https://docs.microsoft.com/en-us/analysis-services/instances/connection-string-properties-analysis-s...

The default ADOMD.NET connection string in Excel specifies the data provider, server, database name, Windows integrated security. The MDX Compatibility level is always set to 1. Although you can change the value for the current session, Excel will reset MDX Compatibility to1 when the file is next opened.

Provider=MSOLAP.5;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=Adventure Works DW 2008R2;Data Source=AW-SRV01;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error

 

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

I saw it and thought there is a different solution

But thank you!

 

amitchandak
Super User
Super User

@by-myselff ,

See if these can help

https://support.office.com/en-us/article/analysis-services-mdx-query-designer-power-pivot-30ab91f9-8...

https://docs.microsoft.com/en-us/analysis-services/multidimensional-models/mdx/mdx-query-fundamental...

https://blog.crossjoin.co.uk/2015/07/29/running-your-own-mdx-and-dax-queries-in-power-bi-desktop/

https://community.powerbi.com/t5/Desktop/limit-SSAS-data-import-through-MDX-DAX-query/td-p/700566

https://community.powerbi.com/t5/Desktop/How-to-change-MDX-query-from-Desktop-to-SSAS-live-connectio...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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