The issue you’re experiencing—where the “Previous Month” value for September 2025 is showing as September 2024 instead of August 2025—stems from how GoodData’s time-over-time comparison and the
FOR PREVIOUSPERIOD function interpret the date context and granularity in your dashboard and insights.
Why This Happens
•
FOR PREVIOUSPERIOD adapts to the smallest date granularity present in your report. If your insight is grouped by Month, it should shift by one month. However, when you apply a dashboard filter like “this year,” the data for the previous period (e.g., August 2025) may be excluded from the filter context, so the function cannot retrieve it. As a result, it may fall back to the previous year’s same month (September 2024) instead of the actual previous month (August 2025) [
Community Slack Discussion].
• This is a known limitation: if your dashboard filter restricts the data to only the current year, the “previous period” for January 2025, for example, cannot find December 2024, so it returns no value or an incorrect one. The same logic applies for other months if the previous month is outside the filtered range [
Community Slack Discussion].
How to Fix or Work Around
1.
Widen the Dashboard Date Filter:
2. To ensure the “previous month” values are correct, your dashboard filter must include the previous period’s data. For example, if you want to see MoM for 2025, set the dashboard filter to include both 2024 and 2025. This way, August 2025 data is available for the September 2025 “previous month” calculation.
3.
Use the FOR PREVIOUS Function:
4. If you want to always shift by a fixed number of periods regardless of the filter, use the
FOR PREVIOUS function instead of
FOR PREVIOUSPERIOD. For example:
5.
SELECT {metric} FOR PREVIOUS({label/Month/Year (Date)})
6. This will always shift by one month, even if the previous month is outside the current filter context [
Community Slack Discussion].
7.
Be Aware of Filter Context:
8. The “previous period” logic is tightly coupled to the available data in the filter context. If the previous period is not present in the filtered data, the calculation cannot work as expected [
GoodData Docs].
Summary
• The “previous month” value is incorrect because the dashboard filter excludes the actual previous month.
• To fix this, expand your dashboard filter to include the previous period, or use the
FOR PREVIOUS function for a fixed shift.
For any further assistance we would need to look into the workspace to see how you have defined the metric and how these objects align within the LDM.