Sameperiodlastyear in DAX Power bi
In DAX, the SAMEPERIODLASTYEAR function is used to compare values from the same period in the previous year. This is particularly useful for year-over-year (YoY) analysis, allowing you to compare, for instance, the sales of May 2024 with the sales of May 2023. Syntax DAX Implementation Example Let’s implement a measure using the SAMEPERIODLASTYEAR function …