Forum Discussion
clk245
2 years agoNew Member
How to convert Data type from Text to Number
I am trying to change this column to a data type number. The values are numbers, I've trimmed the values but whenever I try to convert to number, it still throws an error.
Anonymous
2 years agoNot applicable
Hi clk245 ,
There doesn't seem to be a problem with the code provided.
If the data source is .xls file, try saving it as .xlsx and try again.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum