首先,我使用Power Query (M)创建时间点(例如Table.AddColumn(#"Changed Type", "Minutes to One Year Before Transplant", each Number.Abs(Duration.TotalMinutes(([Lab Date] - DateTime.From(Date.AddYears([Transplant Date],[Episode ID]
VAR TargetDate = DATEADD(Patients[Transplant