SSRS Cos Function

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

=Cos(90)

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

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

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

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

SSRS Cos Function to find the cosine value report preview