Mean#

Description:

Returns the mean for the select column

Function:

Mean(table = string, col = string, new_col = string)

Parameters:

  • Table: Table name on which to perform function

  • Column (col): Column to perform Mean

  • New Column Name: Name for new column

Example:

Mean(table = Budget, col = "Amount", new_col = "AVG Amt.")
Before#

Date

Geo

Business

Plan

Actual

8/1/2024

Asia-Pacific

Energy

800

750

7/1/2024

Middle East & A

Healthcare

1200

900

5/1/2024

Latin America

Manufacturing

900

1050

9/1/2024

Asia-Pacific

Technology

1500

1300

11/1/2024

Latin America

Energy

2000

1800

After#

Date

Geo

Business

Plan

Actual

Mean

8/1/2024

Asia-Pacific

Energy

800

750

1160

7/1/2024

Middle East & A

Healthcare

1200

900

1160

5/1/2024

Latin America

Manufacturing

900

1050

1160

9/1/2024

Asia-Pacific

Technology

1500

1300

1160

11/1/2024

Latin America

Energy

2000

1800

1160