Forum Discussion
GlitchedDuck
4 years agoFrequent Visitor
Average Count Per Day/Week/Month Card
Hi All, I'm trying to create a few card visualization that shows average amount of invoices per Day/Week/Month. In my data i have created_date, Invoice_Number and want to show the average in ...
johnt75
4 years agoSuper User
Average per day = AVERAGEX( ADDCOLUMNS( VALUES(date_dim[full_date - No Time]),
"@val", CALCULATE([Invoice Count]) ), [@val])
Average per month = AVERAGEX( ADDCOLUMNS( SUMMARIZE( date_dim, date_dim[Year month]),
"@val", CALCULATE([Invoice Count]) ), [@val])