Skip to main content

Power BI

Needs Votes

custom legend

Vote (220) Share
Dian Dimitrov's profile image

Dian Dimitrov on 10 Jun 2016 20:32:18

It will be really grate if you can add a custom names for legends like for titles to have a field for every data in order to add a custom name not like now. When I'm trying to add in a chart counted row (for example row name priority ) in a legend is written "count of priority" - I don't want this name I want to put for example a custom name "cases priority".

Comments (16)
Dian Dimitrov's profile image Profile Picture

Martin Riddar on 26 Mar 2024 10:19:24

RE: custom legend

As someone mentioned this can be accomplished by using the rename for this visual feature, as long as you aren't working on a bilingual report since this hard codes the value for that visual!And since all our reports must be bilingual I'm out of luck until this is implemented.

Dian Dimitrov's profile image Profile Picture

Daila Alexandre on 27 Oct 2022 14:46:21

RE: custom legend

This really needs to be implemented!

Dian Dimitrov's profile image Profile Picture

James Lawton on 15 Jan 2021 11:34:24

RE: custom legend

I figured out a workaround for the issue. You can group data in a column under a name of your choosing. In my case, I had a column whose values were 1 and 3, which for readability sake I wanted to show as "open" or "closed". In the legend options select "New Group". I was able to group 1 under "open" and 3 under "closed", and use the resulting measure as the legend.
It even works when using DirectQuery which was preventing me from easily making a new measure using a Switch function.

Dian Dimitrov's profile image Profile Picture

Gabriel Kay on 08 Nov 2020 16:27:50

RE: custom legend

I completely agree, this needs implementing!

Dian Dimitrov's profile image Profile Picture

Power BI User on 06 Jul 2020 00:02:43

RE: custom legend

I would like to do the same, especially helpful measures are binary and the legend shows 1 and 0. The graphs show the correct counts but the legend needs to be changed to something other than 0 or 1. Please make this an option.

Dian Dimitrov's profile image Profile Picture

David Blake on 05 Jul 2020 23:55:17

RE: custom legend

Excellent suggestion. Also the ability to modify the indent of the legend would be a handy feature.

Dian Dimitrov's profile image Profile Picture

63xinxin on 05 Jul 2020 23:29:13

RE: custom legend

I would like to see my legend name changes based on my selection in the slicer. We can change the value in a measure based on selection in the slicer by using SWITCH function. But the legend name is just the name of the measure... I want it to be the name of the value I choose...

Dian Dimitrov's profile image Profile Picture

bullius on 05 Jul 2020 23:26:19

RE: custom legend

FYI this can be done by right-clicking and renaming a field once it has been placed in one of the visual's buckets.

Dian Dimitrov's profile image Profile Picture

Sukhomoy Bhattacharya on 05 Jul 2020 22:59:29

RE: custom legend

Great option. I am fully agree on this option.

Dian Dimitrov's profile image Profile Picture

Power BI User on 05 Jul 2020 22:56:18

RE: custom legend

I would also like to be able to name the legend item based on a field value so the legend could change based on the selected filter.