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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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]