lightdash / lightdash

Self-serve BI to 10x your data team ⚡️
https://lightdash.com
MIT License
3.75k stars 398 forks source link

Adjusting the format of metrics on sql runner (ex. Percentage, currency) #11544

Open rephus opened 2 days ago

rephus commented 2 days ago

Description

Thread: https://lightdash.slack.com/archives/C02DGV9RWKV/p1726318173680439

Currently, we allow users to format a y axis/series to a percentage, we should allow other options. Image

Acceptance Criteria:

Implementation suggestion

Look into: CustomFormat and use it instead of the enum Format. Perhaps we can have a Popover to further improve this experience? Check table calculations' way of formatting, that will help.

What problem does this solve?

Improves Data visualization, clearer communication of insights gathered

lightdash-bot commented 2 days ago

This issue was mentioned by a user in slack: https://lightdash.slack.com/archives/C04KD95TF0U/p1726239502822199?thread_ts=1726239502.822199&cid=C04KD95TF0U

joaoviana commented 2 days ago

Can already add percentage formatting, updating description