Categories
- All Categories
- Oracle Analytics Learning Hub
- 30 Oracle Analytics Sharing Center
- 20 Oracle Analytics Lounge
- 243 Oracle Analytics News
- 45 Oracle Analytics Videos
- 16K Oracle Analytics Forums
- 6.3K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 90 Oracle Analytics Trainings
- 16 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
