Forum Discussion
Customized Legend Names - To override the default legend names
Hi,
I have created certain measures like mSumPhaco, mSumSICS and mSumFreeCataract and have plotted it on clustered column chart. Obviously, name of the measures are appearing as legends. I wish to change the legends as per the image below. One way of doing so is ofcourse renaming the measures, but I do not want to do so.
Can that be achieved?
Regards,
Deepak
Hi deepvibha,
By default, the legend name is the measure name in a chart visual, and now you are want to rename the legend name but keep the measure name, right?
Based on current features supported in PowerBI, I'm afraid it is not possible to achieve this requirement. We can only customize the position of legend, the color, font size and content of legend title.
Someone has submitted this feature request, you can click here to vote it up.
Thanks,
Yuliana Gu
8 Replies
- v-yulgu-msft
Microsoft Employee
Hi deepvibha,
By default, the legend name is the measure name in a chart visual, and now you are want to rename the legend name but keep the measure name, right?
Based on current features supported in PowerBI, I'm afraid it is not possible to achieve this requirement. We can only customize the position of legend, the color, font size and content of legend title.
Someone has submitted this feature request, you can click here to vote it up.
Thanks,
Yuliana Gu- deepvibha
Advocate II
- AnonymousNot applicable
If those names are measures, you can create duplicates that reference them. For instance:
Free Cataract = [mSumFreeCataract]
...then use that new measure in your chart.
- shashiKumarNew Member
Now, You can rename in the vizualization tab and the legend will reflect that custom name without having to rename the column.
- Vickram
Helper III
shashiKumar , can you please elaborate? The feature seems not available.
- Rage
Advocate I
Select the graph/visualization --> Go to Visualizations tab --> Under "Values", right click the measures/table things you want to rename and choose "Rename for this visual".
Figured this out after many hours and googling it and seeing this page multiple times without finding an answer. 😫😫 Hoping this will save someone some time.