I have an A/R report with customer, check & amount. The detail level of the SQL table is invoice number. I am grouping on customer ID. Each customer may have several rows on the report, each a separate check. Each row may be made up of one or more rows from the SQL table, depending if the payment was for one or more invoices.
I have a subtotal for each customer. The problem is I'd like to only show subtotals for customers who have more than one row. I tried setting the visibility of the subtotal row based on count but it looks like it is counting rows from the SQL table, not rows on the report. It will display customers with multiple checks, but some customers even with a single check (row on the report) get a subtotal because the check is composed of more than one invoice. How can I count the rows on my report and not the rows returned from the database?