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 / 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
Vish WR Profile Picture

Vish WR 482

#3
WarrenBelz Profile Picture

WarrenBelz 384 Most Valuable Professional

Last 30 days Overall leaderboard