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: 
SMiller_FL
Contributor III
Contributor III

when variables not in control table- county name

I have a look up table with county names. I even have names spelled multiple ways in case users override the controls (not under my area) and type the in all caps or the correct way.

The problem is I have a table which I want to count the number of records by county which seems simple but if there are counties not found in my look up table then I get a    -   in the county name field which I can't select on. The beauty of Qlik is that you can click on a field like county 'XYZ' and all the other data reflects just that county. I want to be able to show the Misspelled counties as well so the users can work with whoever is inputting to do data cleanup.  Thanks.

1 Reply
vinieme12
Champion III
Champion III

If you are using Applymap() it has a default value parameter which is return value incase the lookup value does not exist in mapping table

 

example

 

Applymap(YouMappingTable, MappingValue ,  MappingValue ) << in this case it will return the same field value if the mapping value does not exist in mapping table

 

https://help.qlik.com/en-US/sense/February2022/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFun...

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.