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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
sr_qlikview
Creator
Creator

Current selections countns

I want to get the total count of current selections in the application.

Ex: selections

Year  - 2013,2012

Countries: CountryA, CouintryB,CountryC

Comp: X,Y

Total count: 7

got to show this count as popup

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

This will return the count of current selections:

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

You can put this expression in a textbox. Or you can put this in the Help Text box of an object:

='Number of selections: ' & SubStringCount(GetCurrentSelections(':',':',',',9999),':')

That will show the number of selections if you hover the mouse over the '?' in the caption of the object.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

This will return the count of current selections:

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

You can put this expression in a textbox. Or you can put this in the Help Text box of an object:

='Number of selections: ' & SubStringCount(GetCurrentSelections(':',':',',',9999),':')

That will show the number of selections if you hover the mouse over the '?' in the caption of the object.


talk is cheap, supply exceeds demand
sr_qlikview
Creator
Creator
Author

i also tried  exactly the same way and got it worked already....thank you somuch for ur reply to confirm