Forum Discussion
drivas771994
Helper II
8 years agoFilter the Same Value in two different ways
Hi, Above is a picture of a report I am working on. The premise of the report is to compare an athlete's individual score to the teams Max and Minimum and show where that falls using th...
v-lili6-msft
Community Support
8 years agoHI,@drivas771994
After my research, you can use ALLEXCEPT Function in the formula like this:
for example
Assume that i a data as below:
then use these formula:
Team max = CALCULATE(MAX(Table1[Score]),ALLEXCEPT(Table1,Table1[Sport])) Team min = CALCULATE(MIN(Table1[Score]),ALLEXCEPT(Table1,Table1[Sport])) Person max = CALCULATE(MAX(Table1[Score]),ALLEXCEPT(Table1,Table1[Sport],Table1[Name])) Person min = CALCULATE(MIN(Table1[Score]),ALLEXCEPT(Table1,Table1[Sport],Table1[Name]))
when I select sport is "football" and name is "B"
Result:
here is pbix,please try it.
Best Regards,
Lin