Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 210 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 77 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations 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