Forum Discussion
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)"
- Anonymous2 years ago
Hi powerbiexpert22 ,
Thanks to Joe_Barry reply.
You can also create a calculate columnCategory.Change = SWITCH( TRUE(), 'Table'[Category] = "Promoter" ,"Prometer(8-10)", 'Table'[Category] )Use the new column as the category
Best regards,
Albert HeIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly
2 Replies
- Joe_Barry
Solution Sage
Are the Values in a column, then I would recommend in Power Query adding a custom column
if [Category] = "Promoter" then "Enter your new name here" else if [Category] = "Detractor" then "Enter your new name here" else if [Category] = "Passive" then "Enter your new name here" else ""
Or if they are measures, In the build section of the visual, right click on the name of the measure and choose rename for this visualHope this helps
Joe
- AnonymousNot applicable
Hi powerbiexpert22 ,
Thanks to Joe_Barry reply.
You can also create a calculate columnCategory.Change = SWITCH( TRUE(), 'Table'[Category] = "Promoter" ,"Prometer(8-10)", 'Table'[Category] )Use the new column as the category
Best regards,
Albert HeIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly