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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sravanthi26
Partner - Contributor
Partner - Contributor

Field creation issue in Qliksense

As a part of developing code changes, I am facing  an issue while creating one field 

1000093135.jpg

1000093136.jpg

 Have look on images , I have added information in this. I need to create a new field POA Insert user. Those are map table names. There is chance one tb id have both users plant and lsp at that time needed  both . Some times we have only plan or lsp values present what ever  present that should be in output field. If both plant and lsp null then only unknow. How to write this logic

Labels (1)
2 Replies
sravanthi26
Partner - Contributor
Partner - Contributor
Author

Hello,

Any suggestions  please 

marksouzacosta

Hi @sravanthi26

I missed some parts of your question, but I think you can use a function like Coalesce:
https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/ConditionalFun...

coalesce(ApplyMap1(), ApplyMap2(), ApplyMap3(),'Unknow') as myfield

 

Regards,

Mark Costa

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com