Forum Discussion
kfschaefer
10 years agoHelper IV
Convert text to number
What is the proper syntax to convert a text into a number format? I need to convert some import data(xls) that for some reason is coming accross as text instead of a number. It is formatted in x...
- 10 years ago
Couple different methods, you can choose number or currency from the Modeling tab in the Data Type section and it will generally convert it just fine. There is also the VALUE function:
https://msdn.microsoft.com/en-us/library/ee634584.aspx
EMIDH
4 years agoNew Member
With most of my tables, changing Data Type under Structure in the Column Tools tab (it appears when selecting a column in Data view) does not work. I then use Power Query which I find under Home, Queries, Transform Data.
In Power Query, changing Data Type under Transform, Any Column, Data Type typically works better.