Forum Discussion

PabloN820's avatar
PabloN820
Copper Contributor
Jul 11, 2024

how to count data from a specific variable reporting services and management studio stored procedure

Hi I'm kind of new with management studio and reporting services, sorry for this newbies question in advance.   I'm trying to count a variable's value each time its value changes. The flow is the f...
  • olafhelper's avatar
    Jul 11, 2024

    PabloN820 , use the aggregation function SUM for the result.

    -------------------------- Output ------------------------
    select SUM(yourColumn) AS Result from #MyTable

Resources