Skip to content

With Time Comparison enabled, the metric name ignores the label and uses the metric key instead #32621

Open
@geido

Description

@geido

Description

With the new addition of the Time Comparison feature in the Table chart (to verify if this affects the newly introduced AG Grid too), the metric’s label gets reverted to the metric key when enabled. This shows the metric not-so-friendly name to the UI.

How to reproduce the bug

  1. Add custom metrics to the dataset.
  2. Define the metric key and label.
  3. Create a new table chart (verify AG Grid table too)
  4. Add a time-range filter.
  5. Enable the time comparison feature, and choose the Inherit range from time filter.

Expected results

The metric name is displayed correctly.

Image

Actual results

The metric name ignores the label and uses the metric key instead.

Image

Known Workarounds

Add the metric from the chart builder instead, through the Custom SQL field.

Metadata

Metadata

Labels

preset:bountyIssues that have been selected by Preset and have a bounty attached.preset:bounty:bugBugs that have been selected by Preset and have a bounty attached.viz:charts:tableRelated to the Table chart

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions