Date filter card: default select last month dynamically?

So I have a dropdown filter card called 'Date' in my App, user wants to default that 'Date' in the App to be last month - with the option to multi select other months, currently I'm have to manually update the Filter View. For example:
Today is Jun 20, 2025, Filter View: Month End Date <= '2025-05-31' → 'Date'' show '2025-05-31'
Next month July, update Filter View: Month End Date <= '2025-06-30' → 'Date'' show '2025-06-30'
Another problem is that I have a bar chart that show a metric over time (X= Month End Date, Y = metric). Since 'Date' filter is set to last month, the bar chart will also show just 1 bar for that last month. However, I'd like the default view of the bar chart is showing all time even if Month End Date is set to last month, but if a user chooses '2025-05-31' & '2025-04-30' in the 'Date' filter then the bar chart will show 2 bars for those 2 months.
Answers
-
@verytiredgirl Instead of using a specific card for your date filtering, I suggest using a filter view to default all cards to Previous Month.
To prevent the bar graph from filtering to just last month, you can uncheck the "Allow global date" box under that card's filter exceptions.
1 -
Thank you @MichelleH. I set the default Date Range to 'Previous Month' in the filter view but the 'Date' drop down filter won't show '2025-05-31' unfortunately
0 -
@verytiredgirl You will no longer need the date drop down filter if you are using the filter view, but the reason I recommended the filter view is that it's better at handling relative dates.
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 665 Datasets
- 120 SQL DataFlows
- 2.3K Magic ETL
- 827 Beast Mode
- Visualize
- 2.6K Charting
- 90 App Studio
- 46 Variables
- Automate
- 198 Apps
- 488 APIs & Domo Developer
- 97 Workflows
- 24 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 119 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 145 Governance & Security
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive