Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

kashjaniqlik
Not applicable

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
Not applicable

Re: Get Selected count without a distinct

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?

5 Replies
sunny_talwar
Not applicable

Re: Get Selected count without a distinct

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
Not applicable

Re: Get Selected count without a distinct

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
Not applicable

Re: Get Selected count without a distinct

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

tresesco
Not applicable

Re: Get Selected count without a distinct

May be this:

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

susovan_g
Not applicable

Re: Get Selected count without a distinct

Hi,

Try this way,

17.JPG