Hi All.
I have the below query which selects data and then counts the number of records that fits the criteria. The criteria is that the Equipment's Owner Department is 'Equipment Pool' and location is 'Equipment Pool'.
Working query
I now want to be able to count the records where the criteria is Owner Department is 'Equipment Pool' but the location is NOT LIKE 'Equipment Pool'. When I enter this criteria, I get the below results, where the Devtype for each location shows. I don't need to know the location, only the count of devtypes that are NOT LIKE 'Equipment Pool'.
So for Example, the result I want for the first line is...
Devtype CountofLocation
BED ELECTRIC DRIVEN 10
The value of 10 comes from the 7 located in 1A, 1 located in 2A and 2 located in 5C.
Is there a way to get this from the query, or do I need to create another query to add up these values?
Thanks in advance.
I have the below query which selects data and then counts the number of records that fits the criteria. The criteria is that the Equipment's Owner Department is 'Equipment Pool' and location is 'Equipment Pool'.
Working query
I now want to be able to count the records where the criteria is Owner Department is 'Equipment Pool' but the location is NOT LIKE 'Equipment Pool'. When I enter this criteria, I get the below results, where the Devtype for each location shows. I don't need to know the location, only the count of devtypes that are NOT LIKE 'Equipment Pool'.
So for Example, the result I want for the first line is...
Devtype CountofLocation
BED ELECTRIC DRIVEN 10
The value of 10 comes from the 7 located in 1A, 1 located in 2A and 2 located in 5C.
Is there a way to get this from the query, or do I need to create another query to add up these values?
Thanks in advance.