Hello,
I'm using crystal version 9.
My problem is that I need to create a percentage barchart and I am not sure where to begin.
My prob -
I have 4 fields in my table (sql server 2000) salary, bonus, deferredbonus, band. The band field has the following values - A, B, C, D.
1)I have to sum the salary field
2) I need to sum the bonus field for records that have a band b and then calculate the percentage it is of the sum of the salary field.
So for example - the sum of the salary field is 100. The sum of the bonus field for records with band B is 10. The percentage then is 10% of the sum of the salary field.
I then need to do exactly the same for the deferredbonus field and stack the 2 percentages on top of each other.
So in this example - lets assume deferredbonus is also 10%.
So there would be 2 bars equalling 20% and then blank space for the other 80%.
I hope that makes sense!
Does anyone know how tp implement this?
I'm using crystal version 9.
My problem is that I need to create a percentage barchart and I am not sure where to begin.
My prob -
I have 4 fields in my table (sql server 2000) salary, bonus, deferredbonus, band. The band field has the following values - A, B, C, D.
1)I have to sum the salary field
2) I need to sum the bonus field for records that have a band b and then calculate the percentage it is of the sum of the salary field.
So for example - the sum of the salary field is 100. The sum of the bonus field for records with band B is 10. The percentage then is 10% of the sum of the salary field.
I then need to do exactly the same for the deferredbonus field and stack the 2 percentages on top of each other.
So in this example - lets assume deferredbonus is also 10%.
So there would be 2 bars equalling 20% and then blank space for the other 80%.
I hope that makes sense!
Does anyone know how tp implement this?