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: 
Not applicable

Set Analysis and Count if

Dear Community

Please an i as advise on the following:

Below is my formula

=count(if(Aggr(SUM(Value),[Employee Name]) /10 > 0,{<Week={1}>},[Employee Name]))

I am not sure where to place the Set analysis because currently I have an error in the expression

Please advise

Many Thanks

Labels (1)
1 Solution

Accepted Solutions
avinashelite
MVP
MVP

try like this

=count(if(Aggr( Sum({<Week={1}>}Value),[Employee Name]) /10> 0,[Employee Name]))

View solution in original post

9 Replies
Anil_Babu_Samineni
MVP
MVP

May be this?

count(if(Aggr(Sum({<Week={1}>}Value),[Employee Name]) /10) > 0,[Employee Name])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

Thanks for the quick response, however I still have an error in expresion

Regards

Anil_Babu_Samineni
MVP
MVP

Could be issue over 10. Would you able to share sample

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

Hi

I cannot share, sensitive info contained. but I can see the expression editor is placing the red line behind the bracket of the 10. If this helps

=count(if(Aggr( Sum({<Week={1}>}Value),[Employee Name]) /10)> 0,[Employee Name])

Anonymous
Not applicable
Author

try aggr(nodistinct ...

avinashelite
MVP
MVP

try like this

=count(if(Aggr( Sum({<Week={1}>}Value),[Employee Name]) /10> 0,[Employee Name]))

Not applicable
Author

thank you

avinashelite
MVP
MVP

Glad to help you

sunny_talwar
MVP
MVP

Just for a try, this might work as well

=Count({<Week={1}, [Employee Name] = {"=Sum(Value) > 0"}>} [Employee Name])