How to calculate total?

Hi @domsmgtmeet22

Check this thread,It might helps you

Hope it helps!!