TOTALMTD Function (DAX)

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

TOTALMTD(
     <expression>,<dates>[,<filter>]
)

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

=TOTALMTD(SUM(InternetSales_USD[SalesAmount_USD]),DateTime[DateKey])

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

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

Related DAX Functions

ALL
CALCULATE

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI

DOWNLOAD

To access our comprehensive DAX formula reference guide just insert your email address below. The resource will download immediately and we’ll also email it to you.