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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.