Skip to content

An open source alternative to Tableau. Embeddable visual analytic

fix: fieldStatServer

islxyqweb37ed3c22f6b
diff --git a/packages/graphic-walker/src/computation/serverComputation.ts b/packages/graphic-walker/src/computation/serverComputation.ts
index 4fbb006f..291507df 100644
--- a/packages/graphic-walker/src/computation/serverComputation.ts
+++ b/packages/graphic-walker/src/computation/serverComputation.ts
@@ -77,7 +77,7 @@ export const fieldStatServer = async (service: IComputationFunction, field: stri
groupBy: [field],
measures: [
{
- field,
+ field: '*',
agg: 'count',
asFieldKey: COUNT_ID,
},