Answer
1. Create the following calculations:
- latest month of the latest year
{fixed: max(
if DATEPART('year', [Order Date])={fixed: max(DATEPART('year', [Order Date]))}
then DATEPART('month', [Order Date])
END)}
- latest day of the latest year
{fixed: max(
if DATEPART('year', [Order Date])={fixed: max(DATEPART('year', [Order Date]))}
and DATEPART('month', [Order Date])=[latest month of the latest year]
then DATEPART('day', [Order Date])
END)}
if DATEPART('month', [Order Date])=[latest month of the latest year]
then if DATEPART('day', [Order Date])<=[latest day of the latest year]
then [Sales] END
elseif DATEPART('month', [Order Date])<[latest month of the latest year]
then [Sales]
END
if attr(DATEPART('year', [Order Date]))=attr({fixed: max(DATEPART('year', [Order Date]))})
then ZN(SUM([Sales until latest day]))/LOOKUP(ZN(SUM([Sales until latest day])),-1)
else ZN(SUM([Sales]))/LOOKUP(ZN(SUM([Sales])),-1)
END
2. Add Year On Year Ratio to Text, right click the data field select Compute Using...

3. Computing using Year of Order Date.