Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Highlighted
Not applicable

How to set Default date in DateRangePicker Qlik Sense?

Hi,

I am working on a report, where I need to display sum of records for the current week by default. I also have a DateRangePicker extension, which i am using for a date range. Could you help me with setting the Default date to today-7?

Thanks in advance.

2 Replies
ogster1974
Honored Contributor II

Re: How to set Default date in DateRangePicker Qlik Sense?

Set your default value in a variable then include your variable in your extension if it allows a default value to be set.

Something like

Set vDD = today()+7

Then in your extension field for setting the default value add

=$(vDD)

Partner
Partner

Re: How to set Default date in DateRangePicker Qlik Sense?

Hello,

use

sum({<Date={">=$(=today()-7)"}>} value)

Regards