Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
vipingarg23
Creator
Creator

getselectedcount() is not working QV11

Hi Team,

I am using below calculated condition in my straight table with alternate state

=GetSelectedCount(Year,False(),'Alternate State Name')

This condition is working fine in QV12 but it is not working in QV11.

Can anyone suggest me on the same?

1 Solution

Accepted Solutions
vipingarg23
Creator
Creator
Author

Sorry for late reply. But it is not working. I found other alternate solution with Only() function. Thanks for your help.

View solution in original post

11 Replies
vipingarg23
Creator
Creator
Author

In QV11, it is giving me syntax error.

antoniotiman
Master III
Master III

It is available in QV Version >= 11.20 SR8

Regards,

Antonio

vipingarg23
Creator
Creator
Author

So, there is no other alternative if I am using other version. I can't change the version.

antoniotiman
Master III
Master III

I'm sorry, as far as I know no.

antoniotiman
Master III
Master III

However You can try to use Count({State1} Distinct Field .. instead.

Anonymous
Not applicable

but then the problem is that you can't distinguish between nothing selected and all selected or am I wrong?

vipingarg23
Creator
Creator
Author

I just want to check the condition if any value is selected by user from

the field or not and I am using alternate state also. This syntax is not

working in QV11 but working in 12

On Wed, Aug 16, 2017 at 4:32 PM, Robin Hausdörfer <qcwebmaster@qlikview.com>

Anonymous
Not applicable

... and that's why you can't use the idea of Antonio... because that is similar to getpossiblecount().

I think you need to update ...

vipingarg23
Creator
Creator
Author

No..It is not working as I am not able to use Alternate state with this function.