sql server - Row number of a group within a group in an SSRS report -
i trying assign row number group, under group in ssrs 2008 report. how report looks:
salesman1 - customer group1 - row number 1
customer group2 - row number 2 customer group3 - row number 3 --------------- ---------------
salesman2 - customer group1 - row number 1
- customer group2 - row number 2 - customer group3 - row number 3
as can see above, outer group salesman group , inner group customer group. want assign serial number/row number customer group.
i have tried lot of runningvalue functions , rownumber functions nothing seems work. appreciated.
thanks
select ..., row_number() over(partition yourgroupid) ....,
Comments
Post a Comment