mondrian按指标排序

ORDER语法如下:
Order(«Set», {«String Expression» | «Numeric Expression»} [, ASC | DESC | BASC | BDESC])

示例:
select NON EMPTY {[Measures].[user_count]} ON COLUMNS,
  NON EMPTY Order(Hierarchize(Union({[channel].[All channels]}, [channel].[All channels].Children)), [Measures].[user_count], DESC) ON ROWS
from [install]

你可能感兴趣的:(mondrian按指标排序)