Cathy Liu
04/08/2026, 12:38 AMkapa.ai
04/08/2026, 12:38 AMSELECT FYear_max_half_LGA {metric/fyear_max_half_lga} - FYear_min_half_LGA {metric/fyear_min_half_lga}
• Metric 2 (reciprocal, not working):
SELECT 1 / ( FYear_max_half_LGA {metric/fyear_max_half_lga} - FYear_min_half_LGA {metric/fyear_min_half_lga} )
The reciprocal 1 / (difference) should theoretically work in GoodData MAQL using standard arithmetic operations. [Arithmetic Operations]
However, based on a similar case in the community, a common cause of failures in division metrics is an issue with how the component metrics interact in the LDM context. Here are some steps to diagnose and fix the issue: 1. Simplify to isolate the problem Try replacing one side with a constant to see which part fails:
SELECT 1 / 12
If this works, the issue is with the denominator expression, not the division itself. 2. Use a saved metric as the denominator Instead of inlining the subtraction in the denominator, save the difference as a separate named metric first (e.g., Half_LGA_Diff), then reference it:
SELECT 1 / {metric/half_lga_diff}
This avoids potential parsing or context-resolution issues with complex inline expressions in the denominator. [Arithmetic Operations] 3. Check for division by zero If the denominator evaluates to 0 in any context, GoodData will return NULL or an error for that row. Ensure the difference metric never returns 0. 4. Contact GoodData Support with the traceId If you see an error response, capture the traceId from the error payload and share it with GoodData Support along with your workspace ID and the metric definitions. They can look up the exact root cause in internal logs. [API errors]
The most likely quick fix is saving the subtraction as a standalone metric and then dividing 1 by that saved metric reference. 👍 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.Cathy Liu
04/08/2026, 12:58 AMSELECT 1 / {metric/half_lga_diff}
This doesn't work eitherJoseph Heun
04/08/2026, 7:35 AMJoseph Heun
04/08/2026, 7:35 AMCathy Liu
04/08/2026, 8:58 AMCathy Liu
04/08/2026, 9:01 AMJoseph Heun
04/08/2026, 9:23 AMSELECT 1 / (
SELECT
CASE
WHEN IFNULL({metric/fyear_max_half_lga} - {metric/fyear_min_half_lga}, 0) = 0
THEN 1
ELSE IFNULL({metric/fyear_max_half_lga} - {metric/fyear_min_half_lga}, 1)
END
BY ALL OTHER
)
As for the map and the labels, I'm afraid I will need to submit this as product feedback on your behalf. The Zoom functionality on maps doesn't go too deep, but we can certainly discuss this further with the product team. As for the labels, they will be displayed for both bars and lines, so it would also need to be submitted as product feedback to have options to use one or the other.Joseph Heun
04/08/2026, 9:29 AMCathy Liu
04/13/2026, 2:08 AMCathy Liu
04/14/2026, 2:24 AMShamil Akhmadyshev
04/14/2026, 9:04 AMMichael Ullock
04/16/2026, 3:25 PM# WHEN {metric/cagr_year_half_lga_year} = 0
# THEN 1
# ELSE {metric/cagr_year_half_lga_year}
# END
# BY {label/CURRENT_VGCCC_NAME}
You’re missing the metic: CAGR_year_half_LGA_year
And the Attribute value:
CURRENT_VGCCC_NAME}
Please update the metric accordingly and add the missing metrics/attribute and let us know if you need any further help. If the metric it not working as expected, please provide more details, a report for test purposes and clarify what you’re seeing there, versus the results you would expect to see there.