Please Help!!!
- My Query has this information: Name, Start Date, End Date
- I created a calculation to count the DateDiff between the Start/End Date.
- Also consolidated dates in one field like this: 01/01/11-01/01/12 for Start/End Dates.
- I need for to count the DateDiff only for the days that fall between Date() -365 and Date() +365. So if the -365th day or +365th day is in the middle of a range of dates I do not want days on the other side calculated.
- Next I need the 730 day window to slide to the right by one day everyday, so basically to compute the days - or + 365 as of the current date.
Last I need the total days difference for each person -730. So for example if a person had 3 events I will know how many days they were gone during a 730 day period using a sliding scale of -/+ 365 days.
Please help!!! I have racked my brain and I can't figure this out. Thanks in advance....
- My Query has this information: Name, Start Date, End Date
- I created a calculation to count the DateDiff between the Start/End Date.
- Also consolidated dates in one field like this: 01/01/11-01/01/12 for Start/End Dates.
- I need for to count the DateDiff only for the days that fall between Date() -365 and Date() +365. So if the -365th day or +365th day is in the middle of a range of dates I do not want days on the other side calculated.
- Next I need the 730 day window to slide to the right by one day everyday, so basically to compute the days - or + 365 as of the current date.
Last I need the total days difference for each person -730. So for example if a person had 3 events I will know how many days they were gone during a 730 day period using a sliding scale of -/+ 365 days.
Please help!!! I have racked my brain and I can't figure this out. Thanks in advance....
Last edited: