Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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