Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Save the Date: QlikWorld Online, June 24-25, 2020. Free global virtual event for data integration and data analytic gurus. Register Today
Contributor

How to reference a list box with expression in GetSelectedCount?

Hi,

I am trying to get the selected count from a listbox with expression? How to reference this list box in getselectedcount function?

Thanks

Longmatch

2 Replies
Highlighted

Re: How to reference a list box with expression in GetSelectedCount?

You cannot, can you create a field in the script using the same expression in the script?

Highlighted
Contributor

Re: How to reference a list box with expression in GetSelectedCount?

I found that I can still use the field name to reference the list box which uses Expression. For example, the list box with expression below, I can still use ICD9_CODE to reference this list box and get correct count.

=Aggr(Only({1<PAT_ID = p({$}PAT_ID)>} ICD9_CODE), ICD9_CODE)

Thanks

Longmatch