How To Create a Cross-Subject Area Analysis for HCM
Here's how to create a real-time analysis that includes more than one subject area, which is referred to as a cross-subject area analysis. In this example, you create an analysis of headcount by department with the annualized salary in the local currency.
These are the key decisions for this scenario.
| Decisions to Consider | In This Example | 
|---|---|
| Which subject areas are needed? | For headcount by department, select Workforce Management - Worker Assignment Real Time. For salary, select Compensation - Salary Details Real Time. | 
| Does the analysis require an SQL statement? | Yes, to join the two subject areas. | 
Create a Cross-Subject Area Analysis
- 
               In the Reports and Analytics work area, click Browse Catalog. 
- 
               Click New and select Analysis. 
- 
               In the Select Subject Area window, select the Workforce Management - Worker Assignment Real Time subject area. 
- 
               In the Subject Area region of the Criteria tab, expand the Department folder. 
- 
               Click Name and drag it to the Selected Columns area. 
- 
               Expand the Worker Assignment folder. 
- 
               Click Headcount and drag it to the Selected Columns area to the right of the Department Name column. 
- 
               In the upper-right corner of the Subject Areas region, click Add/Remove Subject Areas. 
- 
               In the Add/Remove Subject Areas window, select Compensation - Salary Details Real Time. 
- 
               Click OK. 
- 
               In the Subject Areas region of the Criteria tab, expand the Compensation - Salary Details Real Time folder. 
- 
               Expand the Salary folder. 
- 
               Click Annualized Salary and drag it to the Selected Columns area to the right of the headcount column. 
- 
               Click the Results tab to see the results of the analysis. 
- 
               Click the Criteria tab again to return to the analysis definition. 
- 
               In the Subject Areas region on the Criteria tab, expand the Salary Details folder in the Compensation - Salary Details Real Time folder. 
- 
               Click Apps Local Currency Code and drag it to the Selected Columns area to the right of the Annualized Salary column. 
- 
               Click the Results tab to view the report again. The headcount column is now blank. 
- 
               To correct the blank headcount, click the Advanced tab. 
- 
               On the Advanced tab, scroll down to the Advanced SQL Clauses region. 
- 
               Select the Dimension check box. When you select this check box, the logical SQL is appended with the following request variable value, enabling you to join the two subject areas: SET VARIABLE ENABLE_DIMENSIONALITY = 1; 
- 
               Click Apply SQL. 
- 
               In the Message from Web page window, click OK. 
- 
               Click the Results tab again to see that the headcount column now has numbers. 
- 
               Click Save Analysis. 
- 
               Save to My Folders, and enter Headcount by Department in the Name field, and enter a description for your analysis.