DAX code
YoY Growth % =
VAR CurrentSales = [Total Sales]
VAR PriorYearSales = [Previous Year Sales]
RETURN
DIVIDE(CurrentSales - PriorYearSales, PriorYearSales)
Compares current sales to the same period last year as a percentage change.
Type your table and column names once. Every measure below updates.
YoY Growth % =
VAR CurrentSales = [Total Sales]
VAR PriorYearSales = [Previous Year Sales]
RETURN
DIVIDE(CurrentSales - PriorYearSales, PriorYearSales)
Generate a Power BI date table
Depends on the Total Sales and Previous Year Sales measures from this library.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to YoY Growth %.