I have this dataset
weekday hour id duration
Sunday 1 1 20
Sunday 1 1 30
Sunday 1 2 10
I want to have average duration for weekday hour. The step is sum over the weekday, hour, id and then average it over weekday and hour. I want the result like this on the AWS Quicksight or maybe another BI tools
weekday hour averageDuration
Sunday 1 (20+30+10)/2