The SSRS Atan function is a Mathematical function that returns the trigonometric arc tangent value, i.e., the angle of the given tan number. The syntax of the Atan arc tangent function to return the angle of the given tan numeric field is as shown below.
=Atan(30)
To demonstrate the Reporting Services Atan function, we use the Products table below, which has 14 records. The image shows the records in the table report; the result is in an empty column.
SSRS Atan function Example
To do this, right-click the textbox under the Result Header and choose the Expression to open the window below. The Atan function expression below finds the arc tangent value of the angle field or column in the product table.
=Atan(Fields!Angle.Value)
Similarly, let me create one more new column to the right of the S Grade and name it Atan Grade. The SSRS Atan function expression below finds the arc tangent value of the Service Grade field or column, i.e., the angle.
=Atan(Fields!Service_Grade.Value)
Please click the preview tab to see the Atan report. Please use the Round function to adjust the decimal precisions.