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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
elokapo
Frequent Visitor

Format number not recognized

Hi,

When trying to load an excel file with a column (Fee) having numbers, POwerBI Query does not recognize it as Decimal Number.

It gives for example 123.123.125.12 while I am expecting 123123125.12

It put extra dots (.) while the source (xls file) is showing a correct number format [$-de-CH,1]# ##0.00;(# ##0.00)

Anyone would have a tip to resolve this issue?

Thx,

E.

6 REPLIES 6
PhilipTreacy
Super User
Super User

@elokapo 

 

Download my example PBIX file

 

In the sample file you gave me I can't reproduce your problem.

 

You said that the Fee column is giving issues but from your file it looks like it's the Value column as it has values greater than 1000?  The Fee column in your file only has numbers like 12.34

 

Anyway, looking at the XLS file (why are you using XLS and not XLSX?) the numbers are formatted correctly.  Importing these with Power Query shouldn't pose an issue.

 

You show that your default regional setting is EN(US), so is mine so we are both using the same default locale and I can import ok.

 

When I import the file I can convert to decimal number without issue.

 

You said that you don't have an automatic 'Change Type' step in your query.  So at what point are you trying to convert the values to decimal?

 

When you convert to decimal, it doesn't give an error?  Rather it formats your numbers as 123.456.00?

 

In your XLS file do you see the number as 123.456,00 ?

 

If you manually try to convert the numbers to decimal using locale do you get this issue?

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


PhilipTreacy
Super User
Super User

@elokapo 

 

Can you please supply one/some of the XLS files that you are having the issue with, and your query to import them.  It'll be easier to diagnose when I can test the data myself.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi,

thanks for your reply. PLease find THERE the requested files.

Below the settings for this file:

 

elokapo_0-1688453044728.png

 

BR,

E.

PhilipTreacy
Super User
Super User

@elokapo 

 

If PQ is doing an automated Change Type step on that coumn, delete it and try manually converting using Change Type using Locale

 

ctl2.png

 

ctl.png

 

Looks like you are using a German (Swiss) format?

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi,

I take those xls files from a folder. Those are the steps I have : (I have no Change Type)

 

elokapo_0-1688372026046.png

 

The data comes directly like that:

 

elokapo_1-1688372126552.png

 

Thx,

E.

 

 

Here is what I have when loading the files:

 

elokapo_0-1688374568504.png

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.