Forum Discussion
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
- Ritaf1983
Super User
Hi LUCASM
You can use some tools that can help like :
https://powerbi.tips/product/field-finder-tool/
https://www.thebiccountant.com/tools-power-bi-cleaner/
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
- foodd
Community 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
Community 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