Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

1 Solution

Accepted Solutions
avinashelite

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

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

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

try like this

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

Not applicable
Author

thank you

avinashelite

Glad to help you

sunny_talwar

Just for a try, this might work as well

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