Adding Microcharts
A microchart is a miniature version of a chart that can be inserted in a crosstab or a
list. They operate in the same manner that a master-detail report functions in that the microchart
is a detailed view of the master data.
Procedure
- Create a new list report.
-
Add a business entity prompt as described in Adding a Business Entity Prompt. Use GEN_ENTITY_ID as the field
for the source of the data. Your crosstab query should have the following filter after creating the
prompt:
[DEFAULT_REL].[SOXBUSENTITY_GPC].[GEN_ENTITY_ID] = ?Entity ID? -
From the Insertable Objects pane, drag and drop the following data items
into the list (remember that what is loaded in your system will be different from what you see
here):
-
DEFAULT|[DEFAULT_REL]|GRC_OBJECTS|SOXBUSENTITY_FOLDER| [SOXBUSENTITY_GPC]|[PEN_NAME00] -
DEFAULT|[DEFAULT_REL]|GRC_OBJECTS|SOXBUSENTITY_FOLDER| [SOXBUSENTITY_GPC]|ID_FIELDS| [PEN_ENTITY_ID] -
DEFAULT|[DEFAULT_REL]|GRC_OBJECTS|[SOXCONTROL] ENUMERATION_FIELDS| OPERATING_EFFECTIVENES(ENUMERATION)| [CN_OPERATING_EFFECTIVENES]
-
-
Cut the
PEN_ENTITY_IDfield and theCN_OPERATING_EFFECTIVENESfield from the list. -
Go to the Query Explorer and
add the following filters to the query:
-
[DEFAULT_REL].[SOXBUSENTITY_GPC].[GEN_REPORTING_PERIOD_ID] = -1 -
[CN_OPERATING_EFFECTIVENES] is not null
-
- In the Query Explorer, rename the query used by the list to listMain.
- Validate the report.
-
Go to the main report page and complete the following steps.
- Sort PEN_NAME00 ascending.
- Set the label for PEN_NAME00 to Business Entity.
-
From the Insertable Objects pane Toolbox tab
, select a Chart and drop it into the last column of the existing
list. The list must be locked.
- Select Microchart and a Column bar chart.
-
In the new chart, drag and drop the following data items:
-
DEFAULT|[DEFAULT_REL]|GRC_OBJECTS|[SOXCONTROL]|ID_FIELDS| [CN_CONTROL_ID] -
DEFAULT|[DEFAULT_REL]|GRC_OBJECTS|[SOXCONTROL] ENUMERATION_FIELDS| OPERATING_EFFECTIVENES(ENUMERATION)| [CN_OPERATING_EFFECTIVENES]
-
- In the Query Explorer, rename the query used by the list to microChart.
-
Go to the Query Explorer and
add the following filters to the query:
-
[DEFAULT_REL].[SOXBUSENTITY_GPC].[GEN_REPORTING_PERIOD_ID] = -1 -
[CN_OPERATING_EFFECTIVENES] is not null
-
-
From the Insertable Objects pane
drag and drop the following data item:
DEFAULT|[DEFAULT_REL]|GRC_OBJECTS|SOXBUSENTITY_FOLDER| [SOXBUSENTITY_GPC]|ID_FIELDS|[PEN_ENTITY_ID] -
Select the
CN_CONTROL_IDdata item and in the Properties pane, complete the following steps.- Under the Data Item category, set the Aggregate Function property to Count Distinct.
- Under the Data Item category, set the Rollup Aggregate Function to Automatic.
- On the main report page, rename the chart column to Operating Effectiveness.
-
From the Data menu on the main toolbar, select Master Detail
Relationships, and complete the following steps.
-
Create a join between
PEN_ENTITY_IDin the listMain and thePEN_ENTITY_IDin the microchart. - Click OK.
-
Create a join between
-
Select the microchart background and complete the following steps.
- In the Properties pane under the category Positioning, set the Size & Overflow property to a height of 100 px.
- Set the width to 150 px.
- Select the y axis of the microchart and in the Properties pane under the General category, set the Axis Labels property to Show.
-
In the Condition Explorer, select variables and complete the following
steps.
- Add a new string variable.
-
In the expression editor, add
[microChart].[CN_OPERATING_EFFECTIVENES] - Click OK.
- Add three values: Effective, Ineffective, and Not Determined.
- In the Properties pane under Miscellaneous, set the Name property to Operating Effectiveness
-
On the main report page, select the microchart and in the Properties
pane under Color & Background, select the Conditional
Palette and complete the following steps.
- For the Variable, select Operating Effectiveness.
- For Effective set the color to lime.
- For Ineffective set the color to red.
- For Not Determined set the color to blue.
- Click OK.
- Select the Series bar. In the Properties pane under Chart Labels, set the Values property to Show.
- Run the report.
Results
There is now a comparison of control Operating Effectiveness across different business entities to compare progress in how they are getting their process under control.