Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count if

Dear Community

I am having a difficulty with the following formula:

=Count(if(SUM(Value)/10 > 0.8,[Employee Name])

I am not getting a result.

Please advise

Regards

7 Replies
Anonymous
Not applicable
Author

Don't know what your data looks like but you can try this.

=if(aggr(sum(Value)/10,[Employee Name])>0.8,count(distinct [Employee Name]),)

ziadm
Specialist
Specialist

missing closing bracket ...

=Count(if(SUM(Value)/10 > 0.8,[Employee Name]))

also you are missing aggr function

Try

=Count(if(Aggr(SUM(Sales),Customer) /10 > 0.8,Customer))


Not applicable
Author

Thanks , I am still trying but not getting result

Not applicable
Author

Thanks, Still no result , I will follow the formula, probably missing a bracket somewhere on my side

ziadm
Specialist
Specialist

=Count(if(Aggr(SUM(Sales),[Employee Name]) /10 > 0.8,[Employee Name]))

Not applicable
Author

Great , thanks a million - works

ziadm
Specialist
Specialist

Please mark correct and close the thread .. Thanks