I'm using the below Parameter as an expression in my report to feed a number between 1 & 7. How do I sum this column?
=Parameters!NoofBookingsYear1.Value
Expression: [@NoofBookingsYear1]
Data is grouped by Season.
I'm using the below Parameter as an expression in my report to feed a number between 1 & 7. How do I sum this column?
=Parameters!NoofBookingsYear1.Value
Expression: [@NoofBookingsYear1]
Data is grouped by Season.
Unfortunately, there's not a built in way to do this. Fortunately, there's Code to work around limitations. You would need some VB code to sum your parameter.
For your expression, you'll want to send all selected amounts of your parameter to the summing function:
For your code, you'll want to parse out the comma and add the numbers:
I don't have any error checking, so if there's an invalid value, it will probably error out.