SSRS that uses SSAS cube as data source

  • I have a report that uses a cube as its data source. And I have defined the parameters. I wanted to display the parameters as a report title , when I tried it displays as [DimensionName].[AttributeName].&[Value]. I don't want to see the dimension and attribute name to be displayed

    Example: [Address].[City].&[Washington] is displayed on the report I only wanted to see Washington .

    I would apperciate your prompt response.

  • Add:

    DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME

    to your MDX right before "From [Cube]"

    I use that in exactly the same situation querying the cube in SSAS from SSRS. you might also want to Google "Dimension Properties" for more info.

    Don

  • Try something like this:

    WITH

    MEMBER [Measures].[ParameterCaption] AS '[Geography].CURRENTMEMBER.MEMBER_CAPTION'

    MEMBER [Measures].[ParameterValue] AS '[Geography].CURRENTMEMBER.UNIQUENAME'

    SELECT

    {

    [Measures].[Results],[Measures].[ParameterCaption],[Measures].[ParameterValue]

    } ON 0,

    nonempty([Geography].[Region])

    on 1

    FROM [MyCube]

  • If you want to see the parameter caption on the report (as opposed to its value) use =Parameter!State.Label.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply