Here is my problem.
I am trying to make a query that will produce a table with a count of projects in different stages. I have 3 groups A,B, and C. Each one of those groups has a number of projects that can be in stages 1, 2, 3, or 4. Each project has a series of check boxes illustrating when a stage is completed. So I created 4 independent queries to return the count of projects in a given stage per group. Each of these 4 queries return only 2 columns of data - Group and Count. And they all work well. I then created a 4th query to tie them all together (relating the Group column of the queries together). The issue I am having is only group B has projects in Stage 4, so the stage 4 query only returns a value for Group B. Ergo, when i try to put them all together in the 5th query it only returns results from Group B because it is the only group all of the other share. if I remove the stage 4 query, the final query work perfectly.
My question is; is there a way to force the stage 4 query to return zero as a result for Groups A and C? OR Is there a way to set up the final query so that when is sees Null values for Group A and C in Stage 4, it inserts a zero value?
Any thoughts you have would be appreciated. Thank you.
I am trying to make a query that will produce a table with a count of projects in different stages. I have 3 groups A,B, and C. Each one of those groups has a number of projects that can be in stages 1, 2, 3, or 4. Each project has a series of check boxes illustrating when a stage is completed. So I created 4 independent queries to return the count of projects in a given stage per group. Each of these 4 queries return only 2 columns of data - Group and Count. And they all work well. I then created a 4th query to tie them all together (relating the Group column of the queries together). The issue I am having is only group B has projects in Stage 4, so the stage 4 query only returns a value for Group B. Ergo, when i try to put them all together in the 5th query it only returns results from Group B because it is the only group all of the other share. if I remove the stage 4 query, the final query work perfectly.
My question is; is there a way to force the stage 4 query to return zero as a result for Groups A and C? OR Is there a way to set up the final query so that when is sees Null values for Group A and C in Stage 4, it inserts a zero value?
Any thoughts you have would be appreciated. Thank you.