Substitute command for OVER in SSRS

前端 未结 1 2004
野趣味
野趣味 2020-12-21 22:42

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 PAR

相关标签:
1条回答
  • 2020-12-21 23:01

    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:

    select d.*, 
           ROW_NUMBER() over (partition by date order by id) rn 
    from dbo.myTable d
    
    0 讨论(0)
提交回复
热议问题