Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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 only for Row header cells and not all row values.
How can I do it.
| Row Header | Sub header | Value |
| Orange | ||
| Green | ||
| Purple |
As suggested by MASON,it is not possible to do conditional formatting for matrix visuals.if you want conditional formatting for now, then use table visual
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
It doesn't work. it just add colorname or the color icon infront of row header instead of coloring the background.
If this is Row Header conditional formatting, consider voting it as an idea https://community.fabric.microsoft.com/t5/Fabric-Ideas/Conditional-Formatting-of-Row-Headers-in-Matr...
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |