我有这个查询,我可以在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)