Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
I am pretty sure Variables aren't included in the saving of a bookmark.
Would bu good though, one for ideation?
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?
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.
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
@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?
I am not sure how to characterize it, but I discovered this through trial and error.