dosubot[bot] commented on issue #35079: URL: https://github.com/apache/superset/issues/35079#issuecomment-3273345968
<!-- Greeting --> Hi @arjitmalviya89! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> The truncated metric value (like "4K") you’re seeing is due to Superset’s default SI number formatting, which abbreviates large numbers for readability and does not automatically append units or currency symbols unless configured. This is not a bug, but the intended behavior of the BigNumber chart and its formatter logic ([source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/packages/superset-ui-core/src/number-format/factories/createSmartNumberFormatter.ts)). To display units (such as "$" or "USD") or avoid truncation, you can customize the chart’s formatting options in the control panel. Use the `y_axis_format` or `currency_format` fields to specify a D3 format string (for example, `,.2f` for two decimal places without abbreviation, or `$,.0f` for whole numbers with a dollar sign). You can also append units directly to the metric label if needed ([source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.ts)). If you want help with a specific format string or configuration, let me know what unit or style you want to display and I can suggest an example. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/dd374217-b9d4-4b4b-954c-06fcd5ed8e60?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/dd374217-b9d4-4b4b-954c-06fcd5ed8e60?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/dd374217-b9d4-4b4b-954c-06fcd5ed8e60?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/dd374217-b9d4-4b4b-954c-06fcd5ed8e60?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/dd374217-b9d4-4b4b-954c-06fcd5ed8e60?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/dd374217-b9d4-4b4b-954c-06fcd5ed8e60?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/dd374217-b9d4-4b4b-954c-06fcd5ed8e60?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35079) -- 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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org