Forum Discussion

powerbiexpert22's avatar
powerbiexpert22
Icon for Impactful Individual rankImpactful Individual
2 years ago
Solved

customize legends in donut chart

is there a way to customize below highlighted labels of legend in donut chart, instead of displaying "Promoters" , i want to display "Promoters (8-10)"    
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi powerbiexpert22 ,
    Thanks to Joe_Barry  reply.
    You can also create a calculate column

    Category.Change = 
    SWITCH(
        TRUE(),
        'Table'[Category] = "Promoter" ,"Prometer(8-10)",
        'Table'[Category]
    )

    Use the new column as the category

     

    Best regards,
    Albert He

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