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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Adding field value

Hello,

I think this should be relatively easy. I have and [Order Index] field with codes 1-40 for [Sec Diag]. I would like the [Order Index] to display "P" value when there is a populated value in [Prim Diag]. How do add that in the load script?

Labels (1)
1 Reply
Not applicable
Author

If(not isnull([Prim Diag]), 'P', [Sec Diag]) AS [Order Index]