Forum Discussion
Get source queries from PowerPivot/1103 Compatibility Mode
select * from $SYSTEM.TMSCHEMA_PARTITIONS
select * from $SYSTEM.TMSCHEMA_EXPRESSIONS
- BM42913 years agoResolver I
lbendlin unfortunately the TMSCHEMA_* DMVs aren't accessible in a 1103 compatibility mode model so those queries aren't an option in this instance. For whatever reason, that looks to be the latest compatibility mode available via PowerPivot in Excel.
Any suggestions for 1103? I've tried to run a DISCOVER_XML_METADATA query but unable to get the XMLA connection to open correctly when pointing at the local model.
- lbendlin3 years agoSuper User
No idea - is the compatibility level higher in newer Excel versions?
- BM42913 years agoResolver I
lbendlin doesn't look that way, the last thing I can see documenting which compatibility mode goes with which version is the SQLBI article above; anything > Excel 2013 is 1103.
We're using the M365 version so fairly recent.
I saw something about the level being higher in PowerQuery but we've not got the time or desire to make that switch just to extract the queries before ultimately dumping these workbooks.We've recently had an issue with a high priority measure being shared incorrectly so this is really an exercise in damage control and to strengthen the business case.
We have accesss to Gartner through work so likely going to take it to their technical analysts, seems to be the only option as just losing time on this one daily.