📜  power bi 过去六个月 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:55.044000             🧑  作者: Mango

代码示例1
Sales (last N months) =
CALCULATE (
SUM ( Sales[Sales] ),
DATESINPERIOD ( ‘Date'[Date], MAX ( ‘Date'[Date] ), – [N Value], MONTH )
)