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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Booking System for Gym
Power Apps
Answered

Booking System for Gym

(0) ShareShare
ReportReport
Posted on by 22

TrucoBen123_0-1642656919296.png

I am new to power apps and would like to create a simple booking system for a gym. How do you save this submission to a excel sheet with the time slots and date in a excel file. Thanks.

 

Categories:
I have the same question (0)
  • Verified answer
    v-JessicaG-msft Profile Picture
    on at

    Hi @TrucoBen123 ,

     

    Using Excel files in Power Apps requires converting the data into table format, and you could upload the Excel files to OneDrive or SharePoint to connect it.

    vJessicaGmsft_0-1643011109324.png

    vJessicaGmsft_1-1643011122263.png

     

    1. You could use a formula in the "OnSelect" property of the button control, and use the "Patch" function in the formula to add the selected "time slots" control and "date" control value to the specified column in the excel file.

    vJessicaGmsft_2-1643011149777.png

    vJessicaGmsft_4-1643011209815.png
     

    formula:

    Time(Value(startHourValue.Selected.Value), Value(startMinuteValue.Selected.Value), 0) & "-" &Time(Value(endHourValue.Selected.Value), Value(endMinuteValue.Selected.Value), 0)
    
    
    
    Patch(Table1, Defaults(Table1), { Dates:dates.Text,'Time slots':timeslots.Text})

     

    2. You could also add controls that select the "time slots" value and "date" value to the Form contro,l and use the "Submitform" function in button control to add data to the excel data source.

    vJessicaGmsft_5-1643011245706.png

     

    results:

    vJessicaGmsft_6-1643011245704.png

     

    For the usage of controls and functions, please refer to the following links:
     

    Best Regards,

    Jessica Gu

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard