Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
OWSLA
Contributor
Contributor

If the date point is between two dates

Hi. I’m new to Qlik and I am dealing with HR data modeling.
In the case of a single personnel appointment, There are starting dates and end dates as START_YMD and END_YMD.

I am trying to distinguish if a designated date point is between START_YMD and END_YMD. (Given that dates from minimum to maximum dates are generated by the master calendar)

The way I tried is that I generated incrementing dates starting from START_YMD to END_YMD as shown below.


스크린샷 2023-08-22 오후 1.00.57.png

However, I wonder if there are other ways done without making dummy dates.

Is there anyone who dealt with a similar case? Any recommendations are appreciated.

Labels (4)
2 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi there,

Welcome to the Qlik community! 

Issues of this kind are usually solved in the data model using an INTERVALMATCH load - look it up in the documentation. I have a very detailed description of this technique in my book, if you'd like to check it out.

 

anat
Master
Master

Use Intervalmatch function to get the values between start and end date.

https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptP...