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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
chriys1337
Creator III
Creator III

Replace Field in Table A with value from Field in Table B

Hi,

I am trying to replace some values in the Table A, in case the value in Table A is "UNKOWN".

In this case I would like to use the Field from Table B.

Does anybody have an idea, how to archive this?

Thanks!!

Chris

1 Solution

Accepted Solutions
2 Replies
sunny_talwar

Check my response here:

Left Join where field is like "x"

prieper
Master II
Master II

I would suggest to use the MAPPING functionality:

mapUnknown: MAPPING LOAD Key, MyField RESIDENT TableB;

TableA:

LOAD *,

IF (MyField = 'UNKNOWN', APPLYMAP('mapUnknown', MyField))          AS MyField_updated

FROM .....

Peter