DAX Function Guide

TOTALMTD
Empty image or helper icon

Sam McKay

CEO & Founder

How does the TOTALMTD 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?

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

Loading

Considerations when using the TOTALMTD?

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

Loading

Formula examples using the TOTALMTD

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

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

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

Related Courses

Loading