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.
GENERATE and ROW DAX functions with calculated dates tables - Power BI Tutorial
From the course: Advanced Power BI: DAX Language, Formulas, and Calculations
GENERATE and ROW DAX functions with calculated dates tables
- [Instructor] The date table functions like CALENDAR and CALENDARAUTO in DAX are very helpful in building Power BI models, because they create contiguous date ranges. However, there are scenarios when we may not want to include every date between two dates in our dates table. For example, if we only do calculations for the first or last day of the month, quarter or year. Other table manipulation functions that we can use in DAX table formulas include ROW which creates a table with a single row with columns defined by the expressions we set within this formula. GENERATE creates a single table from calculating the Cartesian product of two separate tables. The Cartesian product is a set theory concept in mathematics that we can apply to data modeling. Let's say we have a table with two sets denoted as set A and set B. The Cartesian product of these two sets is the resulting set of ordered pairs that we get from…
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
-
-