Share via

PowerQuery- Excel loading values all rounded to 0dp

Anonymous
2024-12-17T09:13:25+00:00

Hi all,

I have a query which retrieves a dataset, and then follows a series of merged joins, to incorporate other related data. One of the original columns is a value field which is set to type 'number' and the excel table itself is also formatted to number (hopefully irrelevant that bit)

On some occasions when the data is refreshed, the table loads with all values rounded down to zero decimal places (so 1.25 would become 1.00 and 5.77 would become 6.00). This is causing a huge problem for me. The values at source are correct, and when I view the query, the values in that column show the correct (i.e. 1.25 and 5.77), but when loading to the table they suddenly round down. Different users are performing the refresh and I'm not able to yet identify a pattern.

There are no other formula or formatting that appear to be affecting the cells. Any troubleshooting advice would be appreciated.

Thanks

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Rory Archibald 18,885 Reputation points Volunteer Moderator
2024-12-17T10:07:38+00:00

That setting rounds any number values in the workbook based on the displayed value. So if your column is set to not show decimal places, when you refresh the data, the actual values will be rounded to 0DP. It's not a setting I would ever recommend turning on.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-12-17T09:59:47+00:00

    Hi Rory, thanks for your quick reply. looking at the workbook it does have that setting turned on - so maybe we are getting somewhere. I'm not entirely clear how that works though, as the field in the table itself is set to number format with 2 decimal places

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-12-17T09:58:23+00:00

    Thanks for your reply Pascal, the column has sufficient width to display the full value and I can see in the formula bar the actual value does represent that displayed in the cell

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-12-17T09:44:46+00:00

    Could it be the Excel column is too narrow to display the decimals? Try widening it a bit.

    Was this answer helpful?

    0 comments No comments
  4. Rory Archibald 18,885 Reputation points Volunteer Moderator
    2024-12-17T09:39:29+00:00

    Is the table in Excel set to display decimal places? The only option I can think of in Excel (other than code) that could cause what you are describing is the 'Set precision as displayed' option, but that is a workbook-level setting so someone would have to be turning it on.

    Was this answer helpful?

    0 comments No comments