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
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
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
200 | |
69 | |
50 | |
49 | |
20 |
User | Count |
---|---|
261 | |
122 | |
85 | |
78 | |
72 |