Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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