Forum Discussion
monojchakrab
Resolver III
4 years agoAdd date filter to 7 day moving average formula
Hiya All, I have a 7 day moving average code as shown below : 7 day MA =
CALCULATE(
AVERAGEX(SUMMARIZE('Date Table', 'Date Table'[Date]),
'Measures tray'[Total Sales]),
...
PC2790
Community Champion
4 years agoDid you try using the date from your Fact table instead of Dates Table?
As in LASTDATE(DatefromFactTable)