Categories
- All Categories
- 75 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 40 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations
- 2 Oracle Analytics Data Visualizations Challenge
- 3 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
Week begin date in a OTBI pivot table report
I built a pivot report in Project Financial Management that reports approved labor hours by resource and task by week. While there is a function to report the hours by week, it allows you to report by week. It reports the week number starting from Jan 1 - it reports weeks 1..52. This does not help users as they have to decode when each week begins. I have not found a functionality that can help decode the week begin date for each week.
This is the function I use for the calendar week:
WEEK_OF_YEAR("Expenditure Item and Cost Distribution Details"."Expenditure Item Date")
Is there a way to get the week begin date for the week in question?
I have attached the report generated by the OTBI report. For privacy reasons, the project number, name, resource name and task names have been changed.
Comments
-
Found this by a Google search and tested it. It works:
TIMESTAMPADD(SQL_TSI_DAY,- DAYOFWEEK(MIN("Expenditure Item and Cost Distribution Details"."Expenditure Item Date")) + 1, MIN("Expenditure Item and Cost Distribution Details"."Expenditure Item Date"))0