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.
DAX ruler using FIRSTDATE, LASTDATE, and PARALLELPERIOD DAX functions - Power BI Tutorial
From the course: Advanced Power BI: DAX Language, Formulas, and Calculations
DAX ruler using FIRSTDATE, LASTDATE, and PARALLELPERIOD DAX functions
- [Instructor] The key for using DAX measures is that we want to filter the data first, then apply the calculation to those filtered rows. Let's think of DAX calculations from a certain point along a ruler. Let's specifically focus on time intelligence calculations at this example. So when we stand at a point along this ruler, let's say our pivot coordinates are a single date along a timeframe. From this point on the ruler, we can change how we're calculating the result at that point in time. One way we can change our filtering is by moving to another point along the ruler. Another way we can change the pivot coordinates for evaluating a DAX measure is by expanding the ruler to include more points than where we're currently standing at. This increases the filter range that we're calculating the results over. We can also combine these actions so we both move to new point and expand the points around that new point, or…
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
-
-
-
-
DAX tables and GENERATESERIES2m 58s
-
(Locked)
DAX columns2m 43s
-
(Locked)
DAX measures3m 41s
-
(Locked)
DATE, YEAR, MONTH, and DAY date DAX functions3m 14s
-
(Locked)
CALENDAR and CALENDARAUTO DAX functions3m
-
(Locked)
DAX measure evaluation context10m 33s
-
(Locked)
CALCULATE DAX function6m 17s
-
(Locked)
DAX ruler using FIRSTDATE, LASTDATE, and PARALLELPERIOD DAX functions5m 58s
-
(Locked)
Challenge: Crop modeling1m 10s
-
(Locked)
Solution: Crop modeling4m 32s
-
-
-
-