Acos, Cos and Sin functions in DAX PowerPivot
Hi,
I am relatively new to DAX. I did not find any Sin, Cos or Acos functions in DAX.
I need to convert this Excel formula to DAX in PowerPivot.
=SUM(IF(ACOS(COS(RADIANS(90-$R3))*COS(RADIANS(90-[Latitude]))+SIN(RADIANS(90-$R3))*SIN(RADIANS(90-[Latitude]))*COS(RADIANS($S3-[Longitude])))*3958.756<$AG$1,1,0))-1
Please help.
Regards:
Muhammad Ehsan
|