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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
natisham
Contributor II
Contributor II

Count in a certain date

Hello,

Im trying to count Engine hours over 40 hours by week. So I just need it to read

Header 1Header 2
Engine Hours over 407
Engine Hours under 25

It would count Machine Names with over 40 Engine hours per week.

Currently I have :

Count({$<[Engine on (h)]={"<2"}>}[Engine on (h)])       but it is giving me the total and not counting the number of weeks it ran under 2 hours.

Please help.

11 Replies
sunny_talwar

So then it appears that the if statement is working for you, isn't it? Are you looking to use set analysis to improve performance?

natisham
Contributor II
Contributor II
Author

Yes please , For every cell that is over 40 hours i need to count it as 1. Then  add them all together for the month.