diff --git a/enterprise/web-frontend/modules/baserow_enterprise/dashboard/components/data_source/AggregationSeriesForm.vue b/enterprise/web-frontend/modules/baserow_enterprise/dashboard/components/data_source/AggregationSeriesForm.vue index c9875ea6c..eae2a4170 100644 --- a/enterprise/web-frontend/modules/baserow_enterprise/dashboard/components/data_source/AggregationSeriesForm.vue +++ b/enterprise/web-frontend/modules/baserow_enterprise/dashboard/components/data_source/AggregationSeriesForm.vue @@ -98,7 +98,13 @@ export default { }, computed: { groupedAggregationTypes() { - return this.$registry.getOrderedList('groupedAggregation') + const allAggregationTypes = + this.$registry.getOrderedList('groupedAggregation') + return allAggregationTypes.filter((aggType) => { + return this.tableFields.some((tableField) => + aggType.fieldIsCompatible(tableField) + ) + }) }, aggregationTypesAvailableForSelection() { return this.groupedAggregationTypes.filter(