📅  最后修改于: 2022-03-11 14:57:38.885000             🧑  作者: Mango
TotalSales30Day =
CALCULATE (
SUM ( Orders[Quantity] ),
DATESINPERIOD ( Orders[OrderDate], MAX ( Orders[OrderDate] ), -30, DAY )
)