我在使用 MDX 查询对列进行排序时遇到问题。
这是我的查询:
with
Member
[Measures].[MemberUN] as '[Employee].[Employee Department].CurrentMember.UNIQUE_NAME'
member
[Measures].[Memberlevel] as '[Employee].[Employee Department].CurrentMember.LEVEL.ordinal'
Select
ORDER([Employee].[Employee Department].allmembers,[Measures].[Memberlevel]) on 1,
{[Measures].[MemberUN],[measures].[MemberLevel]} on 0
From [Adventure Works]
出于某种原因,它没有使用级别序数对表进行排序。
感谢!