Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

senpradip007
Valued Contributor III

GetSelectedCount() Issue in Qlik Sense

Hi,

Stuck in a certain problem that might be easy to you!!!

I have two listboxes out of which one is having direct field named Direct Field and other consists of calculated dimensions.

Now the problem is when Calculated Dimension is selected, this expression GetSelectedCount(Direct Field) is working fine. But when other listbox named Calculated Dimension is selected then the above mentioned expression is not working.

Attached the sample application.

Thanks in advanced.

Pradip

1 Solution

Accepted Solutions
MVP
MVP

Re: GetSelectedCount() Issue in Qlik Sense

Or a better approach would be to create your list box with this expression:

Aggr(Only({1<Region = {'East'}>}City), City)

Attaching back the sample for referrence

3 Replies
MVP
MVP

Re: GetSelectedCount() Issue in Qlik Sense

Can you try GetPossibleCount(City)

MVP
MVP

Re: GetSelectedCount() Issue in Qlik Sense

Or a better approach would be to create your list box with this expression:

Aggr(Only({1<Region = {'East'}>}City), City)

Attaching back the sample for referrence

senpradip007
Valued Contributor III

Re: GetSelectedCount() Issue in Qlik Sense

Thanks!!!

Its working.