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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors