Forum Discussion

FacuZodi's avatar
FacuZodi
New Member
4 years ago
Solved

Donut Chart with multiple columns as Legends

I am struggling to find a way to make a donut chart the way I want it to look.   I have a table like this: Table1 Customer total  banana  apple  orange  date A 15 5 0 10 01/01/22 ...
  • v-yalanwu-msft's avatar
    4 years ago

    Hi, FacuZodi ;

    We could unpivot columns in power query.

    Then create a measure.

    averge = CALCULATE(AVERAGE('Table'[Value]),FILTER(ALL('Table'),[fruit]=MAX('Table'[fruit])&&EOMONTH([date],0)=EOMONTH(MAX('Table'[date]),0)))

    The final show:


    Best Regards,
    Community Support Team _ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.