I am building a revenue scan for my company.
The query that I am trying to build adds up the revenue for that month.
The first 'where' expression filters out the dates that I want for the additions. (works fine)
The second 'where' I am trying to filter out one of my agents. However, it does not seem to be working. (=Not (agent's name)) It is not filtering out that agent's sales in the sum.
The 'group by' seperates the different sale types. (works fine)
the sum is the addition of the amounts for the seperate sale types.
Is it possible to use two different 'where' expressions?
If so, can somebody give me some pointers on how to comeplete this query.
I appreciate any help that can be given.
Thanks again.
Jon
The query that I am trying to build adds up the revenue for that month.
The first 'where' expression filters out the dates that I want for the additions. (works fine)
The second 'where' I am trying to filter out one of my agents. However, it does not seem to be working. (=Not (agent's name)) It is not filtering out that agent's sales in the sum.
The 'group by' seperates the different sale types. (works fine)
the sum is the addition of the amounts for the seperate sale types.
Is it possible to use two different 'where' expressions?
If so, can somebody give me some pointers on how to comeplete this query.
I appreciate any help that can be given.
Thanks again.
Jon