one formula will be your MTD
table.debit-table.credit
the YTD is a Running Total (or shared variable formulas) using the MTD formula
RT
Name = YTD
type = sum
evaluate=for each record
reset=never
place on details to see rolling value and also in Report footer to see final outcome. will not work in a header.
Edited by DBlank - 16 Mar 2015 at 4:13am