How does the TOTALMTD function (DAX) work?

The TOTALMTD function (DAX) evaluates the value of the expression for the month to date, in the current context.

TOTALMTD Formula Syntax


How do you use the TOTALMTD function?

This function will evaluate the specified expression over the interval which begins on the first of the month and ends with the last date in the specified date column after applying specified filters.

Related Blog Posts

Related Support Forum Posts

YTD Showing for Months after Last Sale
Month To Date Comparisons
MTD & MTD LY Calculation

Considerations when using the TOTALMTD function

The dates argument can be any of the following:

  • A reference to a date/time column.
  • A table expression that returns a single column of date/time values.
  • A Boolean expression that defines a single-column table of date/time values.

Related Video Tutorials

Formula examples using the TOTALMTD function


Month Running Sum:= TOTALMTD (SUM (Sales[Sales Amount]),Sales[Date])

MTD = TOTALMTD(SUM(Weblog[PageViews]),DimDate[Date])

Related DAX Functions


Related Course Modules



Download our comprehensive DAX Formula Reference Guide as perfect companion as you learn how to use DAX formulas within Power BI.

Download DAX Formulas Reference Guide
Download DAX Formula Reference Guide