metabase icon indicating copy to clipboard operation
metabase copied to clipboard

Metric name wrong when first added to Summarize step

Open ghostframe opened this issue 7 months ago • 2 comments

Describe the bug

Metric name shows incorrectly when first added in Summarize step of question

To Reproduce

  1. Create a metric with custom naming (total_price_no_tax_no_discount_metric)
Image
  1. Add to a question
Image
  1. Visualize. Should show total_price_no_tax_no_discount_metric but shows total_price_no_tax_no_discount
Image
  1. Go back to Editor click on the metric and press Update
Image
  1. Visualize and correct name shows
Image

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

ghostframe avatar May 21 '25 19:05 ghostframe

Repro https://www.loom.com/share/68c2686ed1b9460884b5b872774be08d Master 9fac4dd53b034135376b7975164b8bb0c5eb4d54, pre-56.

Steps:

  • Metrics -> New -> Orders
  • Click on Count and 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

ranquild avatar Jul 15 '25 17:07 ranquild

same issue in v57/master

ranquild avatar Dec 19 '25 03:12 ranquild