diff --git a/superset/connectors/sqla/models.py b/superset/connectors/sqla/models.py index 2acc7b12b6647..7d0570b92b81d 100644 --- a/superset/connectors/sqla/models.py +++ b/superset/connectors/sqla/models.py @@ -359,12 +359,15 @@ def order_by_choices(self) -> list[tuple[str, str]]: @property def verbose_map(self) -> dict[str, str]: verb_map = {"__timestamp": "Time"} - verb_map.update( - {o.metric_name: o.verbose_name or o.metric_name for o in self.metrics} - ) - verb_map.update( - {o.column_name: o.verbose_name or o.column_name for o in self.columns} - ) + + for o in self.metrics: + if o.metric_name not in verb_map: + verb_map[o.metric_name] = o.verbose_name or o.metric_name + + for o in self.columns: + if o.column_name not in verb_map: + verb_map[o.column_name] = o.verbose_name or o.column_name + return verb_map @property