Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 40 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 277 Oracle Analytics and AI News
- 50 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Idea Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 18 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
OTBI column formula assistance - Change 5 days to 5 working days
I am trying to amending the below column formula to count 5 working days instead of 5 days (which it is at the moment)? I need to exclude Saturdays and Sundays. Can anyone help please?
CASE WHEN CASE WHEN TIMESTAMPDIFF(SQL_TSI_DAY, "Worker"."Termination Notification Date", CAST("Assignment Event Details"."Assignment Last Update Date" AS DATE)) > 5 THEN 'Y' ELSE 'N' END = 'Y' THEN TIMESTAMPDIFF(SQL_TSI_DAY,"Worker"."Termination Notification Date", CAST("Assignment Event Details"."Assignment Last Update Date" AS DATE)) ELSE NULL END
Thank you
Answers
-
Hi @Tracy Goodchild,
Welcome to the Oracle Analytics Community!
Please take a look into the following Oracle note which might be useful for the initial understanding and a good starting point to change your existing formula.
Hope this help.
Thank you.
0
