This will return only the most recent record for each group.
If you want to suppress the group header and the detail section if the most recent record is > 0 (or do you mean you only want to suppress when it equals a certain value > 0?) then go to format section->group header->suppress and enter:
if {table.date} = maximum({table.date},{table.yourgroupfield}) then {table.endingbal} > 0
Add this formula to the details section->suppress->X+2 area also.
This should suppress the group header and details section if the most recent record shows an ending balance > 0.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.