This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Is there a way to change the background color of a column header of a table based on the value of another field. For example based on the Yes/No id like for the color of the header to change to respective color below.
Solved! Go to Solution.
Hi @jcastr02
Unfortunately that the power bi doesn't support to change the background of the matrix or table's header.
Maybe you can try this:
I create a set of sample:
Then create a new table:
Table 2 =
ADDCOLUMNS(
VALUES('Table (3)'[Column1]),
"Y?N",SWITCH(
'Table (3)'[Column1],
"AA",UNICHAR(9989)&"AA",
"BB",UNICHAR(10060)&"BB",
"CC",UNICHAR(10060)&"CC",
"DD",UNICHAR(9989)&"DD"
)
)
The result is as follow:
Link of unichar function:
UNICHAR function (DAX) - DAX | Microsoft Learn
The unicode of emoji:
Emoji unicode characters for use on the web (timwhitlock.info)
You need to transform the hex to dec:
Best Regards,
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jcastr02
Unfortunately that the power bi doesn't support to change the background of the matrix or table's header.
Maybe you can try this:
I create a set of sample:
Then create a new table:
Table 2 =
ADDCOLUMNS(
VALUES('Table (3)'[Column1]),
"Y?N",SWITCH(
'Table (3)'[Column1],
"AA",UNICHAR(9989)&"AA",
"BB",UNICHAR(10060)&"BB",
"CC",UNICHAR(10060)&"CC",
"DD",UNICHAR(9989)&"DD"
)
)
The result is as follow:
Link of unichar function:
UNICHAR function (DAX) - DAX | Microsoft Learn
The unicode of emoji:
Emoji unicode characters for use on the web (timwhitlock.info)
You need to transform the hex to dec:
Best Regards,
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 25 | |
| 24 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 48 | |
| 27 | |
| 23 | |
| 20 |