January 2020
Beginner to intermediate
402 pages
8h 40m
English
The EOMONTH function is like the EDATE function except that it will return the last date of the month where the specified number of months is before or after the given start date.
The syntax of the EOMONTH function is as follows:
EOMONTH ( <StartDate>, <Months> )
The first parameter is a date in datetime or text format that represents the start date. The second parameter represents the number of months before or after the start date to return.
Again, let's illustrate this by creating a new measure using the following DAX expression:
EOMONTH Example =EOMONTH( DATE ( 2019, 12, 15 ), -2)
This will then give the result shown in Figure 8-3:
Even though both the EDATE and EOMONTH functions ...
Read now
Unlock full access