Forum Discussion
nicolasdaudin
Aug 20, 2021Copper Contributor
Calculate Monthly Average on a Pivot Table
Hi, I have a table with all my daily expenses (that I extracted from my credit card reports). I made categories and subcategories for these expenses I created a Pivot Table to group these expenses ...
- Aug 25, 2021
That's for Windows:
- creating PivotTable you have an option to add data to data model
- in data model you have an option to add measures
- for above sample measure could be
which we may use in PivotTable.
I attached the file with the sample, you may try to open it. I'm not on Mac, but as I know it doesn't support such functionality. Perhaps something changes recently.
SergeiBaklan
Aug 21, 2021Diamond Contributor
So, instead of SUM(Values) / COUNT(Values) you need as average
SUM(Values) / COUNT(months in the period)
That's easy to do with data model
but afraid it's still not available for Excel on Mac.
mathetes
Aug 21, 2021Gold Contributor
So my solution (calculate average monthly off to the side) DOES work on the Mac, which is also the environment in which I work.