For more flexible reporting, there are three important option groups:
hledger balance [CALCULATIONTYPE] [ACCUMULATIONTYPE] [VALUATIONTYPE] ...
The first two are the most important: calculation type selects the basic calculation to perform for each table cell, while