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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
JodieMarie
New Member

Donut chart with filterable options

Hello everyone, I'm trying to create a donut chart with multiple rows and multiple columns. The spreadsheet looks like this: 

 

Adults          Children                Infants                                           Rent               Food               Utilities

1                       0                             0                                                $1200              $100             $50

1                      1                                 1                                                $1200           $300               $100

2                      2                              1                                                     $1200            $400                $100

 

I'd like the columns for the family type to be the filters and the columns for rent, food, utilities to be what shows up on the donut chart. When I try to do it, it is automatically summing the entire spreadsheet and I don't want it to do that. Can anyone help? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JodieMarie ,

 

By design, when you place the [Adults] field on the legend, since [Adults] contains only 1 and 2 cases, the visual object shows the sum value based on these two cases by default, you can change the aggregation method of [Values] by clicking the down arrow.

vtangjiemsft_0-1686709479864.png

If you want to show the rent, food, and utilities for different households, create a column for the household situation.

family type = "Adults" & 'Table'[Adults] &" " & "Children" & 'Table'[Children] & " " &  "Infants" & 'Table'[Infants]

vtangjiemsft_1-1686709528373.png

 

Note that if the composition of the household situation is exactly the same, the [Values] value will also show the aggregated sum value by default. If you want to display the values for each family separately even if the composition of the family situation is identical, go to transform data -> Add index column and place the index column on [Legend].

vtangjiemsft_2-1686709583959.pngvtangjiemsft_3-1686709629442.png

Best Regards,

Neeko Tang

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

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @JodieMarie ,

 

By design, when you place the [Adults] field on the legend, since [Adults] contains only 1 and 2 cases, the visual object shows the sum value based on these two cases by default, you can change the aggregation method of [Values] by clicking the down arrow.

vtangjiemsft_0-1686709479864.png

If you want to show the rent, food, and utilities for different households, create a column for the household situation.

family type = "Adults" & 'Table'[Adults] &" " & "Children" & 'Table'[Children] & " " &  "Infants" & 'Table'[Infants]

vtangjiemsft_1-1686709528373.png

 

Note that if the composition of the household situation is exactly the same, the [Values] value will also show the aggregated sum value by default. If you want to display the values for each family separately even if the composition of the family situation is identical, go to transform data -> Add index column and place the index column on [Legend].

vtangjiemsft_2-1686709583959.pngvtangjiemsft_3-1686709629442.png

Best Regards,

Neeko Tang

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

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors