Need an easy way to test for overlapping date ranges (and DateRange data type)

I revisited this today to help someone filter a Gantt chart. Thank you again for posting!

I added a “Choose Date Range” control that was the Date Range type. Then I used this formula in the table filter. There is a +1 to include the last day of a task in the filter.

Max(
  Min([Choose Date Range].Last(), thisRow.End.ToDate())
  -
  Max([Choose Date Range].First(), thisRow.Start.ToDate()) + Days(1),
  0
) > 0

Here’s an example to check out…

4 Likes