Categories
- All Categories
- Oracle Analytics Learning Hub
- 17 Oracle Analytics Sharing Center
- 17 Oracle Analytics Lounge
- 224 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.8K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 84 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
How to calculate Business Hours in a Report

User_DBCL0
Rank 4 - Community Specialist
Hello All,
I have a create_date column which is in date format. I need to calculate the SLA timings based on create_date column.
I must exclude saturday and sunday and consider business hours like 8 am to 6 pm.
I dont have time dimension and dont have rpd access to . I should do it report only.
please help
0
Answers
-
Hello,
Try below formula for finding SLA period. Also you can use dayofweek function if you need.
CASE WHEN (Hour(create_date )+cast(MINUTE(create_date ) as double)/60 BETWEEN 8 AND 18) AND DAYNAME(create_date ) IN ('Fri', 'Mon', 'Thu', 'Tue', 'Wed') then 'SLA Window' else 'Non SLA Window' END
Thanks
Aj
0