Rolling monthly target

I would like to insert a rolling monthly target into a table for each location. e.g. Location 1 - monthly target is 5. First of the financial year equals 5 then the next month add another 5 which equals 10.
Jan - 5
Feb - 10
March - 15
April - 20 and so on.
Location 2 - monthly target is 7 so,
Jan - 7
Feb - 14
March - 21
April - 28 and so on.
For each of my locations I have been able to create the weekly target and FY target to show in the table but I would like to insert a monthly target in the table to measure total numbers against a rolling monthly target.
This my table now with the FY target inserted. I want to remove the FY target and insert a monthly rolling.
Answers
-
You can use a beast mode to do a running total:
SUM(SUM(`Metric`)) OVER (ORDER BY `Date`)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Hi, when I enter OVER and ORDER BY these are not appear to select as per SUM.
0 -
Yes, they are not recognized as other functions but are working.
If you found this post helpful, please use 💡/💖/👍/😊 below! If it solved your problem, don't forget to accept the answer.
0
Categories
- All Categories
- Product Ideas
- 2K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 661 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 819 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 22 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 282 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 9 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive