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 -
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.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
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 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