Forum Discussion
NG1407
10 months agoAdvocate I
Color Matrix row header with different colors
I have a matrix where there is Row header and when we expand row header we get subheader. I want to color only Row header that too different colors for each row value. Also these color should be onl...
Nabha-Ahmed
10 months agoSuper User
Hi NG1407
Create a calculated column in your dimension (replace Table and RowHeader with your names):
RowLabel_WithEmoji =
SWITCH(
TRUE(),
'Table'[RowHeader] = "Orange", "🟧 " & 'Table'[RowHeader],
'Table'[RowHeader] = "Green", "🟩 " & 'Table'[RowHeader],
'Table'[RowHeader] = "Purple", "🟪 " & 'Table'[RowHeader],
'Table'[RowHeader]
)
-Use RowLabel_WithEmoji as the matrix row field. This visually highlights only the row header cells.
Thanks
NG1407
10 months agoAdvocate I
It doesn't work. it just add colorname or the color icon infront of row header instead of coloring the background.