Time-based aggregations
Last updated
Was this helpful?
Was this helpful?
AGGREGATE([Sales], DATE(2025,4,1), DATE(2025,7,31), "MEDIAN")MOVINGAVERAGE(measure, startDate, endDate)MOVINGAVERAGE([Sales], COLUMN.CURRENT_PERIOD, SHIFT(COLUMN.CURRENT_PERIOD, "2M"))MOVINGAVERAGE([Sales], DATE(2025,4,1), DATE(2025,8,31))MOVINGAVERAGE([Forecast], [Forecast].OPEN_START, [Forecast].OPEN_END)MOVINGSUM(measure, startDate, endDate)MOVINGSUM([Sales], COLUMN.CURRENT_PERIOD, SHIFT(COLUMN.CURRENT_PERIOD, "2M"))MOVINGSUM([Sales], DATE(2024,4,1), DATE(2024,8,31))MOVINGSUM([Forecast], [Forecast].OPEN_START, [Forecast].OPEN_END)