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! Request now

Reply
Anonymous
Not applicable

Excel can not read decimal numbers

I have to import a excel file to refresh it daily.

 

The problem is that it can not import rows with decimals (in spain we use comma for decimal).

 

This is original excel:

CapturaI1.JPG

This is import result on power bi:

CapturaI2.JPG

 

It must be a excel format problem because if I open excel and save it (with no change), then power bi can import it correctly.

 

Any help?

 

 

6 REPLIES 6
Greg_Deckler
Community Champion
Community Champion

@Anonymous Have you tried inserting a step in Power Query editor where you change type using locale?

Greg_Deckler_0-1634211780763.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi @Greg_Deckler,

 

As you can see on image data is not loading from beginig an it is cast as text.

 

is it posible to check errors on load?

 

CapturaI3.JPG

Hi, @Anonymous 

You can consider replacing all "," with  "." before converting the data type.

102.png

Best Regards,
Community Support Team _ Eason

 

StefanoGrimaldi
Resident Rockstar
Resident Rockstar

can you show the power query steps and m code u using? what can happend its that its reading the decimal value as a text value and returning null as consecuence of the error its a expted behavior, on the query editor you can set the column type by clicking right click on the header go to the options that says "using locale" there will let you select a data type and specify the region data type its coming from, that will make it to recognize the coma as decimal separator if the selected locale use it as that, 

also you need to apply that type changed before the one you have right now o replace the one you have with it, 

 

if this helped give some kudos, and mark as solutions for others to find





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




Anonymous
Not applicable

Hi @StefanoGrimaldi,

 

As you can see on image data is not loading from beginig an it is cast as text.

 

is it posible to check errors on load?

 

CapturaI3.JPG

i fthe excel data its on a table, change that column type to number and reload. 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




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
Top Kudoed Authors