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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
JL0101
Helper II
Helper II

How to show only the child values of a hierarchy with conditional background coloring

Hi,

 

Hi, I have created a hierarchy (powerbi built in hierachy creator) and put it into a matrix visual with condtional background color formating (using field value). I only want to show the colors for hierachyy X.X.X.X not X.X.X. As it does not make sense to roll up the values to the parent. however when I collapse from X.X.X.X it automatically rolls up the colour (see below). 

 

JL0101_0-1685456959707.png

 

M-key is a measure using 

M_Color = IF(ISINSCOPE('EI'[NRM1Level4_ETIM]),CALCULATE(SELECTEDVALUE('NRM1_Level_Colours'[ColorRgb]))) 
 
JL0101_0-1685457394447.png

 

 
JL0101_1-1685457231469.png

 

 
However this code is not working, any advice on this would be great.
0 REPLIES 0

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.