Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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