Forum Discussion

CharlotteM's avatar
CharlotteM
Qrew Assistant Captain
7 years ago

report with duplicate rows

I have Invoice headers and Invoice lines coming in from QuickBooks.  I am reporting off of Invoice lines, and using some related tables to match the invoice lines with the team members whose time is being invoiced on them.

There can be more than one line per invoice, and more than one team member per invoice (although there is always only one team member per invoice line).

What I want is a report that shows, for all open invoices, ONE report line for each combination of Client, Invoice number, and Team member.    I don't need all the line items that might relate to all three of these things, because they are duplicates (for my purposes, they only differ by line number).

The end goal is to show all the open invoices (by client) per team member - and their dollar total, by both client and team member.

If I use a group on a repot that does include all the invoice lines (not de-duped), it wants to add all the dollar totals together at the group level, which is incorrect because each line contains the dollar total for the entire invoice, not the line.

What to do?