SSRS 中 OVER 的替代命令
如何在 SSRS 2008 中实现 OVER() 命令?
有什么技巧吗,还是我被困住了?
如果我确实无法使用 OVER(),那么如何在 SSRS 报告中使用 PARTITION?
OVER() 满足我的要求,Telerian(另一位成员)指出这一点非常有帮助 - 但 SSRS 似乎无法使用它进行报告。
每次我在 SSRS SELECT 语句中使用 OVER() 或 PARTITION 的变体时,我都会被系统拒绝 - 有什么想法或解决方法吗?
我从 2008 Query Studio 收到的错误消息是:
The OVER SQL construct or statement is not supported.
How can I implement the OVER() command in SSRS 2008?
Is there a trick to it, or am I stuck?
And if I am indeed not able to use OVER(), then how can I use PARTITION in a SSRS report?
OVER() satisfies my requirements, and Telerian (another member) was very helpful by pointing it out - but SSRS doesn't seem to be able to use it for reporting.
Every time I use a variant of OVER() or PARTITION in the SSRS SELECT statement, I get rebuffed by the system - any thoughts or work-arounds?
The error message that I was receiving from the 2008 Query Studio was:
The OVER SQL construct or statement is not supported.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能是由于未包含汇总列的列别名 - 以下 SQL 在 SSRS 中为我生成了一个可用的数据集:
This may be due to not including a column alias for the summarised column - the following SQL generates a usable dataset for me in SSRS: