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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
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]