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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
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?

1 Reply
Not applicable
Author

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