web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Calculating summary to...
Power Apps
Unanswered

Calculating summary totals

(0) ShareShare
ReportReport
Posted on by 61
Hi. I have a timesheet app that works great with around 10 people entering their working hours on a daily basis. The timesheet is cleared down at the end of each week. I would like to add a summary page view that displays the total hours worked for each individual in the week. The 2 fields I have are 'Name' and 'Hours'. Using the groupby method I have a screen that lists each person with one or more entries in the excel data. However when I try to show the 'Hours' field it is blank and shows an error. I have tried the sum(thisitem.hours) command but it also gives an error. I use the following to total everyones hours: 
 
"Total Hrs "+Sum(BrowseGallery1.AllItemsHours). This formula works great for the total of all entries, but not for each individual.
 
What formula do I have to enter so that each persons total hours for the week is displayed? Thanks in advance.
Categories:
I have the same question (0)
  • RobElliott Profile Picture
    10,333 Super User 2025 Season 2 on at
    You use & not +. So it would be something like 
    "Total Hrs " & Sum(galHours.AllItems,Hours) & " hours"
     
     
     
  • BillZab Profile Picture
    61 on at
    Sorry, I should have explained better. There is nothing wrong with the formula I have shown it works as does the suggestion by RobElliot. But they both return the total for all items. I require the total for each individual person.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard