MDX: How to Pass a SSRS Parameter Label into a MDX Parameter

Ok Computer, Sing… us a song …

You have to pass a text string from your Reporting Services parameter (Label) into a MDX dataset as a parameter. An example MDX dataset is outlined here …


SELECT Measures.[some stuff]

ON 0,

FROM [Your Model]

WHERE

(

StrToSet("[Dimension].[Attribute].&[" + @YourString + "]")

)

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s