Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 44 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 278 Oracle Analytics and AI News
- 56 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Turnover by Ethnicity - Report Assistance
Summary:
We are currently running into issues creating a Turnover report by Ethnicity due to how ethnicity is handled in Oracle. This is causing employees to be duplicated if they have selected more than one race.
I've included the code snippet below which was suggested in the community (When person count is greater than 1 then 'Two or more races'), but the report is not providing the desired results. The report ends up duplicating the same values multiple times (see screenshot below). I've attempted to set up a pivot table so that it would only provide one value and remove all the duplicates, but had no luck. It seems as though you need to include the Person Number on the report in order for the formula to work and display them as 'two or more races', but in doing so it creates the duplicate lines of data. So I'm not able to find a solution to stop this from occurring.
I have included the XML file below:
Any help/direction would be appreciated. Thank you, Andrew
Version (include the version you are using, if applicable):
Oracle Fusion Cloud Applications 23A (11.13.23.01.0)
Code Snippet (add any code snippets that support your topic, if applicable):
CASE WHEN COUNT(DISTINCT "Worker"."Employee Ethnicity" by "Organization Hierarchy"."Level 03 Organization Name", "Worker"."Person Number") > 1 THEN 'Two or More Races' ELSE "Worker"."Employee Ethnicity" END
