We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a6154 commit 82389c6Copy full SHA for 82389c6
superset/mcp_service/chart/tool/get_chart_data.py
@@ -168,8 +168,7 @@ async def get_chart_data( # noqa: C901
168
# - pop_kpi (BigNumberPeriodOverPeriod)
169
# These charts also don't have groupby columns
170
viz_type = chart.viz_type or ""
171
- single_metric_types = ("big_number", "pop_kpi")
172
- if viz_type.startswith("big_number") or viz_type in single_metric_types:
+ if viz_type in ("big_number", "big_number_total", "pop_kpi"):
173
# These chart types use "metric" (singular)
174
metric = form_data.get("metric")
175
metrics = [metric] if metric else []
0 commit comments