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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
newpbiuser01
Helper V
Helper V

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
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.