Forum Discussion
AOD
Helper III
5 years ago7 Days Rolling calculation
Hi All, Need help in calculating 7 days rolling DAX formula based on Value field. Thanks in advance for helping.
- 5 years ago
Hi AOD
It depends what you want to achieve, but you can use dateadd, datesinperiod, etc functions for getting your results.
Thanks,
Ankit
AnkitKukreja
Super User
5 years agoHi AOD
It depends what you want to achieve, but you can use dateadd, datesinperiod, etc functions for getting your results.
Thanks,
Ankit
- AOD5 years ago
Helper III
Thanks. Got it resolved with below DAXMoving sum = CALCULATE(SUM(Sheet1[Value ]),DATESINPERIOD(Sheet1[Column3],LASTDATE(Sheet1[Column3]),-7,DAY))