You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "kemalmuderrisoglu (via GitHub)" <gi...@apache.org> on 2025/09/11 11:14:47 UTC

Re: [D] How to add a new currency [superset]

GitHub user kemalmuderrisoglu added a comment to the discussion: How to add a new currency

Hi,

I'm trying to add my local currency with currency sign. (TRY : ₺)

According to the research from internet I found a way with editing files like below:

**setupFormatters.ts**
`
    .registerValue(
      'CURRENCY_TRY',
      getNumberFormatter('₺,.2f'),
    )
`

**D3Formatting.ts**
`['CURRENCY_TRY', '₺ (12.345,00)'],`


Now I can select it from the number format list in Superset, but it still gives an error:
**55 (Invalid format: ₺,.2f)**

Why we cannot add our currency easily? This is a standart topic. Why there is no Custom text option on the page to add whatever I want as prefix or suffix?

GitHub link: https://github.com/apache/superset/discussions/33608#discussioncomment-14373114

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org