The error message says it all:
A column specified in the call to function 'SAMEPERIODLASTYEAR' is not of type DATE
You provide nothing else than the error message and a picture => Nobody will be able to help further than:
Go to your Data Model > For each table involved in your 'Sales OrderLines'[Quantity sold LY] measure check the Type of the various Date columns, they must be of type Date and not i.e. Text (highly probably the case for at least one of them)