Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
senpradip007
Specialist III
Specialist III

Selection Problem 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 Dim2 and other consists of calculated dimensions.

Now the problem is when Dim2 is selected, this expression GetSelectedCount(Dim2) is working fine. But when other listbox is selected then the above mentioned expression is not working.

Attached the sample application.

Thanks in advanced.

Pradip

3 Replies
Anonymous
Not applicable

It is not working because here you have created calculated dimension and named it as Dim2 but the expression is built on the field values of Dim2 (=if(Price>50 and Price<100, Dim2)) this is an issue.

I guess it will work if you create with the calculated dimension in the script as separate field and create that as an list box.


Thanks,

Nimesh

senpradip007
Specialist III
Specialist III
Author

Thanks for the reply.

Sometimes it is not possible to create all the dimension in the script. Is it a bug in the tool or that can be cracked?

Thanks.

Pradip

Anonymous
Not applicable

can you check what you get for this GetPossibleCount(Dim2) in the expression. by default it gives 4 and on selection of calculated dimension you will get the count of Dim2

Thanks,

Nimesh