Forum Discussion

JodieMarie's avatar
JodieMarie
New Member
3 years ago
Solved

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                      ...
  • Anonymous's avatar
    Anonymous
    3 years ago

    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.

    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]

     

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

    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.