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. SSRS Trigonometric Functions
  2. SSRS Charts
  3. Matrix in SSRS
  4. 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 SSRS Round function to adjust the decimal precisions.

TIP: Please refer to the SSRS Sin and SSRS Tan methods from the list of available ones.

Cos Function to find the cosine value report preview