Hi I need assistance on a DAX formula. I would like to total last years sales to add back to my OH as of today.
This is what I have for calculating last years sales as of today. But I want the start date to be able to move as the month advances.
UNITS SOLD LAST YEAR:=CALCULATE('tblInvSkuMaster'[SALES TOTAL UNITS SOLD],DATESBETWEEN(dCalendar[dates],date(2016,5,26),TODAY()))
Thanks
This is what I have for calculating last years sales as of today. But I want the start date to be able to move as the month advances.
UNITS SOLD LAST YEAR:=CALCULATE('tblInvSkuMaster'[SALES TOTAL UNITS SOLD],DATESBETWEEN(dCalendar[dates],date(2016,5,26),TODAY()))
Thanks