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

What is the error in this set expression?

HI All

i am using the below set expression to fing the count of employees who belongs to 90 and 100 but it is showing '-' for me?

=if(sum( distinct EmployeeBucket >90) and sum(distinct EmployeeBucket <=100),Count( DISTINCT [Employee Number])) 

pls help me to correct issue

Thanks in advance


4 Replies
tresesco
MVP
MVP

Try like:

=if(sum( distinct EmployeeBucket )>90 and sum(distinct EmployeeBucket )<=100,Count( DISTINCT [Employee Number]))

Anonymous
Not applicable
Author


Hello,

Please check your condition sum( distinct EmployeeBucket) is returning values between 90 to 100, only then this condition should work

Regards,

Nita Prasad

PrashantSangle

Hi,

What values are there in EmployeeBucket??

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

Hi TheVIlla,

=Count(DISTINCT{$<EmployeeBucket={'>90 <=100'}>}EmployeeBucket)

use this expression in text object may gives the result.