Computing MTD, QTD, YTD in Power BI for the current period

How to use the DAX time intelligence calculations applied to the latest period available in the data, also known as the “current” period.