SSRS Log Function

The SSRS Log function is a Mathematical function that returns the natural logarithmic value of base e of the given numeric field (number). The syntax of the Log function to return the base e logarithmic value of a number is as shown below.


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

To do this, right-click the textbox under the Result Header and choose the Expression to open the window below. The Log function below finds and returns the base e logarithmic value of the orders column.

  1. More Functions
  2. Charts
  3. Tables
  4. Format tables
  5. SSRS
SSRS Log Function expression to find the natural logarithmic value

Similarly, let me create two more new columns to the right of the Cost and Sales and name them Log Cost and Sales Log. The two SSRS Log function expressions below find the natural logarithmic value of base e for the Standard Cost and Sales Amount columns.


Please click the preview tab to see the Log report. To adjust the decimal precision, use the FormatNumber or Round function.

SSRS Log Function to find the natural base e logarithmic value report