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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
sman
Frequent Visitor

Linking decomposition tree to bar chart's x-axis

Hi!

 

I'm fairly new to PowerBI so please bear with me.

 

I have one table with sales for of various products. On each line there the sales amount, category level 1 and category level 2. I've created a decomposition tree showing the sales of various category combinations and a bar-chart showing the sales for each category level 2.

 

Now for my question; I want to add the functionality so that when I click a "category level 1" value in my decomposition tree, only the category level 2 values in that category are shown in my bar chart.

 

For example:

 

sman_0-1662648583263.png

Note that in the figure above, I want the "Carrot", "Cucumber" and "Potato" bars to be hidden when I've clicked "Fruit" in the decomposition tree

 

1 ACCEPTED SOLUTION
johncolley
Solution Sage
Solution Sage

Hi @sman , Easy solution to this! You need to use the Edit Iteractions feature to change the way the Decomposition Tree interacts with the Bar Chart. Currently it is cross highlighting you want it to Filter. To change this do the following:

1. Select the Decomposition Tree

2. Under Format select Edit Iteractions

johncolley_0-1662683183455.png

 

3. Change the option highlighted on bar chart to Filter

johncolley_1-1662683228504.png

 

4. It should filter out the other options.

johncolley_2-1662683256646.png

 

If this answer solves your problem please mark it as a solution!

View solution in original post

2 REPLIES 2
johncolley
Solution Sage
Solution Sage

Hi @sman , Easy solution to this! You need to use the Edit Iteractions feature to change the way the Decomposition Tree interacts with the Bar Chart. Currently it is cross highlighting you want it to Filter. To change this do the following:

1. Select the Decomposition Tree

2. Under Format select Edit Iteractions

johncolley_0-1662683183455.png

 

3. Change the option highlighted on bar chart to Filter

johncolley_1-1662683228504.png

 

4. It should filter out the other options.

johncolley_2-1662683256646.png

 

If this answer solves your problem please mark it as a solution!

Amazing - thank you!

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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