Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
vignesh_s
Creator
Creator

calender object

hi all,

     I have 2 calender object "From" and "To"

after i clear the screen "From" should show min Date

and "To" should show max Date

can any one help me out

1 Solution

Accepted Solutions
rahulpawarb
Specialist III
Specialist III

Please refer sample application file attached herewith.

Regards!

Rahul Pawar

View solution in original post

11 Replies
Clever_Anjos
Employee
Employee

Are they attached to variables or fields?

vignesh_s
Creator
Creator
Author

variables

Clever_Anjos
Employee
Employee

And how do you calculate max and min dates?

vignesh_s
Creator
Creator
Author

max(date) and min of date

Clever_Anjos
Employee
Employee

So you´re using fields, not variables, right?

rahulpawarb
Specialist III
Specialist III

Hello Vignesh,

Hope that you are doing well!

As a workaround you can follow below approach:

1. Add Two Two Variables (vFrom & vTo) and Calendar Objects (From & To)

2. Associate vFrom & vTo with From & To Calendar Objects respectively

3. Add a button to perform Clear All

4. Add three different Actions under the button by following given order

     2.1 Clear All

     2.2 Set Variable (Variable: vFrom & Value: =Min(Date))

     2.3 Set Variable (Variable: vTo & Value: =Max(Date))


Hope this will help.


Regards!

Rahul Pawar

vignesh_s
Creator
Creator
Author

ya

vignesh_s
Creator
Creator
Author

Can u provide a sample qvw plz

rahulpawarb
Specialist III
Specialist III

Please refer sample application file attached herewith.

Regards!

Rahul Pawar