Forum Discussion

michaelpop's avatar
michaelpop
Regular Visitor
6 years ago
Solved

running total

I need a running total organisation body count for a Human Resources Report.

I have an employee name, date started and end date.

If an employee end date column is blank they are a current employee.

If I attribute a "1" to an employee with a start date and "-1" to an emplyee with a end date i can calculate the current body count.

What I can't figure out is a running total to watch the total body count fluctuate over time.

 

Any help would be appreciated !

 

6 Replies

    • michaelpop's avatar
      michaelpop
      Regular Visitor

      amitchandak thanks for this. Although I'm still trying to create a cumulative total such as the right hand column in the below example:

       

      namestart dateend datestart countend countcount totalcumulative total
      bob1/01/2018 1011
      john1/01/20181/05/20181-101
      bill1/03/2018 1012
      fred1/05/2018 1013
      sam1/05/20181/05/20181-103
      david1/02/2019 1014
      tony1/03/2019 1015
      jane1/05/2019 1016
         8-26 

       

       

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi

       

      Still not resolved, please assist. thanks

       

      Can you explain how to do a cumulative or running sum of counts of text data between selected dates. For instance, I have multiple years of data by years and months. The data includes a column containing text, say “M”, “L” etc…. I need to draw a chart showing both counts and running counts by months. And use a slicer to select a year, once I select a specific year then I should be able to visualize the counts and running counts of text of the selected year. So running counts should be for a selected time say a year, we may use Min and Max date var for a selected year.