I am created a report in Crystal 10 to pull a list of case counts for the year. It's using a chart to break down by case type for each month.
The report currently looks like this:
Jan Total
Diagnostic 76 76
Interventional 37 37
Pacers 33 33
Specials 20 20
Total 166 166
The total for each case type is determined by a distinct count of the following formulas:
if {CATH_PROC_V.CASE_TYPE} = "Interventional Cath" then 1
else if {CATH_PROC_V.CASE_TYPE} = "Interventional PV" then 1
CDBl
(sum({@Interventional},{CATH.CATHID}) > 0
and not({CATH_PROC_V.CASE_TYPE} in ['Diagnostic Cath','Diagnostic PV'])
or
(sum({@Interventional},{CATH.CATHID}) = 0)
)
My question is how to modify this report to restrict based on a procedure? For each case there are multiple procedures. If I simply add 'is not one of' witht he cancellation procedure name in the select expert, it then counts all the procedures, rather than the case counts. Is there an easy way to accomplish this? Hopefully I have given you enough information...
Thanks for any help!
The report currently looks like this:
Jan Total
Diagnostic 76 76
Interventional 37 37
Pacers 33 33
Specials 20 20
Total 166 166
The total for each case type is determined by a distinct count of the following formulas:
if {CATH_PROC_V.CASE_TYPE} = "Interventional Cath" then 1
else if {CATH_PROC_V.CASE_TYPE} = "Interventional PV" then 1
CDBl
(sum({@Interventional},{CATH.CATHID}) > 0
and not({CATH_PROC_V.CASE_TYPE} in ['Diagnostic Cath','Diagnostic PV'])
or
(sum({@Interventional},{CATH.CATHID}) = 0)
)
My question is how to modify this report to restrict based on a procedure? For each case there are multiple procedures. If I simply add 'is not one of' witht he cancellation procedure name in the select expert, it then counts all the procedures, rather than the case counts. Is there an easy way to accomplish this? Hopefully I have given you enough information...
Thanks for any help!