Line Graphic with YTD Data (cumulative total each month)
Hi People! I'm here again!
We have a dataset in DOMO like this:
And we need to create a vision like this:
where "LY" is "Last Year" and the "YTD" is the acumulated SALES of the month of the line plus the previous month.
Jan = Total SALES of Jan
Fev = Total SALES of Fev + Total SALES of Jan
Mar = Total SALES of Mar + Total SALES of Fev + Total SALES of Jan
etc...
But... here's the catch, we need to do this in BeastMode...
I try to use LAG function, but with no success...
π
The graph we need to create is like this:
Actually with the growth percentage and will be 3 lines, comparing 3 years:
2022vs2021 | 2021vs2020 | 2020vs2019
Any ideas if it's possible?
Best Answer
-
@bp_paulo_fernandes have you looked at @GrantSmith 's post regarding running totals in beast mode?
https://dojo.domo.com/discussion/52681/domo-ideas-conference-beast-modes-running-totals#latest
He lays this out pretty nicely.
**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
Answers
-
@bp_paulo_fernandes have you looked at @GrantSmith 's post regarding running totals in beast mode?
https://dojo.domo.com/discussion/52681/domo-ideas-conference-beast-modes-running-totals#latest
He lays this out pretty nicely.
**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 -
Wonderful!!!!!!!!!
Thank you very much!!!!!
0
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