Forum Discussion
Anonymous
5 years agoNot applicable
Convert minus number
How can I convert -1.5 of type text to number? I tried with value() but getting error :
Cannot convert '-1.5' of type text to type number.
- Anonymous5 years ago
You can use the CONVERT() function keeping the second argument as Double.
For Example:
ConvertToDecimal = CONVERT(ALL('Table1'[Column1]),DOUBLE)
5 Replies
- AnonymousNot applicable
You can use the CONVERT() function keeping the second argument as Double.
For Example:
ConvertToDecimal = CONVERT(ALL('Table1'[Column1]),DOUBLE) - amitchandakSuper User
Anonymous , Try to change the data type to number(Power Query). Is it giving error
- AnonymousNot applicable
Can you explain more with example?
- prashpawarFrequent Visitor
Hello Anonymous
Please try in tranform Data ( Query Editor )
change datatype of this particular colunm to number- AnonymousNot applicable
Unfortunately it is not possible to do this. I read data from a table which other values in this table works fine for other measures. I should do this seperately with dax.