Forum Discussion
Anonymous
7 years agoNot applicable
7 Day Moving Average not working correctly
Hi All, I am creating a report using SSAS Tabular live connection. Client wants to report all the measures should be created in cube itself. I tried 7 Day Avg below measure in cube, it is not giv...
- 7 years ago
Hi Anonymous,
It looks like a context issue. If you put the [GasProduction(sum)] and the [Rolling 7 day SUM] along with the [Production Date], I think you will get the right result.
I would still suggest you create a date table. The dates in the visual will be from this table.
Calendar = calendar(date(2010, 1,1), date(2019, 12, 31))
Best Regards,
Greg_Deckler
Community Champion
7 years agoSee if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008
- Anonymous7 years agoNot applicable
Hi Greg, Thanks for your reply. My scenario is different, problem still exists same.