Add Remove Unused Measure Function#1054
Add Remove Unused Measure Function#1054DAXNoobJustin wants to merge 3 commits intomicrosoft:mainfrom
Conversation
|
Thanks Justin. I will pause on this as the unused objects currently has some gaps. |
|
Hey Michael, thanks for the response. Can you share the gaps so I can address? |
|
#759. I have a separate repo with a fix for this. However it’s a moving target as more functionality is added to pbi reporting. |
|
This PR specifically targets report level measures, not semantic model objects. The function goes through each report measure and checks to see if it is referenced. Is that scenario in scope for your PR? It looks like yours is targeting unused semantic model objects, not unused report defined measures. |
|
Hey @m-kovalsky, Just to clarify, I am not referencing the list_semantic_model_objects function. I am just targeting measures defined in the extensions file. |
|
Yep I understand. I’m just holding on stuff related to the reportwrapper as I have a zillion changes in another repo on this and am still trying to determine the best way for it all to land. |
Adds a function that removes all unused measures from a pbir report