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

Announcements
Save an extra $150 Dec 1–7 with code CYBERWEEK - stackable with early bird savings: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

calculating number of days when the stock was > 0

Good day, there is a need to calculate the number of days when the stock was greater than 0.

Best regards

1 Reply
tresesco
MVP
MVP

Though it is not very clear from your post what the actual scenario is like, may be you have to use COUNT function with IF.

Like - Count(If(Stock>0,DateField))

Regards,

tresesco