Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a straight table on a chart where I want to help the users navigate between pre-defined "reports" via bookmarks. These bookmarks make selections and affect what dimensions and measures are shown in the table ("save layout" is selected).
To help the users I'm putting a bunch of buttons next to the table that apply a bookmark. I'd want to color these buttons based on if their bookmarks are enabled, is it possible to check if a bookmark is applied dynamically? I'm not finding any information on this online.
As far as I know, there is no such thing as "bookmark is applied" in Qlik states. A bookmark is just a set of selections and layout.
You could have each of your bookmarks make a selection in a field, toggle a variable (I think that's an option?), or something similar, which would tell you that the bookmark was applied and no other bookmark has been applied since. However, in the scenario you describe, it would be easier to just apply a similar condition using the buttons rather than the bookmarks.
Yeah, right now I'm toggling a variable with the buttons. But is there any way to compare the current selections to the selections of a bookmark?
In set analysis you can use the {BookmarkNameHere} syntax, so you could probably work with that and count/sum of some field.
Thanks, this is probably the answer unless I end up going with a variable for each button for coloring! I'll play around with it!