Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
There are 3 hierarchy levels for a Matrix table. Why does background color which is controlled by Calculated column DAX and applied in conidiation formatting not take effect on the 2th level hierarchy, but works well after drill down to the 3th level hierarchy? (--#8DDCA0 green, #FD625E is red in below---) IF (TABL[Category]="NNA (in percentage)", IF(TABL[Value]>=95,"#8DDCA0","#FD625E"), IF(TAB[Category]="#of missed",IF(TABL[Value]=0,"#8DDCA0","#FD625E"),IF(TABL[Value]<=15,"#8DDCA0","#FD625E")))
By the way, the "Values" in Matrix table configuration applied an another calculated column DAX to show some values in percentage, some in Number as below: Valuewith% = if(TABL[Category]="NNA (in percentage)" ,FORMAT(TABL[Value]/100, "0.0%") ,Format(TABL[Value],"General Number"))
"Format style" in conditional formating is 'Filed Value' with DAX BackgroundColor_Flag, the "Summarization" is 'First'‘Last’. Whichever options for Matrix table and conditional formattting, background color still does work on the 3th level hierarchy. Please help to investigate. |
Not reslove yet
@elliejiang20
IF Formula doesnt look good! for each IF you need to give one result where as you have given the result after two if conditions , and this is causing confusion in DAX engine! Chekc that,
Better use Switch Function for better formula Construct!
Proud to be a Super User!
I just changed to Switch as below, the problem is till there, pls see attachement picture.
Tried 1):
Tried 2):
By the way, the "Values" in Matrix table configuration applied an another calculated column DAX to show some values in percentage, some in Number as below, so Valuewith% column is text, don't think Dax can evaluate greater than and less than.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!