Per my research, there is no OOTB way to real-time calculate the total which refers to the sum of the expenses minus the total amount available for month or quarter.
As a workaround, you could Export the list to excel, then use calculate function in the excel.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.