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.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive