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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

help (set an expression with more than one condition)

hi.. i'm new to qv..

I want to make a gauge chart and expression that I want to use in chart is

SELECT COUNT  from STUDENT where GRADE='SENIOR' and IPK='<3'

+

SELECT COUNT  from STUDENT where GRADE='SOPHOMORE' and IPK='<3'

how can I do this, can somebody help me to create an expression??

1 Solution

Accepted Solutions
Nicole-Smith

count({<Grade={'SENIOR'},IPK={'<3'}>}YourStudentField)+count({<Grade={'SOPHOMORE'},IPK={'<3'}>}YourStudentField)

Replace YourStudentField with a student ID field or name field or whatever you have that identifies a student.

View solution in original post

4 Replies
Nicole-Smith

count({<Grade={'SENIOR'},IPK={'<3'}>}YourStudentField)+count({<Grade={'SOPHOMORE'},IPK={'<3'}>}YourStudentField)

Replace YourStudentField with a student ID field or name field or whatever you have that identifies a student.

kiranmanoharrode
Creator III
Creator III

try this.........

=count({<Grade={"SENIOR","SOPHOMORE"},IPK={"<3"}>}StudentField)


Regards,

Kiran Rode

+91 8976977897

Not applicable
Author

Just a small variation to what Nicole mentioned.

=count({<Grade={'SENIOR','SOPHOMORE'}, IPK={'<3'}>}Students)

Thanks

AJ

Not applicable
Author

Thanks Nicole 
very help