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 ...
Tahreem24
4 years agoSuper User
GlitchedDuck, Better to share the dummy data here (not screen shot) to understand your need.
- GlitchedDuck4 years agoFrequent Visitor
Created_Date Invoice_Number 24/03/2022 1 24/03/2022 2 24/03/2022 3 24/03/2022 4 24/03/2022 5 24/03/2022 6 23/03/2022 7 23/03/2022 8 23/03/2022 9 22/03/2022 10 22/03/2022 11 22/03/2022 12 22/03/2022 13 22/03/2022 14 21/03/2022 15 21/03/2022 16 21/03/2022 17 21/03/2022 18 21/03/2022 19 - Tahreem244 years agoSuper User
johnt75 Create one seperate Calendar table like below:
Calendar = CALENDAR(MIN(CreatedDate),MAX(CreatedDate))
Then create a different columns under this table:
MONTH = MONTH(Calendar[Date])
YEAR = YEAR(Calendar[Date])
DAY = DAY(Calendar[Date])
Then create a below Measures under your invoice table,
Avg Invoice per Month = CALCULATE(SUM(InvoiceTable[Invoice_Number]),ALLSELECTED('Calendar'[Month]))Like wise just create for DAY and Year measure by chahing the ALLSELECTED funtion respectively.