Hello,
You can do this by using the following formula.
sum(eval(Product, "my:value"))
Where:
Product is the repeating table name and my:value is the field value that you whant to calculate.
I've attached a form template with this example.