cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
helpneeded1
Helper III
Helper III

function to date picker

Is it possible to add condition to date pickers? So i have two datepickers, starting time and ending time. I'm supposed to have a feature that shows already booked times that cannot be selected. So user can only select the date on days other than booked ones. I got help las week but it gives me those dates that are not available to the dropdown. I maybe want that there is dates that are available on the dropdown. Thanks.

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @helpneeded1 ,

 

Do you want to get the records whose dates are available but the formula only return not available dates?

If so,  you can use "! function "negates the entire condition, for example:

Filter(DataSource;!(Original conditions))

vbofengmsft_0-1667352633276.png

Best Regards,

Bof

 

View solution in original post

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @helpneeded1 ,

 

Do you want to get the records whose dates are available but the formula only return not available dates?

If so,  you can use "! function "negates the entire condition, for example:

Filter(DataSource;!(Original conditions))

vbofengmsft_0-1667352633276.png

Best Regards,

Bof

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,637)