How can I do a bill of material with a column which is the sum of weight of all sub-assembly.

How can I do a bill of material with a column which is the sum of weight of all sub-assembly.

SolidworksBill Of Materials