Adding a cumulative total line in a multi line chart in Domo
Hi everyone,
Does anyone know how to add a cumulative total line chart in a multi-line chart? I have 3 different lines that I want to show on the same line graph and I want to sum up the 3 lines and put that line on the same graph so a total of 4 line on a single graph. For example, Blue = 1, Yellow = 2, Red = 3, and I want to show the total of Blue, yellow, and red ~ 6 on the same graph. Thank you!
Thanks.
Answers
-
Hi @snguyen, here is a write-up outlining how to get calculated fields for running total: https://dojo.domo.com/discussion/comment/56863#Comment_56863. It is also worth noting that in a Bar + Line graph option, one can specify the number of lines and bars you want to display as running totals (through Chart properties under General).
7 -
Sorry, I meant to say cumulative total say for example A = 2, B = 3, C = 5. I want to show A, B, C and the total of ABC ~ 10 on the same multi line graph.
0 -
You can use a beast mode to add all three values together and plot that as your fourth value
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
I'm new to Domo, how would I go about doing that?
0 -
Create a beast mode and just add your values together:
`Field 1` + `Field 2` + `Field 3`
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
I am struggling with something similar so let me ask this in a different way. I have a multiline chart and the lines are a series. I created a beast mode to get my series grouped into categories. I can now see the lines for the categories, but I want to add a line to my chart that shows the overall total for all the data that is broken out in the series. Does that make sense? I assume this is something easy to do, but I can't seem to find the solution after a few days of revisiting this.
0 -
I would suggest adding a segment to show your total line. You can click on Add Dynamic Segment, select A, B, C. etc.., and assign a color for the line. Then drag the field into the segment field, which will become available after a segment is created.
You can read the KB article about segments here: https://domohelp.domo.com/hc/en-us/articles/4403089503383-Creating-Segments-in-Analyzer
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.1
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 468 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 193 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 173 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive