The formula are not updated by the relatorio loops.
But I think it would be a great feature to add to relatorio: updating formula the same way the UI does when expanding it horizontally or vertically. It could follow a little the same design as the column looping.
Meanwhile I would advise to make the computation in relatorio with a Python expression.