cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mattw112IG
Impactful Individual
Impactful Individual

How to calculate hours by week

I have a SharePoint list.

People fill out a form with basically tasks they did, the week ending dates and # of hours... some may only do 1 task and others may do multiple.

In my power app I want to show cumulative hours by week ending in either a gallery or data table or something.

I've been playing around trying to use "Distinct" and filtering on user().Fullname... but this doesnt seem to work.

Do I need to do some sort of collection? Or something?

 

Thanks,

Terry

1 REPLY 1
Drrickryp
Super User II
Super User II

@Mattw112IG 

You could use the GroupBy() function to separate out the Week and Worker, I tend to use this in the form of a gallery/subgallery.  For the documentation of the GroupBy() function see

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

For examples see

 https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/PowerApps-Gallery-SubGallery-using-Gr... 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (36,833)