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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

count with condition

hay

i have 2 field one is the date and the second is the condition.

i wnat to know how much time  the condition 1 apear.

i use this one but i get nothing 😞

=Count({$<[condtion]={"0"}>}[date])

i need to count the date field ,just if the second field show 0  , how can i do that ?

thanks'

yarin

Labels (1)
3 Replies
nilesh_gangurde
Partner - Specialist
Partner - Specialist

Heyy ,

Check out the field "condition" is in which format.

if its in text then it will not show anything for the above expression.

Regards,

Nilesh Gangurde

thomas_skariah
Creator III
Creator III

Hi Yarin,

Just try the following code =count(if(condtion=0,date)).

Regards,

Tom

Not applicable
Author

hi,

please try this expression

   =count({<[condition]={"=null()"}>}[date])

I hope this will help.