Forum Discussion

cottrera's avatar
cottrera
Post Prodigy
5 years ago
Solved

Conditional format time in matrix - using dax

Hi

 

I have a matix visual that contains peoples names in the first column, dates across the header row and the values are times hh:mm:ss.  I would like to conditionally format the time values if they meet the criteria below. I am asuming this woud have to be done in dax

Before 16:00:00 = Red

Between 16:00:00 - 17:00:00 = Orange

Between 17:00:00 - 17:30:00 = Green

Between 17:30:00-18:00:00 = Blue

After 18:00:00 = Grey

 

Example of matrix

 

Alan17:25:3517:48:1117:48:11
Alistair16:49:3217:06:1717:06:17
Andrew19:15:0023:30:0023:30:00
Anthony17:34:3517:32:3517:34:35
Bradley00:00:0023:30:0023:30:00
Carl17:54:2118:02:3418:02:34
Curtis17:41:4316:48:4317:41:43
Dave18:01:0817:24:5918:01:08

 

thank you Richard

2 Replies