This is probably a simple question, but I am new to Crystal and I don't have any good documentation, so here goes.
I have two tables, Incidents and Claims. An incident can have more than one claim, and each incident is grouped by type. Each claim has some monetary value assocaited, but an incident does not always have an associated claim.
What I am trying to do is list out the distinct incident types, and then a count of that incident type and also the number of claims related to that incident type, and the total value associated with the claims. Something like..
Type Number Inc. Number Claims. Total Claim
S/F 5 2 $250
Theft 3 1 $1000
...
I can get the distinct incident types, but my count is not correct, and I am having a bad time getting the number and cost of claims. I can actually put together a few SQL statements to get what I need, but that does not seem to help me. Hopefully someone can help me!
I have two tables, Incidents and Claims. An incident can have more than one claim, and each incident is grouped by type. Each claim has some monetary value assocaited, but an incident does not always have an associated claim.
What I am trying to do is list out the distinct incident types, and then a count of that incident type and also the number of claims related to that incident type, and the total value associated with the claims. Something like..
Type Number Inc. Number Claims. Total Claim
S/F 5 2 $250
Theft 3 1 $1000
...
I can get the distinct incident types, but my count is not correct, and I am having a bad time getting the number and cost of claims. I can actually put together a few SQL statements to get what I need, but that does not seem to help me. Hopefully someone can help me!