SSRS Tan Function

The SSRS Tan function is a Mathematical function that returns the trigonometric tangent value of the given angle. The syntax of the Tan function to return the cosine value of the numeric field is as shown below.

=Tan(90)

To demonstrate the Tan function in Reporting Services, 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.

Source Table

SSRS Tan function Example

To do this, right-click the textbox under the Result Header and choose the Expression to open the window below. The Tan function below finds the Tangent value of the Angle column in the Product table.

  1. More Functions
  2. Charts
  3. Tables
  4. Format tables
  5. SSRS
=Tan(Fields!Angle.Value)
SSRS Tan Function expression to find the tangent value

Please click the preview tab to see the Tan report. Please use the Round function to adjust the decimal precisions.

SSRS Tan Function to find the tangent value of an angle report