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.
CALENDAR and CALENDARAUTO DAX functions - Power BI Tutorial
From the course: Advanced Power BI: DAX Language, Formulas, and Calculations
CALENDAR and CALENDARAUTO DAX functions
- [Narrator] Date tables are very helpful for Power BI modeling because having contiguous dates lets us do many different time intelligence calculations and ensures that certain built-in modeling functionalities work like forecasting. One function we can use to create dates tables is calendar auto. Notice that the only parameter is an optional one for a non-standard calendar year. This is because this function creates a table, but it implicitly uses the dates already in the model tables behind the scenes to create a new dates table. If we want to set the specifics of the date range more exactly, we can use the calendar dax function, which returns a dates table between the specified start date, and the specified end date, which can both be measures returning dates. Let's add another table to our Power BI model first using the default options for the calendar auto dax function without any input parameters.…
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
-
-
-
-