Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

To get the Country from an Address

Hello Everyone,


Is anyone know to say me how to get the country from an address field?

Cheers.-


Mirco

1 Solution

Accepted Solutions
datanibbler
Champion
Champion

Hi Mirco,

if the address_field contains the country, you can simply cut it out using the "String functions" (in the help file) like LEFT, RIGHT, MID and SUBSTRING.

If it doesn't, then you need a mapping table with the adresses in one column and the country in a second one. Then you can use the Applymap() function.

View solution in original post

2 Replies
datanibbler
Champion
Champion

Hi Mirco,

if the address_field contains the country, you can simply cut it out using the "String functions" (in the help file) like LEFT, RIGHT, MID and SUBSTRING.

If it doesn't, then you need a mapping table with the adresses in one column and the country in a second one. Then you can use the Applymap() function.

Siva_Sankar
Master II
Master II

Hi,

Try using subfiled function. Follow the below url for step by step instructions.

SubField() Function in QlikView Application: Part 1

Regards,

siva