geido opened a new issue, #32621:
URL: https://github.com/apache/superset/issues/32621

   ## 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](https://github.com/user-attachments/assets/5bb3b17b-b732-40d8-8c45-b5bfb992710b)
   
   ## Actual results
   The metric name ignores the label and uses the metric key instead.
   
   
![Image](https://github.com/user-attachments/assets/dfd0f769-dbb9-4ebd-90e4-3f11af0ed26e)
   
   ## Known Workarounds
   Add the metric from the chart builder instead, through the Custom SQL field.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to