From the course: Advanced Power BI: DAX Language, Formulas, and Calculations
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
EOMONTH DAX function - Power BI Tutorial
From the course: Advanced Power BI: DAX Language, Formulas, and Calculations
EOMONTH DAX function
- Time intelligence and date calculations are one of the big strengths of DAX. One function I find quite useful is the EOM month function, which is shorthand for end of the month. It takes an input date as the first parameter. The second parameter of this function specifies how many months we want to move the date at the end of the month, forward or backwards. One example of why we might want to move our dates in a Power BI model around is to match up the timelines of dates that otherwise don't align. For example, the interest rate we selected based on the user controlled input in the date slicer returns dates on a weekly frequency. The dates we're using to calculate the Model 2 Loan measures though, use the first date of the month. They're not connected to the selected date measure in the user controlled slicer, which references the interest rate table. We want our loan to start on the first day of the next month after…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
SELECTEDVALUE DAX function6m 22s
-
(Locked)
IF DAX function for conditional formulas6m 46s
-
(Locked)
EOMONTH DAX function4m 49s
-
(Locked)
DATEDIFF DAX function4m 34s
-
(Locked)
BLANK and ISBLANK DAX functions6m 33s
-
(Locked)
Filtering between tables5m 10s
-
(Locked)
DAX acrobatics6m 18s
-
(Locked)
GENERATE and ROW DAX functions with calculated dates tables7m 43s
-
(Locked)
DATESBETWEEN DAX function4m 1s
-
(Locked)
DATEADD DAX function4m
-
(Locked)
MTD, QTD, and YTD date DAX functions4m 1s
-
(Locked)
DAX quick measures6m 22s
-
(Locked)
Power BI summarized view5m 43s
-
(Locked)
Challenge: DAX time intelligence modeling27s
-
(Locked)
Solution: DAX time intelligence modeling3m 32s
-
-