SSRS Tanh Function

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

=Tanh(60)

To demonstrate the Tanh 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 Tanh function Example

For this, right-click the textbox under the Result Header and choose the Expression to open the window below. The Tanh function expression below finds the Hyperbolic tangent value of the Service Grade field or column in the Product table.

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

Similarly, let me create one more column to the Angle’s right and name it Tanh Orders. The SSRS Tanh function expression below finds the Hyperbolic tangent value of the Orders field or column.

=Tanh(Fields!Orders.Value)

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

SSRS Tanh Function to find the hyperbolic tangent value