Forum Discussion
M - acos returns NaN
I have a problem, I use acos (Number.Acos([Column1])) in creation of a custom column in Power Query. However, the function only seem to return a number value when the input is between 0 and 1. Otherwise it returns NaN. How can i circumvent this?
- Anonymous6 years ago
HI vehau1 ,
As the document said, it will return the decimal value. I'd like to suggest you change column type to decimal to display detail values.
In addition, please double-check the inputted parameter to confirm they are valid for this function.
Regards,
Xiaoxin Sheng
1 Reply
- AnonymousNot applicable
HI vehau1 ,
As the document said, it will return the decimal value. I'd like to suggest you change column type to decimal to display detail values.
In addition, please double-check the inputted parameter to confirm they are valid for this function.
Regards,
Xiaoxin Sheng