Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I am working on Qlik Sense Desktop and I want to set yesterday's date as the default date for the date picker so that the user can see the filtered data upon launching the app. The user can only pick one date so I used the single date mode. Is there a way to set a default date for the date picker upon launching the app? I tried setting the expression 'Date(Num(Today()-1))' to both the start date and end date in the configurations but the date is still blank upon launching the app and the user will have to pick the date themselves. In Qlikview, it is easily achievable while it doesn't seem that way in Qlik Sense, or am I missing something? Appreciate any help!
You can set a Default Bookmark with a Dynamic value to get Today's date - check this video for more details: https://youtu.be/tFyqOigqnUw?si=fqf-T0vjBx6BumDS - or set an Action to your sheet to do the same thing. Be aware that date fields can be trick to set values due the format of the fields. Make sure the expression you are creating have the same format and type of your Date fields.
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
Hi @marksouzacosta, thanks for the suggestion! So, there's no way for the date picker object to pick a date by default upon app launching then?
Hi @poklegoguy,
You can set the default date for the date picker in single-date mode,
Setting a default date for the date picker in single date mode in Qlik Sense requires a combination of settings and scripting.
Hi @TauseefKhan, thanks for the help! However, I don't see any variable control option in the date picker properties, I am on the latest Qlik Sense version, what am I missing?