Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
alespooletto
Creator II
Creator II

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