diff --git a/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx b/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx index a99061c7071c6..f76f29724dd84 100644 --- a/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx +++ b/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx @@ -274,7 +274,9 @@ class Chart extends React.Component { changeFilter(newSelectedValues = {}) { this.props.logEvent(LOG_ACTIONS_CHANGE_DASHBOARD_FILTER, { id: this.props.chart.id, - columns: Object.keys(newSelectedValues), + columns: Object.keys(newSelectedValues).filter( + key => newSelectedValues[key] !== null, + ), }); this.props.changeFilter(this.props.chart.id, newSelectedValues); }