Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
manoj217
Creator III
Creator III

dynamically get the values

Hi,

 

LogicalCodeFIELD1FIELD2FIELD3FIELD4
44111002MCINRF
44111002MCINRFLCE
44111002MCINRFLCEFULL
44111002MCINCPGN
44111002CRINGOODWL
44111002CRINECPRF
44111002CRINMCPRF
44111002CRINMIRF
44111002CRINROAMRF
44111002CRINSMSRF
44111002CRINOTTRF
44111002CRINOFVC
44111002LNIN
44111002LNRD
44111002WBCC
44111002UDCC
44111002FSCC
44111002RPCC
44111002COCC
44111002WBBN
44111001FSBN CIMB-EPK
44111001FSBN PBB

i have a straight table in that field1 feild2 feild3 are there and i want to add logical code but i want to show logical code based on feild4 value if it is null  go for feild3 if it is also null feild2  but  the logic is need to create dynamically that means in future they add the feilds then also works from field5  then field4 like that

for example :

field4 have null in first record so went to field3 RF logical value is  441111002

field 4 have the value PBB directly show 44111001

in future may add one more field5 it needs to compare the same dynamically without writing the logic again

0 Replies