Forum Discussion
LUCASM
Helper IV
3 years agoMeasures dependencies
I have been given a pbix file and been asked to make some changes to it. I see that there are around 200 measures and without going through each one in turn have no idea what tables are used. Is th...
foodd
Community Champion
3 years agoHello LUCASM ,
Using DAX Studio, the DMV MDSCHEMA_MEASURES is set up to return the
measures in the model. There are a number of tools I would turn to Tablular Editor, SSMS,
Measure Killer that have equal or more advantage. Using the API is not my first choice
for documentation. In this example, using DAX Studio, enter the following query:
SELECT
[CATALOG_NAME] as [DATABASE]
, CUBE_NAME AS [CUBE]
,[MEASUREGROUP_NAME] AS [FOLDER]
,[MEASURE_CAPTION] AS [MEASURE NAME]
,[EXPRESSION] AS [MEASURE EXPRESSION]
,[MEASURE_IS_VISIBLE]
FROM $SYSTEM.MDSCHEMA_MEASURES