SSRS Report Parameter Bug


I came across a really odd bug today in SSRS 2005.
Bascially we have a report that has a combination of dependent parameters.

The last parameter MDX string value is then passed into the MDX dataset as a constraint.

The problem came up as the final parameter could result in the same value for 2 options; based on the other parameter selections.
For some reason the report couldn’t handle this and just passed in the first possible value each time and didn’t then allow the selection of the second option.

The solution was to make the possible outcomes of the final parameter unique by adding a nominal “YYY” to the start MDX string output, then stripping this back off when passing the parameter back into the main MDX dataset.

Very odd, I am sure there is a cleaner way to deal with this though.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s