Beastmode to Group All Months into a Total Month
Hello,
I'm trying to use a multi-line chart where I already have my years broken out but want to have the months be seperate but also have a total. Can you please let me know what I am doing wrong in this beastmode. It "validates" but the "Total" never shows up:
(CASE
WHEN (month(`Start/Invoice Date`) = 1) THEN MONTHNAME(`Start/Invoice Date`)
WHEN (month(`Start/Invoice Date`) = 2) THEN MONTHNAME(`Start/Invoice Date`)
WHEN (month(`Start/Invoice Date`) = 3) THEN MONTHNAME(`Start/Invoice Date`)
WHEN (month(`Start/Invoice Date`) = 4) THEN MONTHNAME(`Start/Invoice Date`)
WHEN (month(`Start/Invoice Date`) = 5) THEN MONTHNAME(`Start/Invoice Date`)
WHEN (month(`Start/Invoice Date`) = 6) THEN MONTHNAME(`Start/Invoice Date`)
WHEN (month(`Start/Invoice Date`) = 7) THEN MONTHNAME(`Start/Invoice Date`)
WHEN (month(`Start/Invoice Date`) =
Best Answer
-
You would need to do this at the ETL level. With the BeastMode Case statement, each line goes from the top down until it find a bucket to fall into. Once it's in a bucket, it doesn't go down any further. So since you have all of your months already broken up nothing is reaching your total line.
Using an ETL before you get to the card level you should be able to summarize by month as well as create a new record for total.
Hope this helps,
ValiantSpur
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.2
Answers
-
You would need to do this at the ETL level. With the BeastMode Case statement, each line goes from the top down until it find a bucket to fall into. Once it's in a bucket, it doesn't go down any further. So since you have all of your months already broken up nothing is reaching your total line.
Using an ETL before you get to the card level you should be able to summarize by month as well as create a new record for total.
Hope this helps,
ValiantSpur
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.2 -
Thank you! I've done that and sorry for lagging on this reply. Appreciate the help.
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 87 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive