Sales would be count(salesPersonID) as of yesterday
Total sales would be the distinct amount of each person who made a sale(who still work as of today-1)
E.g.
-10 sales people work in new york, 8 of them have made sales(dont care if they made multiple).
-NY could have had 2 additional employees who got fired last week who both have made a sale (making it 10, rather than 😎 they are not included since they arent working as of yesterday
I cant seem to come up with the correct expressions and need help creating them.