📅  最后修改于: 2022-03-11 14:56:43.583000             🧑  作者: Mango
7 Day Moving Average =
AVERAGEX (
FILTER (
ALL ( 'DateTable' ),
'DateTable'[FullDateAlternateKey] > ( MAX ('DateTable'[FullDateAlternateKey] ) - 7 ) &&
'DateTable'[FullDateAlternateKey] > <= MAX ('DateTable'[FullDateAlternateKey] )
),
[Profit])