The report I’m working on now requires a running count for each line item within a group. Fortunately, Jasper has an easy way of doing this, by simply using $V{groupname_COUNT}, where groupname is the name of your group.