Thomas Karbe
11/19/2025, 1:04 PMkapa.ai
11/19/2025, 1:04 PMRUNSUM, but only over one date dimension. Running-total functions work on a single date dimension and can be further scoped with WITHIN (e.g. month, quarter). They can’t run simultaneously over both “Confirmed At” and “Paid At” in the same metric. [[Running totals core](https://www.gooddata.com/docs/cloud/create-metrics/maql/runing-totals/running-totals-for-core-functions/); [Running totals intro](https://www.gooddata.com/docs/cloud/create-metrics/maql/runing-totals/)] So in your table that has both dates, you can: - Pick one of them (say Confirmed At) as the running-total axis: maql SELECT RUNSUM({metric/reward_count}) - Optionally reset within a higher date grain: maql SELECT RUNSUM({metric/reward_count}) WITHIN ({label/confirmed_at.month}) - You may still include Paid At in the insight, but the running logic will follow only the date dimension used as the context for the metric. Running totals support breakdown by additional date attributes from the same date dimension, but not by another date dimension. [[Running totals core](https://www.gooddata.com/docs/cloud/create-metrics/maql/runing-totals/running-totals-for-core-functions/)] b) Your “Payout Ratio” depends on two different date dimensions and a lookback window, which runs into current MAQL limitations: - Running-total functions (like RUNSUM) work only over a single date dimension. [[Running totals core](https://www.gooddata.com/docs/cloud/create-metrics/maql/runing-totals/running-totals-for-core-functions/)] - Similar limitations have appeared in other multi-date use cases (cohorts, received/updated dates, claim timelines); support has confirmed that these patterns are not directly expressible with a single MAQL metric and often require additional modeling (e.g., a new snapshot/derived date dimension or a “days since X” helper) or multiple metrics. [[Cohort & RUNSUM Slack](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1709738618806549?thread_ts=1709738618.806549&cid=C04S1MSLEAW); [Rewards modeling Slack](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1744733651521469?thread_ts=1744733651.521469&cid=C04S1MSLEAW)] The knowledge sources do not provide a concrete MAQL pattern that: - takes “Rewards paid at date D” (using Paid At), and - divides by “Rewards confirmed in the 4 weeks prior to D” (using Confirmed At), - while presenting this as a single ratio metric grouped by Paid At (Month). Instead, the documented guidance for similar problems is: - Introduce an additional modeling construct (e.g. snapshot date or “days since confirmation”) to represent the analysis time axis. [[Rewards modeling Slack](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1744733651521469?thread_ts=1744733651.521469&cid=C04S1MSLEAW)] - Or use multiple metrics, each tied to a single date dimension, and combine them at the visualization level (e.g. as separate metrics or calculated metrics in the insight), while accepting some limitations—especially where the denominator needs a rolling “4 weeks before paid date” window across another date dimension. [[Cohort & RUNSUM Slack](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1709738618806549?thread_ts=1709738618.806549&cid=C04S1MSLEAW)] Because of these constraints, I’m not able to give you a fully working single-MAQL definition for that payout ratio based solely on the provided sources; the documented material indicates this is a non-trivial multi-date use case that likely needs data-model changes or multiple helper metrics rather than one straightforward expression.Thomas Karbe
11/19/2025, 1:08 PMkapa.ai
11/19/2025, 1:08 PMkapa.ai
11/19/2025, 1:08 PMWITHIN and can be broken down by additional date attributes from the same date dimension, but not across multiple date dimensions. [[Running totals core](https://www.gooddata.com/docs/cloud/create-metrics/maql/runing-totals/running-totals-for-core-functions/)] - Support explicitly confirms that “The RUNSUM has currently limitation that it works only over a single date dimension” in multi-date / cohort scenarios. [[Cohort & RUNSUM Slack](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1709738618806549?thread_ts=1709738618.806549&cid=C04S1MSLEAW)] - Another support response clarifies that running totals work only over windows defined by date attributes, and that they cannot run over other attributes like Country; by analogy, the date context is driven by the date dimension in the insight, not by a parameter that chooses between multiple date dimensions. [[Table layout & RUNSUM Slack](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1706739789761669?thread_ts=1706739789.761669&cid=C04S1MSLEAW)] What this means for your case: - If your table has two date dimensions (e.g., Confirmed At and Paid At), RUNSUM will operate in the context of one date dimension used in the insight. - The provided sources do not show a MAQL syntax like RUNSUM(...) WITHIN {label/paid_at} that would *disambiguate between two separate date dimensions present at the same time*; the WITHIN clause only scopes within a single chosen date dimension. [[Running totals intro](https://www.gooddata.com/docs/cloud/create-metrics/maql/runing-totals/); [Running totals core](https://www.gooddata.com/docs/cloud/create-metrics/maql/runing-totals/running-totals-for-core-functions/)] So while it is a natural use case, the current documented behavior is: - RUNSUM works over one date dimension. - There is no documented way to parametrize a running-total metric to choose between multiple date dimensions in the same table.Thomas Karbe
11/19/2025, 1:10 PMkapa.ai
11/19/2025, 1:10 PMkapa.ai
11/19/2025, 1:10 PMConfirmed At and Paid At) - The need to choose explicitly which date dimension RUNSUM should follow when both are in the same insight. - If you’re using Community Slack, you can also post this as a feature request there; support routinely converts such threads into internal product notes. Similar threads have already resulted in “New note created” events. [[Table layout & RUNSUM Slack](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1706739789761669?thread_ts=1706739789.761669&cid=C04S1MSLEAW)] This is not configurable today; raising it via support or your CSM is the documented path to get it formally tracked as product feedback.Yvonne Changamuka
11/19/2025, 3:28 PMProductboard
11/19/2025, 3:31 PMkapa.ai
11/19/2025, 3:31 PMkapa.ai
11/19/2025, 3:31 PM:tada: *New note created.* line is exactly what our internal bot posts when support converts feedback into a product request). [[Cohort & RUNSUM Slack](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1709738618806549?thread_ts=1709738618.806549&cid=C04S1MSLEAW); [Table layout & RUNSUM Slack](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1706739789761669?thread_ts=1706739789.761669&cid=C04S1MSLEAW)] To ensure your exact multi–date-dimension RUNSUM use case is captured as well, you’d still need to: - Open a support ticket or - Post the request in Community Slack (or via your CSM), describing that you want to explicitly choose which date dimension a running-total metric should use when multiple date datasets are present in an insight.