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: 
Not applicable

mapping fields


I have two fields A.initiatedCity and B.initiatedCity, loaded in different load statements, which for other purposes needs to be separated. I would like both to be mapped to a third field CityName, loaded in a separate statement to allow them to be linked to a fourth namely RegionName.

What is the best solution?

Labels (1)
2 Replies
sunny_talwar
MVP
MVP

Probably use a LinkTable to create the new Field

Link:

LOAD A.initiatedCity as CityName,

          UniqueKeyFromThisTable,

          'A' as Flag

Resident A;

Concatenate (Link)

LOAD B.initiatedCity as CityName,

          UniqueKeyFromThisTable,

          'B' as Flag

Resident B;

Not applicable
Author

Thanks!

Found a way using the Lookup function.