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 view, but didn't work.
8 Replies
- lbendlinSuper 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"
- AnonymousNot applicable
Thanks @Ibendlin, but the client wants to avoid any transformations on power bi side.
- lbendlinSuper User
try TRUNC(#number)