I have a report that has 4 parameters:
- Year - accepts a single value for a year - ex: 2020
- Carrier Group - allows the user to select a single carrier grouping
- Segment - allows the end user to select one or multiple business segments
- Loss Cause - allows the end user to select one or multiple loss causes
And when I execute this report:
The report generates as expected - and I have the SSRS report set up so it creates a new tab in Excel when exported to separate the monthly totals vs the cumulative totals.
But the end users would like to be able to execute this report for multiple years to compare - so I have created a parent or main report - then I created a tablix and added the sub-report to be called - and created a row group based on the Year(s) selected.
My subreport parameters are as follows:
What I am ultimately hoping to accomplish is to pass in a single year plus the carrier group, segments and loss causes that were selected - and run the subreport for each of the years the user may select.
For example, if the user selects 2016, 2017, 2018 - the sub-report would need to be run 3 times to generate the totals for each of those years using the same parameters for carrier group, segment and loss cause.
I'm not sure what is happening but with the Year parameter as it: =Parameters!Year.Value(0)
- the report looks like it keeps generating one year over and over:
I also tried using =JOIN(Parameters!Year.Value,","
) but that did not seem to help either.
Anyone have experience on how to solve this type of issue? Thanks,
=Parameters!Year.Value(0)
would mean the first value that was selected for the parameterYear
. You want=Parameters!Year.Value
within the grouping. – Larnu