How Can I write equation with total price of the project ?

Hello

I have some problems with equation.

I make a bill of Material and I would like to know what is the cost of the whole parts ( see enclosed attach. ).

Could you explain me how can I add equation ?

What happen when I add or remove an item ? ( the bill of material refresh automatically ? )

Best Regards

Michał

SolidworksBill Of Materials