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: 
Anonymous
Not applicable

combine 2 or more dates issue

Dear qliks,

I am attaching an qv app . I want to consider min date and max date dynamically and should given to Auto Generate function for master calendar. Can any one help regarding that.

I have clearly mentioned the problem in qv file with commented lines please take a look through the attached document

hicrwunderlichswuehlstevedarkstalwar1filip_duchateausreerangasane

1 Solution

Accepted Solutions
sunny_talwar

2 Replies
sunny_talwar

Try the attached

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You can not use the aggregation function in variable definition.

Add this code.

//Getting error Date Field is not found

MinMax:

LOad Min(Date) as MIN,

  Max(Date) as MAX

Resident Link; 

Let vMinDate = Peek('MIN',0,'MinMax');

Let vMaxDate = Peek('MIN',0,'MinMax');

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!