@Anonymous
Please try the below steps to insert Table Footer:
1. Add a compose data operation with a Split function to get the string before the closure of table </table>

split(body('Create_HTML_table'),'</table>')
2. To get the Pre Table closure tag </table> Use below Expression

outputs('SplitByTableClosure')[0]
3. Compose your table footer using another compose operation where you add the required <td> Columns an there values as required:

4. Concatenate tBody output with tfooter output as below

concat(outputs('tbody'),outputs('tfoot'))