Ssas 显示除其中一个国家外的所有国家

Ssas 显示除其中一个国家外的所有国家,ssas,mdx,windows-server-2008-r2,Ssas,Mdx,Windows Server 2008 R2,我想显示除美国以外的所有国家/地区,我应该如何在where语句中写入MDX代码 另一个例子是显示除2006年以外的所有年份 除此之外,您可以使用 除美国以外的所有国家: {Except([Customer].[Customer Geography].[Country].members, [Customer].[Customer Geography].[Country].&[United States])} 或更简短的版本: WHERE -{[Customer].[

我想显示除美国以外的所有国家/地区,我应该如何在where语句中写入MDX代码

另一个例子是显示除2006年以外的所有年份


除此之外,您可以使用

除美国以外的所有国家:

 {Except([Customer].[Customer Geography].[Country].members,
     [Customer].[Customer Geography].[Country].&[United States])} 
或更简短的版本:

WHERE
   -{[Customer].[Customer Geography].[Country].&[United States]}