Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Room Booking Application Time range

(0) ShareShare
ReportReport
Posted on 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 at
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard