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 Apps
Answered

Sum work houers

(0) ShareShare
ReportReport
Posted on by 105

I have a list in sharepoint an want to display sum of users workhouers pr. project for logedin user.

The table look like this:

timer.PNG

When user1 start the app i want to display in a gallery, his workhouers.

like this

Gallery.PNG

Any ideas?

 

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Langemyr 

    You can utilize the GroupBy function for this and then add a column to your resultant table with the sum.

    Ex.

    AddColumns(
     GroupBy(
     Filter(yourDataTable, user=loggedInUserName),
     "user",
     "_recs"
     ),
     "hourSum", Sum(_recs, hours)
    )

     

    I hope this is helpful for you.

  • Langemyr Profile Picture
    105 on at

    Fantasic 🙂

    but i gruped by project 😉

  • Langemyr Profile Picture
    105 on at

    now im going to sort witch projects i have worked on an how many houers each day 😉

    weekdays.PNG

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Langemyr 

    Yes, sorry, I meant to group by Project and not user.

     

    For the daily sums, you will need to employ the same grouping concept except you will group on the Date instead.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard