web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : APsszCbIvey3PC1H9uPIWJ
Power Apps - Building Power Apps
Answered

Room Booking Application Time range

Like (0) ShareShare
ReportReport
Posted on 9 Jun 2022 04:21:48 by 131

I have an issue with my room booking application. when someone Books a room I want to disable that range of time and also if someone else tries to book that same room including that same time range, It should be prevented. Ex:- (A) booked 9.00 to 10.00 and (B) trying to book 8.00 - 11.00 = "Should be Prevented"> How should those codes be done?

  • Verified answer
    Waegemma Profile Picture
    583 Super User 2024 Season 1 on 09 Jun 2022 at 05:26:24
    Re: Room Booking Application Time range

    Hi @jufguu ,

     

    Hope this gets you started:

     

     

    If(Not(IsEmpty(Filter(RoomsList, Location = DropDownLocation.Selected.Value && Date = DatePicker.SelectedDate && EndTime>DropDownEndTime.Selected.Value && StartTime<DropDownStartTime.Selected.Value))),Notify("Occupied"),Notify("Vacant"))

     

     

    Marc

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2