Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
alespooletto
Creator
Creator

Using aggregate with Sum measure and for each employee doesn't work

I am trying to get an average sum of hours worked for each employee across all dates in a dashboard. This is only for 2024, but when I show it it gives me an average of 307. 

 

THe formula I am using 

```

AvG(Aggr({< Weekday = {'Lu', 'Ma', 'Me', 'Gi','Ve'}, Employee=>} Sum(Duration), Date))

```

 

Can anybody help me work this out?

alespooletto_0-1709642808735.png

 

Labels (1)
1 Solution

Accepted Solutions
Antoine04
Partner - Creator III
Partner - Creator III

Hello what about that ?

- AvG(Aggr({< Weekday = {'Lu', 'Ma', 'Me', 'Gi','Ve'}, Employee=>} Sum(Duration), Date, Employee))

Regards

View solution in original post

1 Reply
Antoine04
Partner - Creator III
Partner - Creator III

Hello what about that ?

- AvG(Aggr({< Weekday = {'Lu', 'Ma', 'Me', 'Gi','Ve'}, Employee=>} Sum(Duration), Date, Employee))

Regards