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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
jboy
Contributor
Contributor

Urgent: Calling out Only the most recent value greater than 0 for each row

Dear All,

Please help!

 

I have a table containing different items in a row and each Items have values for 3 Periods. I want to create a column that gives only the most recent value that is greater than 0.

 

just as an example, if Period A = 0, then show value for Period B, if Period B = 0 and Period A = 0 then show value for Period C.

 

Thanks in Advance

Labels (1)
1 Reply
Mauritz_SA
Partner - Specialist
Partner - Specialist

Hi @jboy 

Just wondering why you don't just use a nested if?

if([Period A] <> 0, [Period A],if([Period B] <> 0,[Period B],[Period C]))

Regards,

Mauritz