metabase
metabase copied to clipboard
Metric name wrong when first added to Summarize step
Describe the bug
Metric name shows incorrectly when first added in Summarize step of question
To Reproduce
- Create a metric with custom naming (total_price_no_tax_no_discount_metric)
- Add to a question
- Visualize. Should show
total_price_no_tax_no_discount_metricbut showstotal_price_no_tax_no_discount
- Go back to Editor click on the metric and press Update
- Visualize and correct name shows
Expected behavior
It should show as total_price_no_tax_no_discount_metric when first added, instead of showing up as total_price_no_tax_no_discount and requiring the user to click update manually
Logs
No response
Information about your Metabase installation
v54, v55
Severity
P3
Additional context
No response
Repro https://www.loom.com/share/68c2686ed1b9460884b5b872774be08d
Master 9fac4dd53b034135376b7975164b8bb0c5eb4d54, pre-56.
Steps:
- Metrics -> New -> Orders
- Click on
Countand set a custom name ->Update - Save the metric with a different name
- See that the display name of the column matches the aggregation display name and not the metric display name
same issue in v57/master