Time-intelligence functions are group of DAX functions that give you insights from different time dimensions.
In this video, you’ll learn how to use the SAMEPERIODLASTYEAR, YTD and MTD functions inside the CALCULATE.
It is important to remember that before you can use any DAX time-intelligence functions, you must have a proper date dimension in your data model (e.g. a calendar table).
Learn how to build a calendar table using DAX in the video below: