Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 16 Oracle Analytics Lounge
- 216 Oracle Analytics News
- 43 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 79 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
When we use a column from "Organization Hierarchy", the intended number of records are NOT returned

Problem Summary:
When we use a column from "Organization Hierarchy", the intended number of records are NOT returned
Problem Description:
We are developing a report in which we are using the subject area " "Workforce Management - Worker Assignment Real Time"
in one of our OTBI reports.
When we don't use the folder "Organization Hierarchy", then the data is coming well as intended
but we join with "Organization Hierarchy", the data is not returning as we intended.
In the leaf node of the 'Organization Hierarchy', for some employees, the Department
has not been set in the Organization Hierarchy.
For some employees, the Department has been set up in the 'Organization Hierarch'y hence the data is returning
correctly for this set of employes.
But We want both the employee list i.e. irrespective of Department has been set up or not, we want those employees to show
in the report.
The below query is when we don't use "Organization Hierarchy":
SET VARIABLE PREFERRED_CURRENCY='User Preferred Currency 1';SELECT
0 s_0,
"Workforce Management - Worker Assignment Real Time"."Department"."Department Name" s_1,
"Workforce Management - Worker Assignment Real Time"."Worker"."Person Number" s_2
FROM "Workforce Management - Worker Assignment Real Time"
ORDER BY 3 ASC NULLS LAST, 2 ASC NULLS LAST
FETCH FIRST 75001 ROWS ONLY
The below query is when use "Organization Hierarchy":
SET VARIABLE PREFERRED_CURRENCY='User Preferred Currency 1';SELECT
0 s_0,
"Workforce Management - Worker Assignment Real Time"."Department"."Department Name" s_1,
"Workforce Management - Worker Assignment Real Time"."Organization Hierarchy"."Level 01 Organization Name" s_2,
"Workforce Management - Worker Assignment Real Time"."Worker"."Person Number" s_3
FROM "Workforce Management - Worker Assignment Real Time"
ORDER BY 4 ASC NULLS LAST, 2 ASC NULLS LAST, 3 ASC NULLS LAST
FETCH FIRST 75001 ROWS ONLY
Best Answer
-
Hi @User_VDH21 ,
I don't think this part of your request 'irrespective of Department has been set up or not, we want those employees to show' will be possible at this point. In the Organization Hierarchy, the leaf level should always be the department, so the 'irrespective of Department' requirement is not currently possible.
If you find this reply to your question useful, others might as well. By clicking the “Yes” button for “Did this answer the question?” below, you’ll be able to help the community members who might have a similar concern find the answer easier.
Regards,
John
Regards,
John
0