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: 
Not applicable

Display Current Selections in ListBox

Hi all,

I need to display all my current selection in a list box instead of using current selection object. Is this possible to achieve?

Regards,

Abha

4 Replies
swuehl
MVP
MVP

May I ask what do you want to achieve, i.e. what is the use case behind that requirement?

You could use GetCurrentSelections() to e.g. print out current selections in a text box, if you just want a different kind of display.

I think it is quite hard to get the currently selected values of all fields in one listbox if possible at all, you could try playing around with GetCurrentSelections() and maybe subfield(), valuelist() functions etc. to create an appropriate expression for the list box (I think you get an expression in list box field section only since QV10), but I have no working solution in mind.

If you could tell us a little more what you want to achieve with that, what is not already possible with a Current Selection box, maybe someone has an idea to achieve this with something totally different.

Or maybe I have totally misunderstood your request.

Regards,

Stefan

Not applicable
Author

He had the same problem and resolves after accessing the link below.

I hope that will help you too.


http://yahqblog.blogspot.com/2011/01/novel-bookmark-display.html # comments


Sincerely,

Gleybson Fernandes

Anonymous
Not applicable
Author

Hi

     The following attached file will be solve your problem.

     you can acheive your solution using the variable in the listbox .

     set the varible in settings ---> variable overview ---> Add

          create variable and assign the following expression into your variable

               your variable name = =GetCurrentSelections()

     And then create listbox and in the listbox Field -->select  Expression and add your variable you created.

doubt : refer this attached file

Regards

Ashok

jagan
Partner - Champion III
Partner - Champion III

Hi,

You can get the current selections by using the function

=GetCurrentSelections().

You can display this values by using the Text box.

Regards,

Jagan.