Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Legend Editting (Custom Legend Headings)

Hello

The dataset i'm working with has countries as acronyms

i.e AMR for America and CAN for Canada

When I set up a legend it says AMR and CAN

Is there a way to set it up to where I can have it show America and Canada in the legend

Thank you

1 Reply
Ivan_Bozov
Luminary
Luminary

Hello! You can create a new dimension (Master Items > Dimensions > Create New) and use the following expression to define it:

If(Country like 'CAN', 'Canada', If(Country like 'AMR', 'America', Null()))

After that use the new dimension in your chart. The legend will show the full names.

vizmind.eu