Anouk Wilstra
03/06/2026, 10:50 AMkapa.ai
03/06/2026, 10:50 AMSELECT RUNSUM({metric}) ROWS BETWEEN 52 PRECEDING AND 1 PRECEDING) will only have as many rows available as the filtered dataset provides. [Rolling window]
• If the dashboard/visualization (or a hidden filter) restricts the date range to 2024, the engine cannot access 2023 rows, so the “52 weeks” window collapses to “all rows in 2024 so far”, which is why it effectively behaves like YTD.
From the available documentation:
• There is no MAQL keyword that bypasses parent filters for the underlying rows of a running total / rolling window. WITHOUT PARENT FILTER exists, but it still operates within the filtered dataset; it only controls which parent filters are applied, not access to data outside the final filter context. [Overriding parent filters; PARENT keywords]
• Similarly, there is no documented way to say “ignore the dashboard’s date filter for this metric, but still show the result on the same dashboard” in a way that would let the MAT metric read 2023 rows while the rest of the visualization is limited to 2024.
Given these constraints, the knowledge sources only suggest general patterns/workarounds in similar situations:
• Adjust the data / filters so that the needed history is actually present in the filtered dataset (for example, not restricting the date filter so tightly, or loading extra rows such as zeros to cover missing periods). [Rolling window; Slack – missing previous period]
• Or accept that when the client is technically restricted to 2024 data, MAT that depends on 2023 cannot be computed correctly and will effectively degrade to a partial-period metric.
So, within the documented capabilities:
• There is no better MAQL-only way to compute a true 52‑week MAT when the dashboard/visualization filters exclude those prior weeks.
• To get a correct MAT benchmark, you would need to either:
◦ Relax the date restriction so that the MAT metric can see at least 52 weeks of history, or
◦ Precompute MAT (or store historical aggregates) outside GoodData and expose them as facts that do not depend on the current date filter.
The documentation does not provide a more precise or alternative pattern for your use case beyond these general limitations. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups.
👀 Our Support team monitors all messages and will jump in if needed.Shamil Akhmadyshev
03/06/2026, 4:13 PMShamil Akhmadyshev
03/13/2026, 1:42 AM