Azure: Fix dcount aggregation (#114666)

* Add parameter type field

* Use parameterType to filter columns for aggregation funcs

* Support selecting column for dcount aggregation
This commit is contained in:
Andreas Christou authored and GitHub committed 2025-12-05 12:25:56 +00:00
1 parent 75eb820c73
commit b719aea078
1 file changed
+1 -1
@@ -30,7 +30,7 @@ const AggregateItem: React.FC<AggregateItemProps> = ({
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(