I am developing a report in Crystal and I need to do a count on a particular field that has several different statuses. For example, I have a "StatusType" field in my report that contains values that are "In Process", "Rejected", "On Hold", or "Submitted"
. I want to be able to do a count on the "StatusType" field as to how many values are "Rejected" and "Submitted"
in one formula. The report is grouped by "StatusType"
.
I'm new to writing formulas in Crystal Reports so would appreciate some guidance with getting a formula that will count those two values in the field. Please let me know what additional information is needed or would be helpful to assist with my question.
I do not need to display the total count for each Status Type at the start/end of each group, but would like to in the page or report header. I'm not sure which would be best. I would like to have counts of each status in one spot on the report and then be able to combine a couple of the status counts, such as the "Rejected"
and "Submitted"
. None of the counts I want to display need to be within the body of the report or within the details but rather in the report/page header.