Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 41 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
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
Need assistance for the logic to create one column in OBIEE
User_E9OMM
Rank 4 - Community Specialist
Hi All,
I have a report. It looks like this :

I have to add one more new flag column in the report.
Logic is - If for a given year (2016) - employee has two different Manager Flags (Both Y and NO) then the value of the new flag should Y for that year.
0
Comments
-
Just do something along these lines:
CASE WHEN COUNT(DISTINCT "Manager Flag" BY "Employer Number", "Year") =2 THEN 'Y' ELSE 'N' END
Substitute Names that I've put with double quotes with the actual Presentation column names
0
