I'm trying to create a YTD DAX statement that gives me the parallel period from last year until a specific date.
Currently I have :
SumQty = SUM('Order Table'[Quantity])
YTD LY = CALCULATE([SumQty];PARALLELPERIOD('DIM Dates'[Date];-12;MONTH))
But this calculates me values for the whole last year instead of from January till August(now)
So in the end i need a Table which shows me the Qunatity of every month compared to the quantity last year in the same time period.
Any ideas?