From 96bdf085d321e7950157f1a299e77a130c76e818 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Mon, 8 Dec 2025 13:48:36 +0000 Subject: [PATCH] [release-12.3.1] Azure: Fix `dcount` aggregation (#114907) Azure: Fix `dcount` aggregation (#114666) * Add parameter type field * Use parameterType to filter columns for aggregation funcs * Support selecting column for dcount aggregation (cherry picked from commit b719aea078b13cf0ff222eb138a0b81c921e2829) Co-authored-by: Andreas Christou --- .../azuremonitor/components/LogsQueryBuilder/AggregateItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/azuremonitor/components/LogsQueryBuilder/AggregateItem.tsx b/public/app/plugins/datasource/azuremonitor/components/LogsQueryBuilder/AggregateItem.tsx index 2eacf01b8bd..294c85fdb87 100644 --- a/public/app/plugins/datasource/azuremonitor/components/LogsQueryBuilder/AggregateItem.tsx +++ b/public/app/plugins/datasource/azuremonitor/components/LogsQueryBuilder/AggregateItem.tsx @@ -30,7 +30,7 @@ const AggregateItem: React.FC = ({ templateVariableOptions, }) => { const isPercentile = aggregate.reduce?.name === 'percentile'; - const isCountAggregate = aggregate.reduce?.name?.includes('count'); + const isCountAggregate = aggregate.reduce?.name === 'count'; const [percentileValue, setPercentileValue] = useState(aggregate.parameters?.[0]?.value || ''); const [columnValue, setColumnValue] = useState(