Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Find unused measures in Power BI report

During development my Power BI reports end up with many measures that end up not being used in the final report (not by other measures not by any filters nor in any visuals). It would be very useful to be able to identify these measures and delete them. Does anyone know a way to do this easily?

3 REPLIES 3
latimeria
Solution Specialist
Solution Specialist

Anonymous
Not applicable

@latimeria , thanks for the suggestion. Unfortunately Power BI Cleaner Gen2 (I used the PBIT) does not work on my report. It gives these error messages:

EylesIT_0-1662965399548.png

 

The PBIT also has some very strange behaviour. When it is first opened, it sits there with three spinning icons waiting for 2 minutes. I had not even entered the name of the report or any information yet, so God knows what this tool was doing for two minutes.

 

daXtreme
Solution Sage
Solution Sage

@Anonymous 

 

Simply put, there isn't such a way. You can (in Tabular Editor) identify (with a little bit of C# script code) measures that are not referenced anywhere else... but this will also return measures that are used in visuals. If you want to definitely know if there is such a way, you should ask this question to either Marco Russo/Alberto Ferrari or Daniel Otykier (the creator of Tabular Editor, he's got a GitHub account so you can find him there).

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors