Skip to main content

Parent child hierarchy in obiee 11g





· From the Business model, select parent child hierarchy.

· Provide the name as staff(parent-child)

· From the member_key, Click on Browse and select "sales"."Dim staff"."Dim_staff_parent_child_key".

· From the parent key, click the browse and select"sales"."Dim staff"."managerId".

· Next you will define the closure table taht will resolve the parent child hierarchy in your data.

· Click on the parent child settings.

· Click on create parent child relation ship.

· The generate parent child relationship table script location dialog will then be displayed. On this first page, type following values:

DDL script to create parent child relationship table:

Name: Create_staff_closure_table.sql

Location: C:\Files

DDL script to populate parent child relationship table:

Name: pop_staff_closure_table.sql

Location: C:\Files.

· Click on Next.

· The generate parent child relationship table_parent_child relationship table dialog will then be displayed.

· Provide a name as staff_closure_train

· Leave the remaining value as it is.

· Click on Next.

· Review the script.

· Click on Finish.

· Now go to sql prompt.

· sql>prompt and execute the following two scripts.

· sqlplus gcbc_sales/password

· @C:\Files\create_staff_closure_table.sql;

· @C:\Files\Pop_staff_closure_table.sql;

· Commit;

· Note: you should receive the message pl/sql procedure successfully completed after each command is submitted.

· Enclosure that the commit is done with out fail.

· Else the reports on hierarchy columns will not produce any data.

· Now go back to Administration Tool. Click on OK and OK again. Close the Parent child hierarchy window.

· Now navigate to staff(parent-child) hierarchy and you should be able to see total level and detail level.

· Drag and drop Dim staff from BMM to Presentation.

· Expand Dim staff and double click on staff hierarchy,

· Click on display columns tab, delete staff ID.

· Add staff name.

· Save repository.

· Close rpd.

· To test ragged and skipped level hierarchy, add :stores(hier) and sales amount.

· To test parent child add:staff(hier) and salesamount.

Comments

Popular posts from this blog

Contact Me

Do You have any queries ?                   If you are having any query or wishing to get any type of help related Datawarehouse, OBIEE, OBIA, OAC then please e-email on below. I will reply to your email within 24 hrs. If I didn’t reply to you within 24 Hrs., Please be patience, I must be busy in some work. kashif7222@gmail.com

Top 130 SQL Interview Questions And Answers

1. Display the dept information from department table.   Select   *   from   dept; 2. Display the details of all employees   Select * from emp; 3. Display the name and job for all employees    Select ename ,job from emp; 4. Display name and salary for all employees.   Select ename   , sal   from emp;   5. Display employee number and total salary   for each employee. Select empno, sal+comm from emp; 6. Display employee name and annual salary for all employees.   Select empno,empname,12*sal+nvl(comm,0) annualsal from emp; 7. Display the names of all employees who are working in department number 10   Select ename from emp where deptno=10; 8. Display the names of all employees working as   clerks and drawing a salary more than 3000   Select ename from emp where job=’clerk’and sal>3000; 9. Display employee number and names for employees who earn commissi...

Informatica sample project

Informatica sample project - 1 CareFirst – Blue Cross Blue Shield, Maryland (April 2009 – Current) Senior ETL Developer/Lead Model Office DWH Implementation (April 2009 – Current) CareFirst Blue Cross Blue Shield is one of the leading health care insurance provided in Atlantic region of United States covering Maryland, Delaware and Washington DC. Model Office project was built to create data warehouse for multiple subject areas including Members, Claims, and Revenue etc. The project was to provide data into EDM and to third party vendor (Verisk) to develop cubes based on data provided into EDM. I was responsible for analyzing source systems data, designing and developing ETL mappings. I was also responsible for coordinating testing with analysts and users. Responsibilities: ·          Interacted with Data Modelers and Business Analysts to understand the requirements and the impact of the ETL on the business. ·  ...