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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
allsolution
Contributor II
Contributor II

How make code value as custom name?

I have many data's like SF, LA, NY etc. How to display them as full San Francisco, Los Angeles,  New York on Qlik sense filter pane chart? Data source is local database.

Labels (3)
1 Solution

Accepted Solutions
Chanty4u
MVP
MVP

Try this 

=Pick(Match(CityCode, 'SF', 'LA', 'NY'),

      'San Francisco', 'Los Angeles', 'New York')

 

View solution in original post

3 Replies
ramchalla
Creator II
Creator II

Hi,

Create an excel file with the location and location full name information. Create a mapping load with these 2 fields and use an Applymap to include the location full name in fact table. Later you can start using the location full name field as a filter.

Please find the below code and the attached excel file.

Map_Location:
Mapping
LOAD Location,
[Location Full Name]
FROM
[C:\Users\admin\OneDrive\Desktop\Locations.xlsx]
(ooxml, embedded labels, table is Sheet1);

 

ApplyMap('Map_Location', Location) as [Location Full Name]

Chanty4u
MVP
MVP

Try this 

=Pick(Match(CityCode, 'SF', 'LA', 'NY'),

      'San Francisco', 'Los Angeles', 'New York')

 

pravinboniface
Creator III
Creator III

@Chanty4u What is the difference between first and second option?