Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
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 🙂

 

Categories:
  • test010203 Profile Picture
    2 on at
    Re: Losing decimal in power query when data comes from Excel

    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 !

  • ChrisPiasecki Profile Picture
    6,389 Most Valuable Professional on at
    Re: Losing decimal in power query when data comes from Excel

    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.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics