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: 
kashjaniqlik
Contributor III
Contributor III

Get Selected count without a distinct

Hello

Is there a way to get a count of selected item in a listbox without the use of a distinct please?

Thanks for your help.

Kash

1 Solution

Accepted Solutions
sunny_talwar

GetSelectedCount(FieldName) doesn't require the need to use DISTINCT. But I am not sure why you want to display a single count in a list box? Do you mean a text box?

View solution in original post

5 Replies
sunny_talwar

GetSelectedCount(FieldName) doesn't require the need to use DISTINCT. But I am not sure why you want to display a single count in a list box? Do you mean a text box?

mightyqlikers
Creator III
Creator III

hi,

what exactly you want.

what do you mean of count of selected item in listbox.

it will always display 1 if it is unique data coming from your source data.

$@M.

antoniotiman
Master III
Master III

If You want count Item in Listbox then You can check Show Frequency in Property.

tresesco
MVP
MVP

May be this:

If(GetSelectedCount(Field), Count(Field))

susovan
Partner - Specialist
Partner - Specialist

Hi,

Try this way,

17.JPG

Warm Regards,
Susovan