Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
bagdwan1
Partner - Contributor
Partner - Contributor

Is it possible to use GetSelectedValues on a listbox?

Hello,

I would like to use the GetSelectedValues (found in the API guide).

It seems like it can only be used on Fields, but I need something that works on an expression (used in a listbox).

I have tried Export and ExportEx and CopyValuesToClipboard but the problem with them is that all values in the listbox are returned when no selection has been made.

Using the GetSelectedValues gives me exactly what I want but I dont have a field that I can use.

I need this to be based on the expression used in my listbox.

My expression is

=if($(vCostPerNamedUserCAL) < aggr(Count({$}DISTINCT Document), User) * $(vCostPerDocCAL), User)

Does anyone know of a work around to this problem?

br

Martin

1 Reply
Not applicable

Use "=Concat(DISTINCT [%Measure Name],',')"in the ListBox....