Good morning;
Ultimately I want to add four parameters to a report I am preparing, but for now I'm dealing with just two. I started with {?YearParameter}, a dynamic parameter that repopulates when data is entered for a new year. The filter is simple, simply looking for records where the recording year equals the parameter. The report will always be run just for a single year.
There is a second field (sex) which is numeric: 1 for male, 2 for female and 3 for unknown. I want to be able to filter for any of those options, plus ALL. I have set up a static parameter "Gender" which is string type.
I'm having trouble with the filter. Conceptually it goes like this: filter for records where the year matches the first parameter AND (if Gender = 'Male' the filter must also look for record with sex=1). Once we include 'Female' and 'Unknown' and 'All' it gets more complicated.
Does anybody want to speculate on the easiest approach? Remember that ultimately I want to add additional parameters.
Thanks.
D
Ultimately I want to add four parameters to a report I am preparing, but for now I'm dealing with just two. I started with {?YearParameter}, a dynamic parameter that repopulates when data is entered for a new year. The filter is simple, simply looking for records where the recording year equals the parameter. The report will always be run just for a single year.
There is a second field (sex) which is numeric: 1 for male, 2 for female and 3 for unknown. I want to be able to filter for any of those options, plus ALL. I have set up a static parameter "Gender" which is string type.
I'm having trouble with the filter. Conceptually it goes like this: filter for records where the year matches the first parameter AND (if Gender = 'Male' the filter must also look for record with sex=1). Once we include 'Female' and 'Unknown' and 'All' it gets more complicated.
Does anybody want to speculate on the easiest approach? Remember that ultimately I want to add additional parameters.
Thanks.
D