Forum Discussion
mcmullenrich
4 years agoFrequent Visitor
Average $ per weekday
I have a table of cash receipts with a date column (i.e., 1/1/2022...4/4/2022). I'd like to calculate the average amount received by week day. So if there were 3 Mondays in the date range and the tot...
- 4 years ago
Hi mcmullenrich
Sorry for the late reply. Here is the workable solution as per sample sampleAverage of Amt := DIVIDE ( SUM ( Combined[Amount] ), COUNTROWS ( FILTER ( 'Calendar', NOT ISBLANK ( Combined[Sum of Amt] ) ) ) )
mcmullenrich
4 years agoFrequent Visitor
This feels a bit like I cheated, but it did get me the result that I wanted:
Average per Weekday :=
DIVIDE ( [Sum of Amt], MAX ( Combined[WeekNo] ) - MIN ( Combined[WeekNo] ) + 1 )
tamerj1
4 years agoCommunity Champion
Hi mcmullenrich
Sorry for the late reply. Here is the workable solution as per sample sample
Average of Amt :=
DIVIDE (
SUM ( Combined[Amount] ),
COUNTROWS ( FILTER ( 'Calendar', NOT ISBLANK ( Combined[Sum of Amt] ) ) )
)