我需要一些幫助與MDX我SSRS參數代碼 方面 我試圖返回與國家的位置和類型=物質和房屋數(不作爲參數)的下拉列表 我使用的標題,uniqueName和level.ordinal方法MDX(SSRS)參數集
WITH MEMBER [Measures].[ParameterCaption] AS
[Country].[Location].CurrentMember.Member_Caption
MEMBER [Measures].[ParameterCaption2] AS
[Type].[Type].CurrentMember.Member_Caption
MEMBER [Measures].[ParameterValue] AS
[Country].[Location].CurrentMember.UniqueName
MEMBER [Measures].[ParameterLevel] AS
[Country].[Location].CurrentMember.Level.Ordinal
SELECT
{ [Measures].[HouseCount]
, [Measures].[ParameterCaption]
,[Measures].[ParameterValue]
,[Measures].[ParameterLevel]}ON COLUMNS
, ([Type].[Type].ALLmembers)ON ROWS
FROM [Cube];
這不返回我什麼後
我應該顯示只有在他們進行交叉的類型=此事,並有房子算 我,當我調整代碼要麼得到所有位置或有什麼節目表的
你還需要過濾的行與房子算選擇?也許把ON ROWS子句改爲NonEmpty([Country]。[Location]。[Location] .MEMBERS,[Measures]。[HouseCount])ON ROWS',看看它是否可以。 – GregGalloway
謝謝@GregGalloway我錯過了那一點他們的要求 – whytheq