Forum Discussion

Kurt4597's avatar
Kurt4597
Helper I
3 years ago
Solved

YoY on a graph

I am trying to create a year on graph from the following tables   Table 1: DateDim Table 2: Sales I will have the date on the datedim filter set as follows   and the g...
  • Syk's avatar
    3 years ago

    Your previous year measure would be something like this

    PY Sales = CALCULATE(SUM(Sales[Count]),DATEADD(Dim_date[Date],-1,year))