30 day running date alert
Hello,
I'm trying to create a date range that will be continual, comparing today to 30 days ago. I have a feeling it's somewhere within creating a calculated field, but I don't know what the formula would be. My idea would be to have a specfic filter that would include date(today, today - 30days) but the actual process is unknown to me. I would only need those two dates to do a percent difference alert for different variables. Thank you!
Best Answer
-
No worries, you just need to change my formula to fit your field names:
I used `Date` because I did not know what you called your date field.
Change it to `Your Date Field Name` and it should work
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0
Answers
-
You can accomplish this by creating a beast mode calculation and then using that calculation as a filter
case
when `Date` = CURDATE() THEN 'true'
when `Date` = DATE_SUB(CURDATE(), INTERVAL 30 DAY) THEN 'true'
else 'false'
end
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman1 -
- @ST_-Superman-_ I appreciate the help! Unfortunately, I'm recieving the " Invalid Formula : A column in this calculation did not exist." error when I try to evaluate the formula you included in your comment. Should I be doing more than just "adding a calculated field"? I've added a screenshot to hopefully clarify what I'm doing wrong. Sorry I'm terribly new to this program. Thanks again!
0 -
No worries, you just need to change my formula to fit your field names:
I used `Date` because I did not know what you called your date field.
Change it to `Your Date Field Name` and it should work
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0 -
killer thanks so much!
0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 295 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 608 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 710 Beast Mode
- 50 App Studio
- 39 Variables
- 668 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 45 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 116 Manage
- 113 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 103 Community Announcements
- 4.8K Archive