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
0
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
1 -
- @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 - @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.
-
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
0 -
killer thanks so much!
0
Categories
- All Categories
- 1.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 305 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 106 SQL DataFlows
- 645 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 774 Beast Mode
- 74 App Studio
- 43 Variables
- 728 Automate
- 186 Apps
- 467 APIs & Domo Developer
- 61 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 403 Distribute
- 117 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 136 Manage
- 133 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 112 Community Announcements
- 4.8K Archive