Skip to content
Snippets Groups Projects
Unverified Commit a01bb1a5 authored by Tom Robinson's avatar Tom Robinson Committed by GitHub
Browse files

Merge pull request #9350 from metabase/fix-dup-aggregation-series

Fix series settings for multiple aggregations with the same name
parents 18a2e203 84f8e8cf
No related branches found
No related tags found
No related merge requests found
......@@ -404,7 +404,8 @@ function transformSingleSeries(s, series, seriesIndex) {
name: name,
_transformed: true,
_seriesIndex: seriesIndex,
_seriesKey: seriesIndex === 0 && col ? getFriendlyName(col) : name,
// use underlying column name as the seriesKey since it should be unique
_seriesKey: col ? col.name : name,
},
data: {
rows: rows.map((row, rowIndex) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment