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
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 667 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 146 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive