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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

multiple if conditions in tmap

Hi All,

I  have a requirement to transform the data from source to target. below is the requirement.

In T_USER_DIM the column will have 3 possible values: value null when st_user.external_employee=1. value ‘y' when st_user.external_employee=0 and the st_user.external_id is found in st_us_persons. value 'n’ when st_user.external_employee=0 and the st_user.external_id is not found in st_us_persons.

i have written expression like this in tmap, but it is not working.

(ST_USER.external_employee=="1")?"Null" : ( ( ST_USER.external_employee == "0")?"Y":"N"

 

Labels (3)
11 Replies
manodwhb
Champion II
Champion II

@keshav1991 , can you unchecked the key check box  in tmap of input field of external_id .

Anonymous
Not applicable
Author

no it is checked only...

0683p000009M9JJ.jpg