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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.