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 / Group by Date and sum ...
Power Apps
Unanswered

Group by Date and sum hours

(0) ShareShare
ReportReport
Posted on by 169

Hello, I have a SP List with with collum name Debut that is the date and a collumn name DurMin (time of hours that the user  have worked on a task) that is number that I convert into hours and minutes, I want to have a screen with a week view with the days of the week and the sum of the hours that the user worked on the days, I would like too to see the total hours of work of the week of the user.

 

I don't really know how to do that I think I need to do with a group by and sum, So I have put a DataTable with two collumns and the code 

 

AddColumns(GroupBy('MSE ATELIERS';"D_x00e9_but";"dateGroup");"SumDuree";Text(Trunc(Sum(dateGroup;DurMin) / 60) ;
 "00") & ":"& Text(Trunc(Mod(Sum(dateGroup;DurMin);60));"00"))

 

But it just sum all the num of my collumn DurMin 

ScreenWeekView.png
Categories:
  • Dive1 Profile Picture
    169 on at

    I've tried to do it with Gallery too maybe it's more simple So i've Added three gallery one for days, one for the  date of the days and one for the sum of works of the days but this one don't work I think my formule is wrong

    Text(Trunc(Sum('MSE ATELIERS';DurMin) / 60) ;
     "00") & ":"& Text(Trunc(Mod(Sum('MSE ATELIERS';DurMin);60));"00")

    I would like it to be filter by user and only show for the days that it show on the screen

     

    I don't know what method is the more simple for my problem

    WeekViewWithGallery.png
  • Dive1 Profile Picture
    169 on at

    anyone know how to do it ?

  • Dive1 Profile Picture
    169 on at

    anyone can help ? 

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard