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 number of decim...
Power Apps
Unanswered

Losing number of decimal places in power query

(0) ShareShare
ReportReport
Posted on by

Hi, two columns from the input spreadsheet contain decimal numbers with around 7 decimal places. as below,

LiLiBeca_0-1615773129741.png

However, with the power query in the data flow, even before the data type conversion, it only shows 2 decimal places. see below,

LiLiBeca_1-1615773283611.png

Anyone know how to fix that? Thanks in advance.

I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @Anonymous ,

     

    Would you like to transport data from a spreadsheet to Dataverse using Power Query?

     

    Since the X and Y columns contain 7 decimal places numbers, but when using Power Query the Decimal format only supports 3 digits of number and Float format in Dataverse only supports 0-5 digits, you will need to use Text type column in Power Query to transport data.

     

    190.png

     

    If your spreadsheet includes not quite large datasets, you could consider connect to the spreadsheet as the data source in Power Apps and save the whole dataset into a newly created Dataverse table. For example:

    Connected to spreadsheet data table, using a button with below formula to upload all items:

    ForAll(SpreadsheetTable, Patch(DataverseTable, Defaults(DataverseTable),{X: ThisRecord.X, Y:ThisRecord.Y, OtherColumns:...}))

     

    After checking the uploaded records using a Gallery set Items property to the Dataverse table, if all records have been uploaded successfully, you could delete the spreadsheet and remove the submit button from your App.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    So everytime you work with a Float or decimal with more than 3 decimal places you have to set it to Text - that is crazy (particularly when you consider in CDS/Datavsere you could increase the decimal places or just take the default in Dataflow and not realise that the Dataflow is only rounding to 3 decimals).

  • Community Power Platform Member Profile Picture
    on at

    Spot on. I totally agree. It's not intuitive for the user and it's only because we had a through verification process so we found this problem, otherwise it will be omitted.

  • Razor Profile Picture
    6 on at

    Convert your established data type to a different data type to make it work? That isn't a solution, that's a hack.

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard