Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
alexcatala
Helper IV
Helper IV

Format Number not accurate

Hi, I am currently having an issue with a number value not being recognised.

 

I have a numeric value, pulled with decimals, and when I try to convert it to either a whole number or a decimal number it doesn't provide the right number.

 

alexcatala_0-1677160792456.png

 

While the source data pull the general number with decimals, the power query doesn't convert the number correctly for either decimal or whole number.

 

Any suggestion?

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

You'll have to investigate a bit further-> "Regional settings is default" .  Have a look at the Windows Regional settings, specifically the decimal separator.

Can you test a simpler power query example please? Maybe by duplicating the query, deleting steps to get back to the 'changed type' step ->and changing the data type of 'ext price' to Text then to decimal.

--

You could also experiment by duplicating the column, replacing '.' with ',' and then changing data type to decimal.  If that works, it would point to the decimal separator.

I'll wait to hear back from you once these things are done.

View solution in original post

5 REPLIES 5
HotChilli
Super User
Super User

OK, short-term that has worked. Does it solve the issue long-term? Maybe you live in a country (and your PC is set up) where '.' is not the decimal separator.

HotChilli
Super User
Super User

You'll have to investigate a bit further-> "Regional settings is default" .  Have a look at the Windows Regional settings, specifically the decimal separator.

Can you test a simpler power query example please? Maybe by duplicating the query, deleting steps to get back to the 'changed type' step ->and changing the data type of 'ext price' to Text then to decimal.

--

You could also experiment by duplicating the column, replacing '.' with ',' and then changing data type to decimal.  If that works, it would point to the decimal separator.

I'll wait to hear back from you once these things are done.

Hi @HotChilli 

 

 I replaced the "." with "," and automatically was converted to Text, then change the format to Decimal and it worked.

 

Thanks a lot!

alexcatala
Helper IV
Helper IV

Hi @HotChilli 

 

alexcatala_0-1677163949724.png

 

also as mentioned the language displayed on Regional settings is default and Query steps  as use application language

 

alexcatala_1-1677164022925.png

Let me know if you have any suggestion

 

HotChilli
Super User
Super User

My educated guess is that the "." is not being treated as a decimal separator.  Maybe due to regional settings or powerbi settings.  Can you check this please?

Could you also post the Advanced Editor power query code so that I can replicate what you are doing please?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors