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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Multiple value names for the one value

Hi all, long time reader, first time poster!

I am building a simple Qlikview application at the moment, the source data is a single excel file and all the data resides in one table.

Unfortunately the data itself is quite messy. One problem I am encountering (I foresee many more!) at the moment is in the "Country" field. There has been no standardized data entry protocol, so for each country (e.g. Spain) I have multiple codes (e.g. ES, es, Spain).

I'm looking for a tidy solution to this problem. IF statements? Mapping tables?

Thanks in advance,

Michael

4 Replies
Not applicable
Author

If you had another table linked with country table, then you could use distinct... But this seems not the case. I'm trying to do something to help you, if I find the solution I'll post here.


Not applicable
Author

You could try something like this:

if([Country] = 'ES' or [Country] = 'e.g. ES' or [Country] = 'es' or [Country] = 'e.g Spain', 'Spain')

It's the easyest way that I found, on the other hand, it just work if the data is not so high.

Not applicable
Author

Hi Michael,

Better using mapping table.

Regards,

Srinivasan

Not applicable
Author

Many thanks guys!