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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Different values for a dimension when accessed through URL

Hi All,

I have selected year(today) as pre-selected year on my dashboard. Its working fine when accessed on local system. Its showing 2015 as the selected year. But when I accessed the same dashboard through the URL link its showing 2014 as the current selection for the Year field.

Please help.

5 Replies
Not applicable
Author

Have you checked the Date of the Server where QV Server is installed?

Not applicable
Author

Ya Its showing the correct date.

Not applicable
Author

try to use today(1)

1 forces current date and not the date the document was reloaded

Not applicable
Author

Caution: Replaced it by today(0)  

if you use today(1) it will constantly execute that function and eat cpu cycles use it caution, it is a more real time of getting today's date

if you use today(0) it will give you the date script is run

if you use today(2) which is default as today() then date the document was opened

Not applicable
Author

Hi Mario,

Tried using the today(1) but still its showing the same. When I am accessing the file on server its coming correctly, but through the link its showing the selected year as 2014.