Forum Discussion
xieyifan2008
6 years agoFrequent Visitor
Strange Data Type Conversion from Number to Text
Hi, I have a table in Excel file and all the cells are General data type. When I import to Power BI through query and change data type to Text, the result is strange. Can someone help ...
- 6 years ago
Hi xieyifan2008 ,
I got response from PG:
"This is by design. Numbers in Excel use floating point, so certain values can't be represented with full precision.
We apply the same display rounding that Excel uses when rendering the preview tables that contain numbers. But if you click on a cell you can see the full (non-rounded) value.
If you convert the column to Text (as this customer did), you get the full non-rounded value."
v-frfei-msft
6 years agoCommunity Support
Hi xieyifan2008 ,
Thanks for pointing it out, I can reproduce it by using the same version of Power bi desktop as yours. I have reproted it to PG. Once fixed, will let you know 🙂
xieyifan2008
6 years agoFrequent Visitor
Thanks for your help.