Track a running total in a line chart
Accumulate a numeric value by date and check the running total against the records included in the chart.
Use a running total to see how much work has accumulated over the displayed period. For example, chart hours logged using a table with one record per day, a date field, and a numeric field for that day’s hours.
Accumulate a daily value
- On a dashboard you can manage, select Add Widget → Create a New Widget → Line Chart. To adapt an existing line chart, select Configure widget on its card.
- In Data, choose the source table. Set Category to the date field and Group dates by to None (raw values) so each source date stays visible.
- Under Value, select the numeric hours field and set Summarize as to Raw values. Keep a single value series for this example.
- Open Advanced. Under Value 1 calculation, set Calculation to Cumulative Sum.
- Select Create or Update Widget. Hover over successive dates to check the cumulative values.
Check the total
If the first three dates have 2, 0, and 5 hours, the chart should show 2, 2, and 7. The zero-hour day carries forward the previous total.
If the total differs from the table, check which records the chart includes. Its running total starts with the earliest included value, so narrowing the period or applying a dashboard filter can change where the sum starts. Filter the source table the same way and sum the included values through the date you want to check.
Ask Mainbase AI
Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.
Open the AI assistantCopy a question to get started
- How do I create a Kanban view?
- How do I invite a teammate?
- Why is a record missing from this view?