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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Booking holidays

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone, im new in this amazing world of powerapps, im trying to create a new app to reserve an specific date with a maximun limit per date. The first parte i made it with a sharepoint form with the dates and areas of my employees, but i dpnt know how to limit the spaces available per date. Example:

 

I have 10 spaces available from jan 1st to jan 15th, i want that when an employee select thks dates update automatically the quotes available. 

 

Thanks in advance for your help

Categories:
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    What does your data source look like where you are saving this information?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I only got this colums, employee, initial date, final date, wich area the employee belongs.

    Screenshot_20210127-132003_Chrome.jpg
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    What I would do, when an employee selects a date, create a filtered collection from the data source for that date, then use something like this:

     

    If(

     

    CountRows(Collection) >= 10, then do something

     

    You could have a warning label saying that the date is filled and set the visible property to:

     

    If(

      CountRows(Collection) >= 10, true, false)

     

    )  And use the same to set the Submit button display mode to Disabled.

  • Verified answer
    JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Did this solve your issue or can I assist more?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard