cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stumac_31
Helper III
Helper III

Add rows to table from within app

Dear all

 

Looking for some advice.

 

I have developed a timesheet app for my staff. Its connected to an excel sheet via OneDrive for Business.

The excel sheet has one row for each day of the year and has 7 columns against which time can be logged.

For 6 of these columns, projects are selected from tables of company-wide projects via dropdown menus. So far so good.

 

For the last column, I want projects to be selected from a user-defined table, from within the app.

Ideally, I would have one screen within the app where the user has a table of their own personal projects. This table would then feed a dropdown in the timesheet editscreen. 

 

I have tried to insert a new screen, added a datatable, but this is just a static table and I cant work out how the user would add rows/edit rows of this table. It doesn't look like this is the right solution, but all help files point me in this direction. I want the user to be able to type in new entries and remove entries from this user defined table, so that when they need to log time against the 7th column, they can choose from their personal projects in dropdown menu.

 

Any advice if that makes any sense...

1 ACCEPTED SOLUTION

Accepted Solutions
ShantanuP
Power Apps
Power Apps

Have you looked at creating and updating collections in PowerApps?

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/create-update-collection

 

You will need to patch the original table with user selected value for the project to update the last column of the project table.

You can read more about patch at below link:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-patch

 

View solution in original post

2 REPLIES 2
ShantanuP
Power Apps
Power Apps

Have you looked at creating and updating collections in PowerApps?

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/create-update-collection

 

You will need to patch the original table with user selected value for the project to update the last column of the project table.

You can read more about patch at below link:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-patch

 

View solution in original post

 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,820)