Find my approaches as reference below and stored in attached workbook version 10.3 located in the original thread.
1.1: Yesterday:if datediff('day',[date],today())=1 then [measure1] END
1.2: Yesterday -1: if datediff('day',[date],today())=2 then [measure1] END
1.3 Last two Days Diff: sum([Yesterday])-sum([Yesterday -1 ])
Last two days_nalmai_10.3.twbx 18.9 KB