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

Announcements

News and Announcements icon
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,527 Super User 2026 Season 1 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard