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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can I extract selection values from a bookmark?

Hi.

I have a bookmark, BM01, storing selections on 2 fields: ProductID and ProductCategory.

Is there a way to retrieve this selection data similar to the way that GetFieldSelections(ProductID) retrieves selection data?

i.e. I want to be able to store the bookmark selection values for each field in a variable.

Is this possible, and how?

Thanks!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

maybe using set analysis:

=concat({BOOKMARKNAME} DISTINCT ProductID,' ,')

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Simply apply the bookmark and retrieve the selections from the fields themselves.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks.

Is there a way to do this without applying the bookmark at all?

swuehl
MVP
MVP

maybe using set analysis:

=concat({BOOKMARKNAME} DISTINCT ProductID,' ,')

Not applicable
Author

It works! Thanks so much!