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: 
eliezer7
Contributor III
Contributor III

if getselectedcount doesn't work

hi.  I do not know why this expression doesn't work.

=if((getselectedcount(Year) >=2 OR getselectedcount(Full_Student_Name)) >=1, '-', Avg(SumMath4_Percentages))

any ideas?

thanks

Labels (2)
1 Solution

Accepted Solutions
eliezer7
Contributor III
Contributor III
Author

I already found the solution. It doesn't work if I use masteritems with the following =Year & ' ' and =Full_Student_Name & ' ' in the expression.
Thank you

View solution in original post

2 Replies
SivaChagaleti
Contributor II
Contributor II

Can you try below expression?

=if((getselectedcount(Year) >=2 OR getselectedcount(Full_Student_Name)>=1),  '-', Avg(SumMath4_Percentages))

eliezer7
Contributor III
Contributor III
Author

I already found the solution. It doesn't work if I use masteritems with the following =Year & ' ' and =Full_Student_Name & ' ' in the expression.
Thank you