cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
A_a_a
Helper I
Helper I

MAXX/AVERAGEX ignoring some values

Hi All,

 

is there any possibility to calculate the MAXX ignoring some values.

 

For example:

 

% max =
MAXX(
    KEEPFILTERS(VALUES('Table1'[Date])),
    CALCULATE([%])
)
 
I would like to add to that 'ignoring values above 20%'.
 
Please help.
Thanks,
G.
1 REPLY 1
v-jayw-msft
Community Support
Community Support

Hi @A_a_a ,

 

Try this measure:

Measure 2 = MAXX(FILTER(allselected('yourTable'),[%max]<=0.2),[%max])

If it doesn't work, please share some sample data so that we could test the formula.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Helpful resources

Announcements
T-Shirt Design Challenge 2023

Power BI T-Shirt Design Challenge 2023

Submit your creative T-shirt design ideas starting March 7 through March 21, 2023.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors