GitHub user agrillea1234 closed a discussion: Export Format in Superset 5 –
CSV/Excel Not Reflecting D3_FORMAT Settings
Hi everyone,
I've set the following D3_FORMAT in my superset_config.py to localize number
formatting:
D3_FORMAT = {
"decimal": ",",
"thousands": ".",
"grouping": [3],
"currency": ["", ""]
}
I'm currently using Superset version 5.0.0, and while the formatting works
correctly within the UI, I noticed that CSV and Excel exports still use the
default (US) number format, ignoring the configuration above.
My questions are:
Is there a supported way to apply localized number formatting (e.g., comma as
decimal separator) in exported CSV/Excel files?
Or would it require modifying the Superset source code?
If so, could someone point out which file(s) or components in the codebase are
responsible for formatting the data during export?
Thanks in advance for your help!
Best regards,
Alessandro
GitHub link: https://github.com/apache/superset/discussions/34568
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]