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
PGuenther
Regular Visitor

Issue with automatic rounding during import of xls

Hello,

I have an issue with my imported data. Whenever I import it from an xls datafile into Power BI the values in some columns are automatically rounded during the import process.

Ex. In the xls column there are values like 4,24 or 2,45 which after import into Power BI show up as "4" and "2" in the colum structure of Power BI. See screenshot below where the Diesel column has this issue and the Gasoline doesn't. I already tried switching the data types to "decimal" and others. But as the original cell values (4,24) has been overwritten with "4" during import it doens't help. Any hints? Thank you!

PGuenther_0-1630673911600.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @PGuenther ,

 

Please try changing the region settings in Power BI Desktop options and settings and change the locale for import to Germany first.

Then reload the data from the Excel file into Power BI Desktop.

I have used this to reproduce and solve the problem, hope this helps.

 

vcaitlynmstf_0-1630981551519.png

 

Community Support Team _ Caitlyn Yan


If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

12 REPLIES 12
lbendlin
Super User
Super User

Seems like a culture mismatch between de-de and en-us. Add the culture hint to the source step.

Thx, what do you mean by source step?

Anonymous
Not applicable

Hi @PGuenther ,

 

In a case like this, We have to check 3 things

  1. Column Format in Excel should be "Number with decimal"
  2. Power BI "Query Editor" make sure the Data type is "Decimal Number"
  3. In Power BI in "Modeling" tab, make sure the Data type is "Whole Numer" and Format is "Decimal Number"

If it does not work, Here's a case for a similar situation that you can try in the Query editor based on its solution.

 

Hope it helps,


Community Support Team _ Caitlyn Yan


If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Hello, the formatting in the Excel file is decimal with 2 digits.

Anonymous
Not applicable

Hi @PGuenther ,

 

Have you tried the method in the link above?
I can't reproduce your problem.If it still doesn't work , can you provide me with the excel file? (make sure there is no sensitive information in it.)

 

Hope it helps,


Community Support Team _ Caitlyn Yan


If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

IndexEmission - GasolineEmission - DieselEmissions - Scope 1Emission - ElectricityEmissions - Scope 2Emissions - TOTAL
10,973,564,530,360,364,89
20,494,344,840,290,295,13
30,001,616,480,440,446,92
40,001,611,611,231,232,84
52,350,693,410,360,363,77
61,172,924,101,391,395,48
71,2111,8713,111,601,6014,71
80,596,9210,001,031,0311,02
90,413,135,131,731,736,85

 

Emissions Gasoline work fine (no rounding) Emissions Diesl and others show rounding issue.

Anonymous
Not applicable

Hi @PGuenther ,

 

In the sample you provided, we found that the numbers are separated using commas and it should be separated using decimal points.
We recommend you to check the punctuation in the Excel file, replace them with decimals and re-import them to Power BI.

 

In addition, the same situation occurs in your other columns, (other columns containing "," must be in text format) In order to ensure the accuracy of your subsequent calculations, we recommend that you modify them at the same time.

vcaitlynmstf_0-1630926621144.png

Hope it helps,


Community Support Team _ Caitlyn Yan


If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Thank you, I am using an international (DE) version where comma and decimal points are inverted compared to US-version. Would you still recommend to switch? This would mean to rearrange my whole xls sheet to US-format.

Anonymous
Not applicable

Hi @PGuenther ,

 

Please try changing the region settings in Power BI Desktop options and settings and change the locale for import to Germany first.

Then reload the data from the Excel file into Power BI Desktop.

I have used this to reproduce and solve the problem, hope this helps.

 

vcaitlynmstf_0-1630981551519.png

 

Community Support Team _ Caitlyn Yan


If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

How can I send a file to you privately?

Anonymous
Not applicable

Hi @PGuenther ,

 

For your information security and to help you better, you may refer to the following way to post the sample on the forum.

How-to-provide-sample-data-in-the-Power-BI-Forum 

 

Regards,

Community Support Team _ Caitlyn Yan

lbendlin
Super User
Super User

What is the column type in the Excel file?

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