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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis question

Hi,

   I have a chart either pivot table or straight table. now i need  to create a  column which should do count of selections made. Example if i make selection on one list box the count should be  one , if the selcitions are two then one more row should add in that column as  two.

the values should dynamically increase in that column as per the selections made.

Do respond me with set analysis expression

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

     Mario thanks for your quick and sharp response, but what if we make sections in more than one list boxes

View solution in original post

6 Replies
Not applicable
Author

If the list box is one, try to use

=getselectedcount(Field)

as expression of column,where field is the field of list box.

Not applicable
Author

Hi,

     Mario thanks for your quick and sharp response, but what if we make sections in more than one list boxes

Not applicable
Author

=getselectedcount(field1) + getselectedcount(field2) + ...

Try this?

preminqlik
Specialist II
Specialist II

=getselectedcount(field1)+getselectedcount(field2)+getselectedcount(field3)+.....

Not applicable
Author

Hi Jacob,

  It works fine

Not applicable
Author

try this:

=SubStringCount( GetCurrentSelections(' | ', '::', '::'),'::')