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.
Hello, everybody
Is there any dax command where I can see the total amount for the current month?.
Many thanks,
Solved! Go to Solution.
Hi @Suman8877
Yes, you can calculate the total for the current month using a measure like this:
CurrentMonthAmount =
CALCULATE(
SUM('Sales'[Amount]),
FILTER(
ALL('Date'),
MONTH('Date'[Date]) = MONTH(TODAY()) &&
YEAR('Date'[Date]) = YEAR(TODAY())
)
)
Hi,
what you have in DAX is a set of funtions to get the end of month in terms of dates
The last one can be used in a CALCULATE statement as filter as it returns a table
example
CALCULATE ( [Sales Amount], ENDOFMONTH ( Dates[Date] ) )
If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your thread
Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page
Consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
Hi,
what you have in DAX is a set of funtions to get the end of month in terms of dates
The last one can be used in a CALCULATE statement as filter as it returns a table
example
CALCULATE ( [Sales Amount], ENDOFMONTH ( Dates[Date] ) )
If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your thread
Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page
Consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
Hi @Suman8877
Yes, you can calculate the total for the current month using a measure like this:
CurrentMonthAmount =
CALCULATE(
SUM('Sales'[Amount]),
FILTER(
ALL('Date'),
MONTH('Date'[Date]) = MONTH(TODAY()) &&
YEAR('Date'[Date]) = YEAR(TODAY())
)
)