Alex Gertman
06/21/2024, 3:40 PMFrancisco Antunes
06/21/2024, 4:02 PMSELECT RUNAVG (Cost) WITHIN (date.Quarter)
This will calculate the running average Cost per Quarter, which you can then slice by a Monthly Date dimension on the Analytical Designer; the WITHIN keyword will ensure that the calculation is contextualized by Quarters.
I would also recommend checking out the article Running Total Function in GoodData.CN (Sum vs Runsum) for more details about the Running Total function and how it can be used 🙂Alex Gertman
06/21/2024, 4:04 PMAlex Gertman
06/21/2024, 4:22 PM