Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Yuhka
New Contributor III

GetSelectedCount with counditions

Hello everyone, I'm new to qlikview.

I have a listbox, a button and a chart.

Users select 3-5 items from the listbox and the button changes to blue, click the button and they can see the result of selected items on the chart.

I need to include Category like "#TypeX" in the listbox, but I wouldn't like to count as the selected items.

Is there any way to count the items excluding categories? 

キャプチャ.PNG

 

 

 

 

 

 

 

 

 

Thank you for your support.

1 Solution

Accepted Solutions

Re: GetSelectedCount with counditions

May be change your condition to this

=GetSelectedCount(Selections) > 0 and
 Count({<Selections -= {"#Type*"}>}Selections) >= 3 and
 Count({<Selections -= {"#Type*"}>}Selections) <= 5

View solution in original post

3 Replies

Re: GetSelectedCount with counditions

May be change your condition to this

=GetSelectedCount(Selections) > 0 and
 Count({<Selections -= {"#Type*"}>}Selections) >= 3 and
 Count({<Selections -= {"#Type*"}>}Selections) <= 5

View solution in original post

Yuhka
New Contributor III

Re: GetSelectedCount with counditions

@sunny_talwar 

Thank you for your reply.

It worked perfectly! Thank you very much!

Re: GetSelectedCount with counditions

Glad it did... happy to help