Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Here we have found a simple way to find out the average sales for the calender month.
Calender Qunatity Sum =
Var startMonth = Date(Year(Today()),1,1)
Var EndMonth = EOMONTH ( TODAY (),-1)
Return
Calculate(SUMX(Table Name,Qunatiy Column),
Filter(All(Table Name),
'Date Table >= startMonth &&
'Date Table<= EndMonth
)
)
Calender Quantity Average =
Var Month = MONTH(TODAY()) - 1
return
divide(Calender Qunatity Sum,Month,0)
@Deepankar989P , Make sure you have month year columns
Calculate(SUMX(Values('Date Table'[month Year]),calculate(Sum('Date Table'[Qunatiy Column]))),
Filter(All('Date Table'),
'Date Table' >= startMonth &&
'Date Table'<= EndMonth
)
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
21 | |
21 | |
14 | |
14 |
User | Count |
---|---|
42 | |
39 | |
33 | |
19 | |
18 |