Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikwiz123
Creator III
Creator III

One Date Range

I have a Date Field and I need to create a Start Date and End Date using that one Date field. Picking up the Start and End Dates should display the values in the other fields corresponding to this range. How do I do this?

Labels (1)
1 Solution

Accepted Solutions
9 Replies
pradosh_thakur
Master II
Master II

how does your data looks like ? provide some example.
Learning never stops.
qlikwiz123
Creator III
Creator III
Author

Sorry but since the data is private, can't really share any sample. But the idea is simple. Have a single date field but I need to create a Start Date and End Date from that one field to create a range. If I pick Jan 1 2018 as my Start Date and Mar 30 2018 as my End Date, it should select all the days in between in that one Date field.

qlikwiz123
Creator III
Creator III
Author

@pradosh_thakur@sunny_talwar

Any thoughts on this one is really appreciated folks 🙂

sunny_talwar

Try this


qlikwiz123
Creator III
Creator III
Author

Good solution Sunny. But one issue here is, in the End Date, I also see dates before the Start Date Value too, as in if Start Date is Jan 2002, End Date shows dates beyond 2002 year as well. How to make the End Date only show date values that appear after Start Date value?

In EndDate calendar, I changed min to =Min({1}vStartDate) and max to Max({1}Date). This shows future dates that are not present in the Date field.

 

@sunny_talwar

sunny_talwar

Please share a sample so that we can see the issue.

qlikwiz123
Creator III
Creator III
Author

PFA

sunny_talwar

May be try the attached

qlikwiz123
Creator III
Creator III
Author

Thank you so much.