This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 3 | |
| 3 | |
| 2 |