Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
scottcabral79
Starting Member
3 Posts |
Posted - 2014-04-14 : 11:16:01
|
I am currently building some SSRS reports that sit on top of an SSAS cube.I will be using the same 2 parameters on all of the reports. These parameters are called Division and Operations and are populated from a Client Dimension table hierarchy. These parameters are also cascading, being that the Operations parameter should change based on the value in the Division parameterSince these parameters are going to be used on multiple reports, i was going to create the datasets that are going to populate them as shared datasets. here is the mdx for the Division shared dataset:WITH MEMBER [Measures].[ParameterCaption] AS [Prospect Client].[Business Area Hierarchy].CurrentMember.Member_Caption MEMBER [Measures].[ParameterValue] AS [Prospect Client].[Business Area Hierarchy].CurrentMember.UniqueName MEMBER [Measures].[ParameterLevel] AS [Prospect Client].[Business Area Hierarchy].CurrentMember.Level.Ordinal SELECT { [Measures].[ParameterCaption] ,[Measures].[ParameterValue] ,[Measures].[ParameterLevel] } ON COLUMNS, {[Prospect Client].[Business Area Hierarchy].[Division].ALLMEMBERS} ON ROWSFROM [Broker Premium]Here is the MDX for the operations shared dataset:WITH MEMBER [Measures].[ParameterCaption] AS [Prospect Client].[Business Area Hierarchy].CurrentMember.Member_Caption MEMBER [Measures].[ParameterValue] AS [Prospect Client].[Business Area Hierarchy].CurrentMember.UniqueName MEMBER [Measures].[ParameterLevel] AS [Prospect Client].[Business Area Hierarchy].CurrentMember.Level.Ordinal SELECT { [Measures].[ParameterCaption] ,[Measures].[ParameterValue] ,[Measures].[ParameterLevel] } ON COLUMNS, {[Prospect Client].[Business Area Hierarchy].[Section].ALLMEMBERS} ON ROWSFROM [Broker Premium]The change that I need to make is to get the Operations shared dataset to be cascading based on the value selected from the Division parameter. Does anyone know the correct syntax to add to the MDX to get this to work? Also, are there any other spots where I need to tell the Operations data set to be aware of the Division parameter value?thanksScott |
|
bandi
Master Smack Fu Yak Hacker
2242 Posts |
|
|
|
|