I have a problem that I have an imperfect solution for...
Maybe some of you can help.
I am producing a Complement Report that lists positions allocated grouped by Division and then by Dept ID within each division.
I have a query that generated this, plus a COUNT of filled positions from the PS_EMPLOYEES table and simply use a formula to subtract filled from allocated to generate vacant.
The problem is that I need a DISTINCT Count of the Positions filled as some position numbers are shared.
If I change my query to just list positions numbers and then create a distinct count in crystal I run into major problems in creating subtotals.
I have to hide the details and then have a hard time creating a subtotal for vacant positions (as they are already a formula to begin with).
If I can get this solved, then generating a subtotal of positions allocated will not be too bad.
Maybe some of you can help.
I am producing a Complement Report that lists positions allocated grouped by Division and then by Dept ID within each division.
I have a query that generated this, plus a COUNT of filled positions from the PS_EMPLOYEES table and simply use a formula to subtract filled from allocated to generate vacant.
The problem is that I need a DISTINCT Count of the Positions filled as some position numbers are shared.
If I change my query to just list positions numbers and then create a distinct count in crystal I run into major problems in creating subtotals.
I have to hide the details and then have a hard time creating a subtotal for vacant positions (as they are already a formula to begin with).
If I can get this solved, then generating a subtotal of positions allocated will not be too bad.