icon picker
Has Available

Formula Code

HasAvailable(selectedFrom:Date,selectedTo:Date,from:Date,to:Date):Boolean = Or(selectedFrom >= from && selectedTo <= to,selectedFrom <= from && selectedTo <= to,from > selectedFrom && to < selectedTo,selectedFrom >= from && selectedFrom <= to);

Eye on Detail

Mostly, we play with Date functions in Power Apps. In this function we use
function that helps you to combine all comparisons of selected date from/to with your default period, like between first and last day of a month.

Demo

Screenshot 2025-10-01 at 17.09.45.png

Output

Screenshot 2025-10-01 at 17.43.48.png


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.