Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
import valueFormatter = powerbi.extensibility.utils.formatting.valueFormatter;pbiviz.json:
...
let formatterOptions : utils.formatting.ValueFormatterOptions = {
value: 1000,
precision: 1,
cultureSelector: options.host.locale // "de-DE"
};
let formatter = valueFormatter.create(formatterOptions);
let v = formatter.format(2500); // gives 2,5K and not 2,5 Tsd. 😞
...Is there anything wrong with my code?
"externalJS": [ "node_modules/globalize/lib/globalize.js", "node_modules/globalize/lib/cultures/globalize.cultures.js",
...
Solved! Go to Solution.
It looks like postfix has not been localized for all of languages.
Please create a new bug in GitHub: https://github.com/Microsoft/powerbi-visuals-utils-formattingutils
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
It looks like postfix has not been localized for all of languages.
Please create a new bug in GitHub: https://github.com/Microsoft/powerbi-visuals-utils-formattingutils
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
I'm using formatting utils with new powerbi-visual-tools 3 (beta) and get some behavior. When this bug will fix?
Did you face exactly the same issue?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |