Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
rosey13478
Contributor II
Contributor II

Average across months in a pivot table

Hi,

I'm trying to show an average activity figure across YTD months either replacing the total that you get from a partial sum or as well as (see excel example below)

LocationApr-16May-16Jun-16Jul-16Aug-16Sep-16Oct-16TotalAverage
Site A252320811491415021
Site B89819479106159125733105
Site C919711011513711586751107
Site D8181281812159113

I've read a fair amount that suggests you can do this at row total level, but haven't yet worked out how to do this at column level, if it is indeed possible.

Sorry if this has been discussed elsewhere, I've not been able to find the answer I need yet!

1 Solution

Accepted Solutions
sunny_talwar

Replacing the total should be easy. Try this

Avg(Aggr(YourExpression, Location, MonthYear))

View solution in original post

3 Replies
sunny_talwar

Replacing the total should be easy. Try this

Avg(Aggr(YourExpression, Location, MonthYear))

rosey13478
Contributor II
Contributor II
Author

So this gives me 'averages' of:

Site A - 6

Site B - 31

Site C - 31

Site D - 4

Which is slightly where I got to earlier, but I've no idea what those numbers relate to, unless it's giving me the average per month, rather than of the 7 months combined?

sunny_talwar

Not sure what the issue is?

Capture.PNG