cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
uxorise3424
Frequent Visitor

Highlight cell if value is .3 higher than next highest value

Hi

 

So I am trying to apply conditional formatting to a matrix (based on a bunch of avg values) which I know how to do but I need help with the dax command to use. 

 

Basically what the title says, very easy to explain I basically want a cell highlighted if the max value is .3 higher than the second highest value. I'll provide a sample of what I am looking for.

 

person1person2person3person4person5
4.23.93.83.43.6
3.14.13.63.73.6
43.93.83.63.2

 

so the ones highlighted in orange are .3 higher than the 2nd highest value in its row and in the 3rd row nothing is highlighted because it isn't .3 higher. 

 

1 REPLY 1
lbendlin
Super User
Super User

lbendlin_0-1686360122081.png

 

Note that I unpivoted your sample data to make it usable.

 

See attached.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors