Forum Discussion

LUCASM's avatar
LUCASM
Icon for Helper IV rankHelper IV
3 years ago

Measures 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 there a view or a way to see a link between each measure and tables.

I guess something similar to the Model View

3 Replies

    • foodd's avatar
      foodd
      Icon for Community Champion rankCommunity Champion

      Imke Feldmann "I am retiring support for this tool for now, as you can find an alternative here: Measure Killer | Brunner BI."    Measure Killer is quite friendly and capable.

  • foodd's avatar
    foodd
    Icon for Community Champion rankCommunity Champion

    Hello 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