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
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 657 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 81 App Studio
- 45 Variables
- 775 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 81 Workflows
- 23 Code Engine
- 40 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive