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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
newpbiuser01
Helper IV
Helper IV

Barchart - each bar is a subset of the previous one

Hello,

 

I'm trying to create a bar chart where each bar on the chart gets filtered down, so that each bar is a sub-set of the previous one. 

As an example, if I have a table as follows:

TypeColorNameQuantity
FruitRedApple44
FruitYellowBanana42
FruitGreenGrape21
FruitOranceOrange10
FruitYellowMango27
FruitGreenKiwi37
FruitYellowPineapple47
FruitRedStrawberry28
VegetableOrangeCarrot21
VegetableGreenCucumber42
VegetableYellowPotato31
VegetableRedOnion23
VegetableGreenSpinach13

 

I am trying to generate a graph like this:

newpbiuser01_0-1680032222755.png

 

How could I generate something like this? I'd really appreciate any help.

1 ACCEPTED SOLUTION

Hi @vicky_ ,

 

Unfortunately it needs to be a bar chart. I figured it out though. I created a calculated table where each row was summarize based on the color, type, name and then use those. 

 

 

View solution in original post

2 REPLIES 2
vicky_
Super User
Super User

Does it have to be a column chart? Maybe a visual like the decomposition tree would better suit your needs.

Hi @vicky_ ,

 

Unfortunately it needs to be a bar chart. I figured it out though. I created a calculated table where each row was summarize based on the color, type, name and then use those. 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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