I know this has got to be simple, but I've spend hours trying to make it work and I can't get a handle on it.
I have a report based on a set. Parent table is "Fire Department Incidents," and the Child table is "Apparatus" (vehicles).
I filter the report to a specific period of dates and a type of Incident. In the example, the incident is "Apartment Fire."
I want to show how many Apartment Fires (each incident has its own Incident Number) there were, but of course the child records cause the Incident Number to repeat for every child.
So I created a group break, which breaks at each Incident Number, and it works great. Without the group break it shows 15 entries, but with the group break it shows 8 individual Incidents. Perfect.
But now I want to show the total number of Incidents (or Incident Numbers), which should be 8, and I am stumped. I've tried dragging the Incident Number field out into the report footer, hoping it would count the number of times it appeared, but the calculation always returns "1."
I then created a simple expression that says Count1 = 1, and placed it in the group break header, so that each time the Incident Number appeared, the value of "1" would appear along side of it. I then tried putting that calculated field into the report footer, hoping it would count the 8 times it appears on the report, but it also returns a value of "1."
So how can I count the number of Incidents, which are actually group breaks?
I have a report based on a set. Parent table is "Fire Department Incidents," and the Child table is "Apparatus" (vehicles).
I filter the report to a specific period of dates and a type of Incident. In the example, the incident is "Apartment Fire."
I want to show how many Apartment Fires (each incident has its own Incident Number) there were, but of course the child records cause the Incident Number to repeat for every child.
So I created a group break, which breaks at each Incident Number, and it works great. Without the group break it shows 15 entries, but with the group break it shows 8 individual Incidents. Perfect.
But now I want to show the total number of Incidents (or Incident Numbers), which should be 8, and I am stumped. I've tried dragging the Incident Number field out into the report footer, hoping it would count the number of times it appeared, but the calculation always returns "1."
I then created a simple expression that says Count1 = 1, and placed it in the group break header, so that each time the Incident Number appeared, the value of "1" would appear along side of it. I then tried putting that calculated field into the report footer, hoping it would count the 8 times it appears on the report, but it also returns a value of "1."
So how can I count the number of Incidents, which are actually group breaks?
Comment