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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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

Labels (1)
2 Replies
sunny_talwar
MVP
MVP

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