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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count if

Hello to all,

I'm new in qlikview, and I need to know how to count records with value >0

I have a calculated field with count(mono_usg) but I want to count only the records with a value > 0

Thanks in advance

11 Replies
aveeeeeee7en
Specialist III
Specialist III

Hi

Try this:

count({<Value={'>0'}>}mono_usg)

Hope that helps.

Regards

Aviral Nag

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

count({<mono_usg={'>0'}>}mono_usg)


talk is cheap, supply exceeds demand
israrkhan
Specialist II
Specialist II

try

count({<Value -= {0}>} mono_usg)


Hope it helps...

Not applicable
Author

Return zero

Not applicable
Author

do not work return 0

maxgro
MVP
MVP

=count(if(mono_usg>0,mono_usg))

israrkhan
Specialist II
Specialist II

try

count({<mono_usg-= {0}>} mono_usg) OR


count({<mono_usg= {" > 0 "}>} mono_usg)



SHOULD WORK...

Not applicable
Author

This may seem like a very basic answer, but have you confirmed that you imported data that actually fulfills when this condition is true?

MarcoWedel

Sum(Sign(mono_usg))