I have a graph which calculates the avg Daily sales number per month. This is calculated by dividing the total sales for the month by the number of workdays that country has had in the month. The formula looks like this:
This works fine on country level. But when I select a region (for example BeNeLux) instead of taking the average I takes a total. It has something to do with the avg workdays, because that should roll up (so not 22 as avg but 22+22+22 for 3 countries).
I tried the aggr function but I can't figure it out.