Change numeric rappresentation #35528
-
Hello, For example this will be ,.2f : I had add this in my superse:config.py: But nothing has changed. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Setting D3_FORMAT = {
"decimal": ",",
"thousands": ".",
"grouping": [3],
"currency": ["", "€"]
} After saving the file, restart all Superset services and clear your browser cache. This will update number formatting in charts and tables to Italian notation (e.g., To verify the change, open your browser dev tools and check that Note: This only affects number formatting in the UI. CSV and Excel exports will still use US-style formatting unless you modify the backend code reference. Let me know if you need help with any step! To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
It worked! Thanks! |
Beta Was this translation helpful? Give feedback.
Setting
DEFAULT_LOCALE = "it"
insuperset_config.py
does not affect how numbers are displayed in the Superset UI. To use Italian-style number formatting (periods for thousands, commas for decimals), you need to set theD3_FORMAT
dictionary in yoursuperset_config.py
like this:After saving the file, restart all Superset services and clear your browser cache. This will update number formatting in charts and tables to Italian notation (e.g.,
3.647,50€
) reference.To verify the change, open your browser dev tools and check that
window.bootstrap_data.common.d3_format
matches your settings…