Hey Everyone,
I came across steves document on the “Validate Non-Overlapping Date Range” in his AND() guide.
AND(
([End] > [Start]),
(COUNT(
FILTER(
“MyTable”,
OR(
AND(
([Start] >= [_THISROW].[Start]),
([Start] <= [_THISROW].[End])
),
AND(
([End] >= [_THISROW].[Start]),
([End] <= [_THISROW].[End])
)
AND(
([Start] < [_THISROW].[Start]),
([End] > [_THISROW].[End])
)
)
)
) = 0)
)
I would love to use this as a base for my app in booking sessions for clients.
Now the question is, if i wanted to use both date and time as a variable would it best to create two further columns with date and start timeconcatenated and date and end time concatenated, or does anyone know how i could start to build an expression to include the start and end times into this expression.
Regards
Ben