How to customize your subtotals in Zoho report?

How to customize your subtotals in Zoho report?

I have a table something line this
ID   TotalFees AdminFees
A     100          10
A     100          10
B     200         10
B     200         10

I need to generate a report (table view, pivot) something like below

ID    TotalFees
A      200
SubTotal A    200 - 10 = 190
B     400
SubTotal B    400 - 10  = 390

Can someone help please