Grafana v11: how to calculate percentage from existing table columns' values?

So have a table which shows the duration of each transaction and the footer of this table also shows total amount of transactions’ duration:

I need to add a 3rd row to this table, which would display the percentage of each transaction’s duration by using this formula:

Sum * 100 / Total

Any ideas how to do it ?