Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Domino1
Contributor II
Contributor II

Multiple conditions for a date range on one flag ?

 Hello, 

Fiscal Year start is : Oct 1  and ends : Sept 30 

Requirement is need to flag all dates that is within Sept 30 - Oct 1 regardless of year. 

If there is a 9/30 and 10/1  between  StartDate  and EndDate - need to flag it.

Tried many variations of  if statements such as below and no luck. 

If ( StartYear < EndYear  and  StartMonth <10  and EndMonth >10 , 0, 1)  

See attached file .

Labels (2)
1 Solution

Accepted Solutions
vikasmahajan

Hi

You need to implement master calendar see below script:

https://community.qlik.com/t5/QlikView-Documents/Fiscal-and-Standard-Calendar-generation/ta-p/148082...

 

Regards

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.

View solution in original post

1 Reply
vikasmahajan

Hi

You need to implement master calendar see below script:

https://community.qlik.com/t5/QlikView-Documents/Fiscal-and-Standard-Calendar-generation/ta-p/148082...

 

Regards

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.