Quick toggle to exclude "Today"
In a report set for "last 7 days", Domo will automatically include the current date if your dataset has rows representing that date. I have many datasets with rows for the future, where the data isn't filled in yet.
In order to get today's date to be suppressed in the report, I have to write a Beast Mode:
case when `Date Of Contact` = CURRENT_DATE() then 'Today' else 'No' end
and then filter my card for 'No'
It would be extremely helpful if "Include Today?" was part of the date settings - even just a checkbox here:
With the beast mode referenced above, my card does this (today is June 4):
Without it, I get a column for June 4, with no data (it will be reported tomorrow):
What I wanted for this report when I set it for last 7 days, would be 7 columns where the first is YESTERDAY, and the last is last Friday (again it's June 4, so 7 days ago not including today is May 28).
If I want to see my data going back to May 28, I actually have to build the for last 8 days, and set my beast mode to exclude today. Which could confuse a user who sees "Last 8 Days" in the header, but sees 7 date columns, not 8.
Can we have a toggle to include/exclude today so we don't have to write date dimension logic in our beast modes and data flows?
Comments
-
Agree with this suggestion. Up vote isn't working for me right now.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.2 -
Absolutely - we have so many cards that say "Last 8 days" so we can really get the last 7 REAL days.
And this is applicable on the week, month level. I often don't want the current week or month as they are still in progress.
2 -
+1
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Upvote!
DataMaven
Breaking Down Silos - Building Bridges
**Say "Thanks" by clicking a reaction in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"1 -
+1
**If this answer solved your problem be sure to like it and accept it as a solution!
1 -
+1
1 -
+1
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'1 -
Up vote isn't working for me right now - Agreed!
1 -
+1
This would be incredibly helpful!
1 -
@Anna Yardley any idea why upvote doesn't work for this post? Glad to see folks are into the idea!
Broadway + Data1 -
I need this!! There's no easy way to achieve this currently.. it has to be done with dataflows and conditional logic. :(
0 -
+1
0 -
just a follow-up,
i could not find the the Up vote section
if there any solution to get the last 7 REAL days?
0 -
+1 we should have configuration to include/exclude today in preset calendar date filter.
0 -
Found this discussion today as I was building a card and wanted to include the Last 7 Days excluding today. I managed to find a workaround by creating a Beast Mode on the card:
CASE WHEN Date = CURRENT_DATE() THEN 'Exclude' ELSE 'Include' END
I then added this as a Filter, selecting 'Include', and selected 'Last 8 Days' within the date range.
Seems to work well for me!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 296 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 99 SQL DataFlows
- 613 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 726 Beast Mode
- 52 App Studio
- 40 Variables
- 676 Automate
- 173 Apps
- 450 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 9 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 107 Community Announcements
- 4.8K Archive