Here's an example using the AdventureWorksDW data set.
EVALUATE(
CALCULATETABLE(
ADDCOLUMNS(
'Internet Sales'
,"Order Calendar Year"
,CALCULATE(VALUES('Date'[Calendar Year]))
,"Ship Calendar Year"
,CALCULATE(
VALUES('Date'[Calendar Year])
,FILTER(
'Date'
,'Date'[DateKey] = 'Internet Sales'[ShipDateKey]
)
)
,"Due Calendar Year"
,CALCULATE(
VALUES('Date'[Calendar Year])
,FILTER(
'Date'
,'Date'[DateKey] = 'Internet Sales'[DueDateKey]
)
)
)
)