I need to create a calculated column using data from a table. This calculated column (x_average) is based on the application of a formula for calculating an average, where t