CR 10.0
SqlServer
We have an Accounts Payable report that list all outgoing checks, the amounts, and what invoices they are paying. I have a distinct count on check number so we see the number of checks per vendor that we write per month. The report is grouped by Vendor. I do the distinct because some checks could cover three invoices so it is listed three times with three different amounts. This all works fine. HOWEVER.....
For some vendors, we pay by wire transfer. So, under Vendor ABC there may be 16 transactions all with a check number of 0. This is actually 16 different checks. Is there a way to do a distinct count on everything unless Check # <> 0 then do a count?
Thanks for any input.....
Jeff
SqlServer
We have an Accounts Payable report that list all outgoing checks, the amounts, and what invoices they are paying. I have a distinct count on check number so we see the number of checks per vendor that we write per month. The report is grouped by Vendor. I do the distinct because some checks could cover three invoices so it is listed three times with three different amounts. This all works fine. HOWEVER.....
For some vendors, we pay by wire transfer. So, under Vendor ABC there may be 16 transactions all with a check number of 0. This is actually 16 different checks. Is there a way to do a distinct count on everything unless Check # <> 0 then do a count?
Thanks for any input.....
Jeff