diff --git a/explorer/Explorer.tsx b/explorer/Explorer.tsx index 95e0b226f9f..ade08649379 100644 --- a/explorer/Explorer.tsx +++ b/explorer/Explorer.tsx @@ -593,7 +593,11 @@ export class Explorer // Filter out variableIds that are already present in the dimensions array .filter( (yVariableId) => - !dimensions.some((d) => d.variableId === yVariableId) + !dimensions.some( + (d) => + d.property === DimensionProperty.y && + d.variableId === yVariableId + ) ) .map((yVariableId) => ({ variableId: yVariableId,