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
2025-12-05 12:25:56 +00:00
committed by GitHub
parent 75eb820c73
commit b719aea078
@@ -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(