Date Filter for last day/week/month
Best Answer
-
For everyon's knowledge, you can do this by going into the calendar type card, going to Presets View in Chart Properties and selecting "Show Presets Only".
This will do the job. Cheers
1
Answers
-
At first glance I thought this was pretty straightforward. Then I started writing my solution and realized an issue. For today and yesterday you can just write a calculated field statement like this:
case when `date_field`=curdate() then 'today'
when `date_field`=curdate()-1 then 'yesterday' end
however, the issue I discovered is that you would want to include yesterday and today in the 'last one week' category.
if you are just looking at one card, I know that you can click on the date and quickly adjust the date window the card is looking at but I am not sure if that is possible from a dashboard layout. This might be a feature request.
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0 -
Hello.
I was watching a video on Youtube, in which a guy creates a "last 3 months" filter. Although I could not completely understand what he did, do you think using this feature (highlighted in the video) I can make my filter?
https://www.youtube.com/watch?v=qc5JqGWtlu8&feature=youtu.be
Hamza
0 -
For everyon's knowledge, you can do this by going into the calendar type card, going to Presets View in Chart Properties and selecting "Show Presets Only".
This will do the job. Cheers
1
Categories
- All Categories
- 1.4K Product Ideas
- 1.4K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 282 Workbench
- 3 Cloud Amplifier
- 4 Federated
- 2.8K Transform
- 86 SQL DataFlows
- 548 Datasets
- 2.2K Magic ETL
- 3.2K Visualize
- 2.3K Charting
- 544 Beast Mode
- App Studio
- 26 Variables
- 566 Automate
- 134 Apps
- 411 APIs & Domo Developer
- 21 Workflows
- DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 345 Distribute
- 87 Domo Everywhere
- 257 Scheduled Reports
- 1 Software Integrations
- 85 Manage
- 84 Governance & Security
- 8 Product Release Questions
- Community Forums
- 41 Getting Started
- 27 Community Member Introductions
- 81 Community Announcements
- 4.8K Archive