I am accessing data via direct query into a data cube.
There are two different date measures held in the data. The first is the date of sale. The second is the date that the service will be provided (i.e. including future dates). Both date measures have data held at individual date level, as well as month name and calendar year name.
I need to be able to display YOY revenue for a future service delivery date - say June, based on sales up until today and this date last year.
I've tried various different approaches including:
FILTER - works to create YOY only for service dates in the past, not future
SAMEPERIODLASTYEAR - I haven't been able to solve the contiguous date issue and have tried suggestions on this forum