Add
the Expression for the Computed Column
- In
the Query Builder, click Computed Columns.
- In the Computed Columns window, click New.
- In the New Computed Column wizard, select Advanced expression, and then click Next.
- The profit column can be calculated by subtracting
the wholesale price from the retail price and multiplying the result
by the quantity of items that were ordered.
You can either copy and paste this expression into the box
at the top of the expression box or follow steps A–F
to build the expression.
(t1.UnitPrice - t3.UPRICE)
* t3.QUANTITY
|