So it looks like (from your 2nd screenshot) is that you want to get the sum of "Total With VAT" fields and place it in "Total" field. Is this correct?
What I don't understand from the data source images compared with your second screen shot is whether your "Total" field is ALSO inside the repeating "d:SIRF_table" node.... if it is, it doesn't make sense to have it there... becase the grand total would be repeated when it only need be calculated and stored once.
Outside that... it looks like your formula should be:
sum(d:SIRF_table/@Total), but again, I can't be sure from just the visuals...
Here's the steps to do:
1. Right-click the "Total" field and choose Properties.
2. Click the "fx" button to the right of the Value field.
3. Click Insert Function, select "sum" and click OK.
4. Double-click the underlined 'insert field' text inside the sum function.
5. Choose the correct data source and select the d:SIRF_table/@Table field, and click OK 3 times.
Preview -- the "Total" field should now be summing up the row totals.