Forum Discussion
savulesc
Helper I
3 years agoConditional formatting just for some cells in a matrix
I have a matrix with this structure: NAME Program Actual Kpi1 R1 66.5 Kpi1 R2 43.5 Kpi1 R3 70.9 Kpi2 R1 2 Kpi3 R2 2 Kpi4 R3 3 Name and Program are colum...
- 3 years ago
Add a measure to set the formatting color and check for the KPI1 row like this.
Format Color = SWITCH ( TRUE(), SELECTEDVALUE ( YourTable[Name] ) = "KPI1", SWITCH( TRUE, [Actual] <= 75, "Red", [Actual] >= 80, "Green" ) )Then apply that measure as the background color to the value:
jdbuchanan71
Super User
3 years agoCan you post your .pbix file (load it to drop box and share the link)? My formula works in my test.
savulesc
Helper I
3 years agoI found the issue. For some reason i had to put <= "65%" in the measure. Thanks for your help.