Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
bc5891
Contributor III
Contributor III

Bookmark does not save variable Selection from Variable Input Extension

I have a dropdown variable input box which is an extension within the Qlik Sense Dashboard bundle.

 

The dropdown is used to populate a date dimsnion for charts.  e.g. if year is selected, it would populate a column called year in the table, if month is selcted, month would be populated instead etc.

When I go to bookmarks and save it down I would like the selection of the dropdown to be saved down as well but it doesn;t seem to get included.  Is there a workaround for this apart from creating data islands for these dimensions and having them as fields in the dashboard?  I really would like not to go down this route if possible.

 

Thanks

Labels (2)
6 Replies
Mark_Little
Luminary
Luminary

I am pretty sure Variables aren't included in the saving of a bookmark.

Would bu good though, one for ideation? 

Greg_Oliven
Partner - Contributor III
Partner - Contributor III

I am running into the same issue, despite the "Save variable state in bookmark" option when setting a bookmark. @bc5891 - did you come up with a solution?

Greg_Oliven
Partner - Contributor III
Partner - Contributor III

I found the answer - if you set a variable in the load script, "Save variable state in bookmark" doesn't work. Remove the set statement from the load script, and the variable option works as intended.

ali_hijazi
Partner - Master II
Partner - Master II

hope this helps:
I have a dashboard in which by default the current fiscal year should be selected
so I create a filter pane for [Fiscal Year]
now in the search bar of the filter pane I put the following:
=[Fiscal Year]=$(vL.CurrentFiscalYear)

the variable vL.CurrentFiscalYear is defined as =max({1}[Fiscal Year])
after you select the returned value you create a default bookmark; in this way the bookmark is saved with value for [Fiscal Year] as $(vL.CurrentFiscalYear)
so this way when there is a new fiscal year the bookmark saves the new value of the fiscal year,....

hope this helps

I can walk on water when it freezes
henrikalmen
Specialist
Specialist


@Greg_Oliven wrote:

I found the answer - if you set a variable in the load script, "Save variable state in bookmark" doesn't work. Remove the set statement from the load script, and the variable option works as intended.


Is it a feature or a bug, i.e. something you discovered by trial-and-error or did you read it somewhere in the documentation?

Greg_Oliven
Partner - Contributor III
Partner - Contributor III

I am not sure how to characterize it, but I discovered this through trial and error.