Forum Discussion
chrisvdwal
7 years agoNew Member
Average per day
Hi, seems too simple but I can't work this out.... I'd like to create a column with DAX that is the average of a column per day. Sample data date value 1/1/2019 1 1/1/2019 ...
- Anonymous7 years ago
hii chrisvdwal
Try this ..
Average =CALCULATE (AVERAGE(Table1[value] ),FILTER ( ALLSELECTED ( Table1 ), Table1[date ]=EARLIER(Table1[date ])))
Anonymous
7 years agoNot applicable
hii chrisvdwal
Try this ..
Average =
CALCULATE (
AVERAGE(Table1[value] ),
FILTER ( ALLSELECTED ( Table1 ), Table1[date ]=EARLIER(Table1[date ]
)))
- chrisvdwal7 years agoNew Member
Thanks Anonymous, appreciate the help
I thought I had tried that, but another crack at it and it worked.
Thanks again