私は使用SSAS
し、SQL Server 2008R2
AdventureWorkDW 次元データベースを使用しています。
私はこのクエリを書きます:
Select
[Measures].[Internet Sales Amount] on columns,
order(
[Product].[Product Categories].[Subcategory],
[Measures].[Internet Sales Amount],
asc
) on rows
From [Adventure Works]
私はこのような結果を得ました:
また、私はこのクエリを書きます:
Select
[Measures].[Internet Sales Amount] on columns,
non empty order(
crossjoin(
[Product].[Category].[Category],
[Product].[Subcategory].[Subcategory]
),
[Measures].[Internet Sales Amount],
desc
) on rows
From [Adventure Works]
また、結果もソートされません:
結果がソートされなかったのはなぜですか?