I am trying to create a subtotal row after running total calculation. However, subtotal calculation doesn't seem correct.
I have two calculation fields. First one is to calculate running total of count of distinct emails.
Second calculation field is to use running total multiply by another field "charge quarterly".

In my final output, i also segment by cost center ID and licensing role ID. Number looks correct for "calculation 2" calculate field and non-subtotal total charges field. However, subtotal calculation for total charges field doesn't look correct. In some cases, subtotal doesn't even show up.
Can someone help me on how to add correct subtotal here?
Thanks

