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
themistoklis
Community Champion
Community Champion

Filter table based on Calculated Measure(s), using DAX formulas

Hello im having a table (object on a sheet) on powerBI which i would like to filter its rows based on certain column(s).

This column(s) is a calculate measure. In our case if a value is below a certain percentage then dont show, the row this value belong to, on the table.

The calculated measures on the table are names: "% AVG Effort 1 Cost" and "% AVG Effort 2 Cost"

1. I would like on the following table to filter out the rows where % AVG Effort 1 Cost < 20%. After the filtering the table will only have 3 rows. I prefer to have a separate field which i can use it to filter out the rows, but im open to suggestions on this.

2. I would also like to filter out the rows based on both calculated measures "% AVG Effort 1 Cost" and "% AVG Effort 2 Cost"

E.g. Filter out rows where % AVG Effort 1 Cost < 20% AND % AVG Effort 2 Cost > 40%

 

The powerBI workspace is also available on this link

image.png

 

Thanks a lot

 

 

1 ACCEPTED SOLUTION

@venug20

Thank you for this partial solution.

There is one limitation though. The total row still shows data including the outliers.

 

I found a better filtering which also shows the correct total which is the following one.

I will add both yours and mine so as to help other readers:

Yours:

 

% AVG Effort 2 Cost 2 = IF([% AVG Effort 2 Cost] > 0.40, [% AVG Effort 2 Cost], BLANK())

Mine:

 

% AVG Effort 2 Cost 2 = CALCULATE([% AVG Effort 2 Cost];FILTER(Calculated_Measures;[% AVG Effort 2 Cost]>=0.4))

 

This is a great alternative

 

 

View solution in original post

2 REPLIES 2
venug20
Resolver I
Resolver I

Hi themistoklis,

 

i got one partial solution for you... is it ok for...

 

or else tell me sample output how to display your results...

 

https://www.dropbox.com/s/micnrlo5chrxow2/PowerBI_Sample.pbix?dl=0

 

@venug20

Thank you for this partial solution.

There is one limitation though. The total row still shows data including the outliers.

 

I found a better filtering which also shows the correct total which is the following one.

I will add both yours and mine so as to help other readers:

Yours:

 

% AVG Effort 2 Cost 2 = IF([% AVG Effort 2 Cost] > 0.40, [% AVG Effort 2 Cost], BLANK())

Mine:

 

% AVG Effort 2 Cost 2 = CALCULATE([% AVG Effort 2 Cost];FILTER(Calculated_Measures;[% AVG Effort 2 Cost]>=0.4))

 

This is a great alternative

 

 

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.