Forum Discussion
Anonymous
4 years agoNot applicable
Power BI cannot convert to integer from Oracle
Hi, We are trying to bring an integer number from Oracle but the power query always recognize it as decimal number. We already tried use CAST ( #number as INT ) and TO_INT Oracle functions on the vi...
lbendlin
4 years agoSuper User
You can disable Power Query's feeble attempts at guessing column types. You can also override them as part of the script. Change the column to "Whole Number"
- Anonymous4 years agoNot applicable
Thanks @Ibendlin, but the client wants to avoid any transformations on power bi side.
- lbendlin4 years agoSuper User
try TRUNC(#number)
- Anonymous4 years agoNot applicable
We also used TRUNC and TO_NUMBER, nothing has worked so far.