Forum Discussion
mantukumar
1 year agoNew Member
How to Trace Power BI Measure Dependencies with C# or Python
Problem Statement A large number of DAX measures exist within a Power BI file, many of which appear unused, but cannot be deleted due to uncertainty around hidden dependencies. Measures cannot b...
- 1 year ago
Sort of. You can use the REST API for the inventory of the semantic models. but then you need to use XMLA endpoints and run DMV queries (or use the INFO.* DAX functions) against each semantic model individually.
lbendlin
1 year agoSuper User
Have you considered using tools that are already available, like MeasureKiller by Georg Brunner?
Problem Statement
A large number of DAX measures exist within a Power BI file, many of which appear unused, but cannot be deleted due to uncertainty around hidden dependencies.
A measure only incurs cost when it is used. An unused measure may impact maintainability but has no impact on system performance.
mantukumar
1 year agoNew Member
Thank lbendlin but can we create our own using Power BI API services?
- lbendlin1 year agoSuper User
Sort of. You can use the REST API for the inventory of the semantic models. but then you need to use XMLA endpoints and run DMV queries (or use the INFO.* DAX functions) against each semantic model individually.