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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
suni_v
Regular Visitor

Decomposition Tree data bar conditional formatting

Hi Team,


I have decomposition tree with 3 levels as shown below. In this hierarchy, I would need: If one of the nodes unders product is yellow, all of its parent nodes should be yellow in color. Could someone please help on fulfilling this requirement. 

 


Capture.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Thanks,

SV

2 REPLIES 2
Icey
Community Support
Community Support

Hi @suni_v ,

 

Based on my test, I'm afraid this is not supported in Power BI.

 

To my understanding, if the decomposition tree is formatted as what you want, let's take an example:

 

When Product="Paseo", the bar of MonthNumer=6 should be yellow;

When Product="Velo", the bar of MonthNumer=6 should be purple;

 

Then how shoud the bar of MonthNumer show? Yellow or Purple?

 

Therefore, it may not supported.

 

Capture.JPG

 

 

Best Regards,

Icey

 

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

Arul
Super User
Super User

Hi @suni_v ,

I tried this by creating a measure and use it in conditional formatting,

CF = 
SWITCH(TRUE(),
SELECTEDVALUE(financials[Year])=2014,"#FFC200",
SELECTEDVALUE(financials[Year])=2013,"Black")

Arul_0-1651847079713.png

 

Try and let me know if it works as per your expectation or not.

 

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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