JETREPORTS - Subtotaling for each group

Hello,

Can you guys help me how to solve my subtotaling in every group? because in my report I created a subtotal for each group by using the =SUBTOTAL(9,N14:N20) solution. But I think it gets the wrong subtotaling. please see attached file. I hope that you can help me solve this problem.

anyway,

I solved it already! here’s the answer:

H13 should be =NL(“Rows=7”, currently I have Rows=8 which means that I do not have an anchor row below my replicator region.