web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Losing decimal in powe...
Power Apps
Unanswered

Losing decimal in power query when data comes from Excel

(0) ShareShare
ReportReport
Posted on by 2

Hello ! 

 

I am struggling with a question I can't solve.

I made a query from an Excel data sheet to an Excel analysis sheet.

 

When data are uploaded in the query, decimal are automatically rounded.

It means :

My Excel data sheet displays 0,19 for a value that is 0,188

test010203_1-1675421871630.png

 

My Query displays 0,19 and the data behind is 0,19

test010203_0-1675421819622.png

 

The difference at the end is quite huge, and I really don't understand why PowerQuery is doing that.

The only way (stupid one) I found is to go inside the Excel data sheet and expand the numbers displayed after the comma...

 

I tried :

- Change Type (decimal numbers don't change anything it seems the data at the moment it is read is rounded)

- Query options

- Modification of the "File.Contents" and "Excel.Workbook" functions

- Try the Excel data sheet from a "csv/txt" query : same result

 

 

If you can you help on that it would be great 🙂

 

I have the same question (0)
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @test010203,

     

    In the Advanced Editor for your decimal column, can you try changing the type to number and see if that helps?

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • test010203 Profile Picture
    2 on at

    Hello,

     

    Sorry, not at all.

    I don't know what it the problem but it is a little disappointment.

    I think it is perhaps because the Excel is from an old version (2013 and before)... But sad, very sad, because data are here and seeing that an automatic round is done is so surprising for such a tool...

     

    I started from all new with a new file, but it didn't help. The only solution is to go inside each excel and ad 10 numbers behind the comma in the display options. A bit ridiculous, if you have another idea I take it ! Because it completely lost the opportunity to automatize the work.

     

    Have a good day !

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard