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 / Adding multiple entrie...
Power Apps
Answered

Adding multiple entries within app

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

I am creating an app that allows people to add in activities of the day, they have already logged in their details, but now  they are adding in more activities from during the day and what I am trying to do is that if they add in more activities that those input will be stored in for that particular date, so everyday they would have several inputs for each day but are stored in their respective dates.

It would look like this, this from the SharePoint list created and I grouped by Employee and Start time:

 

Screenshot (17).pngScreenshot (18).png

 

Here on the app, you can see several dates that the staff has worked on so what I want to achieve is that within those date they can store several inputs and edit it when needed, how would I be able to work that. Basically the same format as the SharePoint List.

Screenshot (25).png

 

It's quite obvious I would have toad several screens, if so how would I configure it so that it would be visible on the SharePoint list.

 

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you please share a bit more about your scenario?

    Do you want to add multiple entries once time within your canvas app rather than one by one?

     

    Based on the needs that you mentioned, I think the "Repeating Table" functionality could achieve your needs. Please check and see if the following article would help in your scenario:

    https://www.youtube.com/watch?v=xgznk4XlPCo&t=1260s

    https://www.youtube.com/watch?v=DylxsXIUyDc&t=8s

     

    I have made a test on my side, you could consider add a another screen within your app, then add a Gallery control in it, configure it as repeating table as below:

    3.JPG

     

    On your side, you should add another screen (called "EventBrowseScreen") in your app to list all related events for the selected date within the TimeSheet Gallery. Within this EventScreen, add a Gallery (EventsGallery), set the Items property to following:

    Filter('Events List', Text('Start Time', "yyyymmdd") = Text(TimeSheetGallery.Selected.'Start Time',"yyyymmdd"))

    within this EventsGallery, add a "Edit" icon, click it to navigate to another new screen (called "EditEventScreen"), within this EditEventScreen, add a Edit form, connect it to your Events SP List, then set the Item property to following:

    EventsGallery.Selected

    add a "Submit" button within this EditEventScreen, to submit your form data back to your Events List.

     

    Within the EventsBrowseScreen, add a "+" icon, click it to navigate to "NewEventScreen",  within this screen, add a Gallery and configure it as a Repeating table as above screenshot mentioned. Set the OnVisible property of the "NewEventScreen" to following:

    ClearCollect(TempCollection, 1)

    Set the OnSelect property of the "Add New Entry" button to following:

    Collect(TempCollection,1)

    Set the OnSelect property of the "Patch Events" button to following:

    // Patch all events Entry within this Gallery back to your Events List
    ForAll(
     Gallery1.AllItems, 
     Patch(
     'Events List', 
     Defaults('Events List'), 
     {
     Title: TextInput1.Text, 
     Executor: ComboBox1.Selected,
     ...
     }
     )
    )

    Note: The ComboBox controls in this Gallery have been bind to Person or Choice type column in my Event List. You should bind it to the Person or Choice field in your own Events List:

    4.JPG

     

     

    Best regards,

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard