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 Platform Community / Forums / Power Apps / Fixed amount of regist...
Power Apps
Answered

Fixed amount of registrations per day

(0) ShareShare
ReportReport
Posted on by 30

Hello, I'm Trying to build this desk reservation app on Power apps, very simple, in order for people to reserve their space in the office but we have a limit that we can have per day in the office, can i restrict the number of entries done per day so that day gets greyed out or not available after it has surpass x amount of people registered.

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @miroones ,

     

    If you use sharepoint list as your datasource, you could create a list. The list stores all the offices and the number of uses. 

    Another list is used to collect user registration history.

     

    If(CountRows(Filter(Another_list,Office_Name = "***"&& Your_registration_date_column= Today()))=LookUp(Office_List,Office_Name="***").Total_Number,false,true)

     

    Best Regards,

    Wearsky

  • miroones Profile Picture
    30 on at

    Yes, I use sharepoint as my datasource and these are the colums I have created. We want the app to enter the information in Sharepoint that is entered by the user but we want to limit x amount of people per day to be in the office.

     

    miroones_0-1634300791492.png

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @miroones ,

     

    Please try my formula. I think my formula works for you. 

     

    Best Regards,

    Wearsky

     

  • miroones Profile Picture
    30 on at

    I would like to try your formula but your formula uses two lists, I only use one list in sharepoint, If you can help me adapt it to my list. I would use it definetely.

     

    My list has these fields

    Employee Name

    Supervisor

    Supervisor Email

    Reservation Date

    Office

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @miroones ,

     

    If you only have one table, how to know the maximum number of times users can apply for a certain office?

    Do you have a table to store the number of applications for all offices daily ?

     

    Best Regards,

    Wearsky

  • miroones Profile Picture
    30 on at

    My List in sharepoint stores whats entered in the app,  which includes the information of the office and who reserved it and the date, I don't know, what I want is to limit the amount of reservations per day  and office to 7. Whether they are going to office 1 or office 2 only 7 reservations can be made per office per day.

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @miroones ,

     

    I did a test for you.

    vxiaochenmsft_0-1634778590742.png

    vxiaochenmsft_1-1634778608947.png

     

    If(CountRows(Filter(LIST179,Title=TextInput1.Text,My_Date_Column=Today()))>=7,DisplayMode.Disabled,DisplayMode.Edit)

     

    Best Regards,

    Wearsky

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard