I want to fetch count of data for a specific time frame (mon-fri)-(9-17)

Dheeraj_1996
Member
in Beast Mode
I have data for all hours in a day, but I want to filter out data from only business hours mon-fri (9-17)
0
Best Answer
-
@dheeraj_sandhanshi You can set up a beast mode like this to segment what data to filter:
case when DAYNAME(`DateField`) in ('Saturday','Sunday') then 'Exclude' when HOUR(`DateField`) >= 9 and HOUR(`DateField`) < 17 then 'Include' else 'Exclude' end
1
Answers
-
@dheeraj_sandhanshi You can set up a beast mode like this to segment what data to filter:
case when DAYNAME(`DateField`) in ('Saturday','Sunday') then 'Exclude' when HOUR(`DateField`) >= 9 and HOUR(`DateField`) < 17 then 'Include' else 'Exclude' end
1
Categories
- All Categories
- 1.1K Product Ideas
- 1.1K Ideas Exchange
- 1.2K Connect
- 970 Connectors
- 259 Workbench
- Cloud Amplifier
- 1 Federated
- 2.4K Transform
- 76 SQL DataFlows
- 502 Datasets
- 1.8K Magic ETL
- 2.7K Visualize
- 2.2K Charting
- 379 Beast Mode
- 21 Variables
- 487 Automate
- 104 Apps
- 379 APIs & Domo Developer
- 6 Workflows
- 22 Predict
- 6 Jupyter Workspaces
- 16 R & Python Tiles
- 319 Distribute
- 67 Domo Everywhere
- 252 Scheduled Reports
- 59 Manage
- 59 Governance & Security
- 1 Product Release Questions
- 5K Community Forums
- 37 Getting Started
- 23 Community Member Introductions
- 64 Community Announcements
- 4.8K Archive