1

以下是按字母顺序排列的国家/地区列表。

如何更改它,而不是返回整个列表,而只是返回此列表中的第二个国家/地区?就我们的立方体而言,这只是Aland Islands.

SELECT
        ORDER([Geolocation].[Geography].[Geography Country].MEMBERS,
             [Geolocation].[Geography].CurrentMember.name, BASC ) ON ROWS,            
        [Measures].[DefaultMemberName] ON COLUMNS
FROM    [MyCube]
4

1 回答 1

2

可以使用item功能;如果我没记错的话,它是基于 0 的:

ORDER( [Geolocation].[Geography] ... )(1)
于 2013-06-22T07:00:21.123 回答