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: 
khasimvali85
Creator II
Creator II

How to Set Default Date in our Qlikview Application?

Hi Community,

                    How to Set Default Date in Qlikview Application.

I want to show whenever the user open the application the default date should be shown?

Can any body give suggestion?

Regards,

Khaism.

22 Replies
Not applicable

Hi,

You can create a text object with "=today()-1", which will give you yesterday's date.

khasimvali85
Creator II
Creator II
Author

Hi Amay,

               Thanks  for your suggession but date only display, but not impact in my chart objects.

Regards,

Khasim.

Anonymous
Not applicable

Hi

Anonymous
Not applicable

Hi,

use below syntax  in text object:

=Date(max(Datefield),'DD/MM/YYYY')

change datefield with you field name.

Not applicable

Hi Khasim,

you need compare this date(today()-1) with your max(date) in your expressions in each of your chart object, which will give you yesterday's data only in the chart.

I hope this is what you wanted.

or can you post a sample.

Regards,

Amay

khasimvali85
Creator II
Creator II
Author

Hi Neeta,

               Thanks for Suggest i know that syntax but i want to use in calender object this date field.

Regards

khasim.

Anonymous
Not applicable

hi,

Create variable in script:

LET vTodaysDate = date(today(),'DD/MM/YYYY');

copy paste below syntax in script:

Date(Min(Date#(Date,'DD/MM/YYYY'))) as MinDate,
Date(Max(Date#(Date,'DD/MM/YYYY'))) as MaxDate,

use in object:

QV_ver4.png

Anonymous
Not applicable

Modify according to your requirement

khasimvali85
Creator II
Creator II
Author

Hi Neeta,

                    Thanks for your Suggestion but i have done same thing but not impact in my application.

Regards,

Khasim.

rustyfishbones
Master II
Master II

Create a Text Object and use Select in Field

text object with Yesterday as the text

2014-12-20_1124.png

And then use Select in Field option, assuming your field is called Date

2014-12-20_1123.png