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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
robin_heijt
Creator
Creator

Repeat calculated value if ID is the same.

Hi,

 

I have the following field:

Capture.PNGIf the ID is the same I want the 4A Implementation to show implemented for all lines.

I use this to calculate implementation.

 IF("Movement Type"='Promotion Band Up','Implemented' ,
 IF("Movement Type"='Promotion Within Band','Not Implemented' ,
 IF("Movement Type"='Lateral Move','Not Implemented' ,
 IF(isnull("Movement Type"), 'Not Implemented' ,
 IF("Movement Type"='Termination Voluntary','Not Implemented',
 IF("Movement Type"='Termination Involuntary', 'Not Implemented')))))) as "4A Implementation"

Thanks.

3 Replies
manisha_qlik
Contributor
Contributor

Use IF and Match function to resolve this. For ex.

IF(MATCH(STATE, 'NC','NJ','CT')>0,'USA', 'UK') as Country.

robin_heijt
Creator
Creator
Author

Unfortunately that returns the same result.Capture.PNG

robin_heijt
Creator
Creator
Author

Please note that the fields are coming from 2 concatenated tables