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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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