例如,考虑到 Adventure Works 数据库,我想在行上显示帐户的层次结构,在我想显示“帐户类型”属性的列上。
此 MDX 在 Account Type 列上显示“#Error”:
WITH MEMBER [Measures].[Account Type] AS [Account].[Accounts].[Account Type].CurrentMember.Name
SELECT
{[Measures].[Account Type]} ON 0,
(
[Account].[Accounts].Members
) ON 1
FROM [Adventure Works]
知道如何改进吗?