Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
mh_vasconcelos
New Member

Remove bold from matrix row headers

Good morning everyone. I am creating a matrix related to the projects developed by people on my team. One thing that bothers me is the fact that when I open a hierarchy, ALL THE ROW HEADERS ARE IN BOLD. Is there any way to remove this? Make only the selected level bold, and not all the others that were not selected?

 

extra: Another thing: Is there a way to gradually change the background color from the second level of the hierarchy? Example: The first level is white, but the second level becomes more gray, and the third level even more gray? Thanks!

 

Captura de tela 2024-12-31 090551.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

Thanks for the solution lbendlin  offered, and i want to offer some more infotmation for user to refer to.

hello @mh_vasconcelos , as lbendlin mentioned, you cannnot remove the bold font, this is how Power BI is designed, and there is no way to change it. and based on your description, you can not change the color in hierachy in header directly, if you want to change the color , you can set the background of the value, you can refer to the following sample.

vxinruzhumsft_0-1736215561454.png

Create a measure.

MEASURE =
IF (
    ISINSCOPE ( 'Table'[Third level] ),
    "#5D5C5B",
    IF ( ISINSCOPE ( 'Table'[Second level] ), "grey", "white" )
)

Create a matrix,and put the following field to the matrix.

vxinruzhumsft_1-1736215769216.png

Then put the measure to the conditional formatting of the value.

vxinruzhumsft_2-1736215818392.png

 

Output

vxinruzhumsft_3-1736215832835.png

(Note:This conditional formatting is only valid for the current hierarchy. When you expand to the next hierarchy, the color of the previous hierarchy will become white by default.)

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi,

Thanks for the solution lbendlin  offered, and i want to offer some more infotmation for user to refer to.

hello @mh_vasconcelos , as lbendlin mentioned, you cannnot remove the bold font, this is how Power BI is designed, and there is no way to change it. and based on your description, you can not change the color in hierachy in header directly, if you want to change the color , you can set the background of the value, you can refer to the following sample.

vxinruzhumsft_0-1736215561454.png

Create a measure.

MEASURE =
IF (
    ISINSCOPE ( 'Table'[Third level] ),
    "#5D5C5B",
    IF ( ISINSCOPE ( 'Table'[Second level] ), "grey", "white" )
)

Create a matrix,and put the following field to the matrix.

vxinruzhumsft_1-1736215769216.png

Then put the measure to the conditional formatting of the value.

vxinruzhumsft_2-1736215818392.png

 

Output

vxinruzhumsft_3-1736215832835.png

(Note:This conditional formatting is only valid for the current hierarchy. When you expand to the next hierarchy, the color of the previous hierarchy will become white by default.)

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

lbendlin
Super User
Super User

You can only influence the font weight of the second and further levels, and you cannot influence the colors on individual levels.

 

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors