Remove dates from a card with a beastmode?


Hi, is this possible?
IF I SOLVED YOUR PROBLEM, PLEASE "ACCEPT" MY ANSWER AS A SOLUTION. THANK YOU!
Best Answer
-
Something like this can work. You can tweak based on your logic but I tried to give several different examples:
CASE WHEN
date
IN ('2022-01-01', '2022-02-01'…) THEN 'Exclude'WHEN YEAR(`date`) = 2022 THEN 'Exclude'
WHEN DAYOFMONTH(`date`) = 1 THEN 'Exclude'
WHEN DAYOFWEEK(`date`) = 4 THEN 'Exclude'
WHEN LAST_DAY(`date`) = 2022-01-31 THEN 'Exclude'
ELSE 'Include'
END
Then just filter for Inlcude in your card.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Answers
-
You can create a beastmode to flag certain dates and then select to either include or exclude those dates by adding the beastmode to the filter section.
1 -
how do you batch dates together in a beast mode? case statement?
IF I SOLVED YOUR PROBLEM, PLEASE "ACCEPT" MY ANSWER AS A SOLUTION. THANK YOU!
0 -
Something like this can work. You can tweak based on your logic but I tried to give several different examples:
CASE WHEN
date
IN ('2022-01-01', '2022-02-01'…) THEN 'Exclude'WHEN YEAR(`date`) = 2022 THEN 'Exclude'
WHEN DAYOFMONTH(`date`) = 1 THEN 'Exclude'
WHEN DAYOFWEEK(`date`) = 4 THEN 'Exclude'
WHEN LAST_DAY(`date`) = 2022-01-31 THEN 'Exclude'
ELSE 'Include'
END
Then just filter for Inlcude in your card.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 664 Datasets
- 120 SQL DataFlows
- 2.3K Magic ETL
- 825 Beast Mode
- Visualize
- 2.6K Charting
- 89 App Studio
- 46 Variables
- Automate
- 197 Apps
- 489 APIs & Domo Developer
- 94 Workflows
- 24 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 119 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 144 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