Beast mode to show only one month
Have a dataset for fire drills we have several locations that run them every month i want to create a beast mode to only show me one month so i can duplicate it for each month to show one column per month to see who didn't run their drills month to month this is what i have but it is not working i will show you an idea of how i want it to look any help is appreciated
Best Answer
-
Did you copy and paste what I gave you? My formula validates
Your latest examples have multiple errors with missing an END statement and incorrect quotes. Try just copying and pasting what I gave you the first time.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.1
Answers
-
You can re-write your beast mode like this to make it work
(CASE when `Date` >= '1/1/2022' AND `Date` <= '1/31/2022' THEN 1 ELSE 0 END)
As currently, constructed, you will have to go back into this card once 2023 and update it. You may want to think about using the MONTH() function to determine the month and then use the date range filter to only show the last 12 months or so. This would keep you from having to regularly update the card.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
its not working i keep getting "invalid formula this calculation contained a syntax error
i thought it might be the way the data is in the data set as it comes over as Jan 1, 2022 so i changed it to that but still getting the error
(CASE when `Date` >= "Jan 1, 2022' AND `Date' <= 'Jan 31, 2022' Then 1 ELSE 0)
and tried
(CASE when `Date` >= "1/1/2022' AND `Date' <= '1/31/2022' Then 1 ELSE 0)
0 -
Did you copy and paste what I gave you? My formula validates
Your latest examples have multiple errors with missing an END statement and incorrect quotes. Try just copying and pasting what I gave you the first time.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.1 -
Just use a pivot table card and put YearMonth (might need a beast mode) on the Columns axis and Locations on the X axis and make your metric the count
https://domohelp.domo.com/hc/en-us/articles/360043429473-Pivot-Table
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
MarkSnodgrass it did work but not the way i had hoped my fault not yours think i know what i need to do to get it work thank you so much everyone for your assistance
0 -
ok let me try to explain it this way i want one beast mode to show me only January entries, one beast mode to show me only February one for March excreta, so i will have 12 beast modes to have each of them as columns so we have a quick view of which locations have completed the drills each of those months
the above worked but each location had multiple rows with 0 because it pulled the entire year so far instead of only looking at January
I'm sorry thank you all for your help
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 755 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive