I have query that I run with the following fields:
Manager
Emply ID
Sales
Units
Commission
My query calculates the commission based upon the total sales and units per employee. The problem is the same employee can have sales attributed to a manager and sales not attributed to a manager. When this happens, the unit and sales total double.
Is it possible to have the query correctly calculate unit totals, sales total and the commission regardless of whether the manager field is Null or has data in it?
I should have the Emply ID and Manager field are "Group By" fields.