Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
deepvibha
Advocate II
Advocate II

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.

Untitled.png

Can that be achieved?

 

Regards,

Deepak

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
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

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

View solution in original post

8 REPLIES 8
shashiKumar
New Member

Now, You can rename in the vizualization tab and the legend will reflect that custom name without having to rename the column.

@shashiKumar , can you please elaborate? The feature seems not available.

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.

Unfortunately the solution still doesn't exist. What you did was rename the measure, not the values within the measure itself, which is what OP was trying to acheive. 

 

I think the only way forward right now is to create a new measure with the renamed values and use that as the legend instead. 

 

v-yulgu-msft
Employee
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

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

Thanks @v-yulgu-msft.

 

I've voted for the feature request.

 

Regards,

Deepak

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.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thanks @KHorseman,

 

That's a good alternative, I feel.

I have a query that by duplicating reference, am I creating another measure? i. e. will it evaluate the same formula, which I have written for the acutal measure, again?

 

 

Regards,

Deepak

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.