我有这个查询,我可以在 SSMS 中毫无问题地执行它,它按降序显示。
with
member [Measures].[YTD Sales] as
[Measures].[Invoiced_Am]
select [Measures].[YTD Sales] on columns,
order([01 Customer].[Customer_Nm].[Customer_Nm],
[Measures].[YTD Sales], desc) on rows
from [VismaBusinessLogistics_cube]
如何在 SSRS 的查询设计器中对结果进行排序?我不能在那里创建一个 select - 子句。如果我使用 order 函数尝试此操作,它只会在创建计算成员的外部浏览窗口中显示空值:
order([01 Customer].[Customer_Nm].[Customer_Nm],
[Measures].[YTD Sales], desc)