July 28, 2010 at 12:10 pm
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.
August 4, 2010 at 4:23 pm
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
August 5, 2010 at 3:05 am
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]
August 6, 2010 at 1:52 am
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