Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
When trying to convert a column containing only numbers, I get an error "DataFormat.Error: We couldn't convert to Number."
I have searched and replaced the column for spaces and replaced it.
I have searched and replaced the column for all special characters, as listed in the advanced search and replace dialog.
Our decimal separator is set to a full stop.
When right clicking clicking on Decimal Number, I get the error.
Here is an example of the error and that data.
Please help.
Solved! Go to Solution.
If I convert the datatype from text to decimal by clicking on the data type block, than clicking on "1.2 Decimal Number" I get the error.
However, if I click on the last option "Using Locale...", then select on "Decimal number" and then select "English (United States)" It works. If I select any other locale, it does not work. This seems to be a but in Power query.
If I convert the datatype from text to decimal by clicking on the data type block, than clicking on "1.2 Decimal Number" I get the error.
However, if I click on the last option "Using Locale...", then select on "Decimal number" and then select "English (United States)" It works. If I select any other locale, it does not work. This seems to be a but in Power query.
Hi @Johannf
As I commented previously I think the problem is the dot. For some reason, Power BI is considering it as miles, then when you try to convert if the value is 226.39, Power BI is trying to put 226390 so it gives an error due to the missing 0.
If you replace it by comma you should be able to convert to decimal value too.
Yes, it can convert it to decimal when I replace the dot with a comma. That is how I used to do it, but that is not the best way. Our decimal separator is a dot. The conversion using locale is a better solution.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.