cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stumac_31
Level: Powered On

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
Power Apps Staff ShantanuP
Power Apps Staff

Re: Add rows to table from within app

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
Power Apps Staff ShantanuP
Power Apps Staff

Re: Add rows to table from within app

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

Highlighted
mattcole19
Level: Powered On

Re: Add rows to table from within app

 

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,256)