Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
)
)
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |