Hi,
I have created a report for warranty of computers with the following Formula. When i use this formula to create a Pie chart I am NOT able to see the ones that have 0 or null values.
For example if there are NO computers that have warranty expiring within the next 30 days I *** still would like it to be shown in the bar chart. Un-fortunately I don't see it in the drop down list either.
example: 15 computers expiring and there is a label below which shows "Between 30 - 60 days".
Using Crystal version 10. Formula below:
if {column.warranty_end}>= currentdate and {v_asset1.warranty_end} <= currentdate+30 then
"Less than 30 days"
else ifcolumn.warranty_end} > currentdate+30 and {column.warranty_end}<= currentdate +60 then
"Between 30 - 60 days"
else if{column.warranty_end} > currentdate+60 and {column.warranty_end}<= currentdate +90 then
"Between 60 - 90 days"
else if{column.warranty_end} > currentdate+90 and{column.warranty_end}<= currentdate +365 then
"Between 90 days and 1 year"
else if{column.warranty_end} > currentdate+365 and {column.warranty_end}<= currentdate +730 then
"Between 1 - 2 years"
else if{column.warranty_end} > currentdate+730 then
"greater than 2 years"
else if isnull({column.warranty_end}) then
"no warranty"
else
"Warranty Expired"
Thanks very very much
Regards,
Jk
I have created a report for warranty of computers with the following Formula. When i use this formula to create a Pie chart I am NOT able to see the ones that have 0 or null values.
For example if there are NO computers that have warranty expiring within the next 30 days I *** still would like it to be shown in the bar chart. Un-fortunately I don't see it in the drop down list either.
example: 15 computers expiring and there is a label below which shows "Between 30 - 60 days".
Using Crystal version 10. Formula below:
if {column.warranty_end}>= currentdate and {v_asset1.warranty_end} <= currentdate+30 then
"Less than 30 days"
else ifcolumn.warranty_end} > currentdate+30 and {column.warranty_end}<= currentdate +60 then
"Between 30 - 60 days"
else if{column.warranty_end} > currentdate+60 and {column.warranty_end}<= currentdate +90 then
"Between 60 - 90 days"
else if{column.warranty_end} > currentdate+90 and{column.warranty_end}<= currentdate +365 then
"Between 90 days and 1 year"
else if{column.warranty_end} > currentdate+365 and {column.warranty_end}<= currentdate +730 then
"Between 1 - 2 years"
else if{column.warranty_end} > currentdate+730 then
"greater than 2 years"
else if isnull({column.warranty_end}) then
"no warranty"
else
"Warranty Expired"
Thanks very very much
Regards,
Jk