How You Create a Date-Effective Headcount Analysis
Here's how you create a report with effective-date reporting capability for a nonevent measure. The nonevent measure in this example is headcount. You want an analysis to review headcount by department, but headcount isn't a specific event. Using the Workforce Management - Worker Assignment
Here are the key decisions for this scenario.
| Decisions to Consider | In This Example | 
|---|---|
| Which subject areas are needed? | Workforce Management - Worker Assignment Real Time | 
| Does the analysis require an SQL statement? | Yes. An SQL statement is needed for the effective date capability. | 
Create a Date-Effective Analysis for Headcount
- 
               Navigate to the Reports and Analytics pane 
- 
               Click Browse Catalog. 
- 
               Click the New menu, and select Analysis. 
- 
               In the Select Subject Area window, select the Workforce Management - Worker Assignment Real Time subject area. 
- 
               In the Subject Areas region of the Criteria tab, expand the Worker Assignment folder. 
- 
               Select Headcount and drag it to the Selected Columns region. 
- 
               Expand the Department folder, select Name, and drag it to the Selected Columns region. 
- 
               Select the Prompts tab. 
- 
               On the right side of the page on the Prompts tab, click New and select Variable prompt. 
- 
               In the New Prompt window, leave the value of Presentation Variable in the Prompt for field, and enter AsOfDate. 
- 
               In the Label field, enter Workers as of (mm/dd/yyyy). 
- 
               Expand the Options region. 
- 
               In the Variable Data Type menu, select Date. 
- 
               Select the Require user input option. 
- 
               Select Dynamic for the Text Field Width. 
- 
               Click OK. 
- 
               Select the Advanced tab. 
- 
               On the Advanced tab, scroll down to the Advanced SQL Clauses region. 
- 
               In the Prefix field, enter SET VARIABLE PARAM_EFFECTIVE_DATE='@{AsOfDate}'; 
- 
               Click Apply SQL. 
- 
               Click OK to clear the message. 
- 
               Click Save Analysis. 
- 
               In the Save As window, select My Folders and enter Date-Effective Headcount in the Name field. 
- 
               Click OK. 
- 
               At the top of the page, click the Home link to return to the OTBI EE home page. 
- 
               Locate your report in the Recent region. 
- 
               Click Open. 
- 
               In the Workers as of mm/dd/yyyy field, enter an effective date in the proper format. 
- 
               Click OK. 
- 
               Review the results in the Headcount field.