SSAS / MDX 查询 - 对单元集进行排序
我有一个 MDX 查询,其中我从 SSAS 多维数据集返回产品列表以及该商品的总销售价值,如下所示:
SELECT
NON EMPTY
{ [Item].Children } ON COLUMNS,
{ [Total Line Value] } ON ROWS
FROM [Sales Analysis]
我想要做的是以降序方式对结果进行排序(即已售出的部分)最多的将位于顶部,依此类推)。这可能吗?任何帮助将不胜感激,谢谢。
I have an MDX query where I am returning a list of products and the total sales value for that item from my SSAS cube, like so:
SELECT
NON EMPTY
{ [Item].Children } ON COLUMNS,
{ [Total Line Value] } ON ROWS
FROM [Sales Analysis]
What I would like to do is sort the results in a descending fashion (ie the part that has sold the most will be at the top, and so forth). Is this possible? Any help would be appreciated, thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个
Try this