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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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!

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.