Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 212 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
In which subject area can I find Last working day in OTBI

Answers
-
Hi, Most all subject areas have a time day dimension. If by working day you mean not a Sat or Sun then you can add a function to filter out only days in the week based on day of the week number. To get last then you can use a aggregate function to get max/greatest or min/least. But if you have configured public holidays in calendar events then I think these are not in the time dimensions in any of the subject areas unfortunately.
For more information read your user guide
Oracle® Fusion MiddlewareLogical SQL Reference Guide for Oracle Business Intelligence Enterprise Edition
Release 12c (12.2.1.3.0) E80604-01 August 2017
DAYOFWEEK
The DAYOFWEEK function returns a number between 1 and 7 corresponding to the day of the week, Sunday through Saturday, for a specified date. For example, the DAYOFWEEK function returns a number 1 to correspond to Sunday, and the number 7 to correspond to Saturday.
LAST
The LAST function selects the last non-null value of the expression. Do not use the
LAST
function when you need to compute the last value based on the chronological key rather than the primary level key, or if you need to return the last value regardless of whether it is null. Instead, use theLAST_PERIOD
function. See LAST_PERIOD.0