running number

how do i create running number in sql reporting services 1,2,3 and so on. it is beside my record. PLS HELP. thanks. guys pls post ur suggestions..Sad


Answer this question

running number

  • CBWoodSr

    Check out the function RowNumber.

    E.g. Add a row to your report and set the expression to =RowNumber(Nothing)  

    Trond

     


  • nidheesh

    hi i got it. thanks. but i have this problem. i have this reports for gross pay, deduction and payroll report. with the deduction report it works but with the other it doesnt. they are similar to one another [in terms of groupings, etc. im using this code =RunningValue(1, Count, "code")]except for the data it displays. what should be the problem in one report it has number of 3 then 5 then 3 then 5,10,15. the othe one it has 2 then 4 then 2 then 4,8,12.
    thanks a lot! i really appreciate all of ur help..

  • Dhirajgupta27

    hey.. i tried it and it worked.. thanks! my prob now is how to reset the number as the group changes. hope you could help with this. thanks again.. means a lot!Smile

  • ChrisMSG

    In this case, you can often use the RunningValue function.
    E.g. =RunningValue(1, Count, "NameOfGroupYouWantToReset")

    -- Robert

  • running number