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: 
baylor2016
Creator
Creator

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
sunny_talwar

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

baylor2016
Creator
Creator
Author

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