Boxplots No Aggregate #35643
Replies: 1 comment 3 replies
-
|
Hi @vincent-reau! I'm Dosu and I’m helping the superset team. Superset's boxplot visualization requires aggregation because it computes statistics like mean, median, quartiles, min, max, and outliers for each group using SQL queries that group and aggregate your data. This is why you see the error about needing to use your column in a GROUP BY clause or aggregate function—the boxplot chart expects grouped and aggregated data to calculate its distribution metrics, not raw values directly. There isn't a built-in way to display boxplots of raw (non-aggregated) values in Superset; aggregation is a core part of how boxplots are implemented in the platform see source. If you want to visualize raw scaled values without aggregation, you might consider using a different chart type, like a scatter plot or strip plot, which can show individual data points. Alternatively, you could export your data and use an external tool that supports raw-value boxplots. Superset does not currently support plugins or alternative chart types for boxplots without aggregation see source. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I come with a tricky question that I stumbled upon recently.
I want to display in my boxplot raw values that are already scaled (0 to 1) by variable but it seems I can't do boxplots without aggregating.
Here is the error :
Error: column "v_measurements_scaled.value_scaled" must appear in the GROUP BY clause or be used in an aggregate function LINE 4: value_scaled AS value_scaled ^
My dataset schema :
How could I display this boxplots without an average or a count aggregation ?
Any help is appreciated,
Thanks
Beta Was this translation helpful? Give feedback.
All reactions