DataSet Manipulation
I have a table with three fields:
String name
Double severity
Double tally
What I need to report on is the following:
Criteria 1) (severity > 2 and severity < 4) and Tally > 10
Criteria 2) severity = 4
Criteria 3) severity = 5
With these criteria, I need to count the number of times a name and criteria occur
i.e. name, severity, tally
bob, 5, 1
bob, 4, 1
bob, 4, 3
bob, 4, 2
bob, 5, 1
sally, 2, 12
sally, 3, 2
sally, 3, 20
Would result in:
name, criteria_matched, count
bob, 3, 2
bob, 2, 3
sally, 1, 2
I tried to use the attached example I found in the devshed to get me started but I am having mixed results in what I get back.
Is there a better way to do this?
Using Birt 3.7.1