Forum Discussion
madlfc87
Helper I
2 years agoAverage per day by month
Hello, I would like to calculate the average per day for each month for the following measure. Days Test = COUNTX(ADDCOLUMNS(GENERATE('tblHolidayDates_all locations',DATESBETWEEN('Calendar'[...
- 2 years ago
I will ignore these first couple rows?
lbendlin
Super User
2 years agobut I believe it averages over all the rows of the month not all the days.
Add an intermediate step with SUMMARIZE or SUMMARIZECOLUMNS that pre-aggregates your data by day.
madlfc87
Helper I
2 years agoThank you for your reply. Could you be a bit more specific please?
- lbendlin2 years ago
Super User
Please provide a smaller sample file. Yours is way too big.
- madlfc872 years ago
Helper I
The below is a screenshot of the table tblHolidayDates_all locations
and the below is a screenshot of the table Calendar
Appreciate your help
- lbendlin2 years ago
Super User
Touche. I should have specified that I cannot work with screenshots. Please provide sample data that fully covers your issue but not more, in a usable format.
Please show the expected outcome based on the sample data you provided.