Report Studio Training Guide For Cognos 10-2015-03-26
Report Studio Training Guide For Cognos 10-2015-03-26
Report Studio Training Guide For Cognos 10-2015-03-26
For additional information regarding Cognos policies and access, or modifications to the ODS, contact
the Business Intelligence Team at [email protected]. For technical assistance, contact the Help Desk at
330-672-HELP (4357) or support.kent.edu. Additional Cognos training materials are available at
www.kent.edu/is/training.
Click on the CREATE NEW button to open the page to begin a new report or template.
Select the type of report to be created and click the OK button to begin.
2. The Insertable Object Pane contains Query Subjects and Query Items (aka Data Items)
that can be added to the Work Area.
3. The Explorer Bar contains three areas, Page Explorer, Query Explorer and Condition
Explorer. This allows us to choose what we want to create and edit.
4. The Work Area is the pane on the right where items from the Insertable Objects Pane
are added to create a report.
5. There are three tabs; Source Tab, which is the package, Data Items Tab is used to
display only the Data Items in the report and Toolbox Tab contains items to build and
format reports, such as tables, prompts and text items.
Explorer Bar
The EXPLORER BAR simplifies navigation in writing reports with three options to quickly change views
among different elements of the report.
The PAGE EXPLORER displays report pages and prompt pages, and allows for easy modification to a new
or prior report.
The QUERY EXPLORER allows an author to add or modify queries within a report, or perform complex
tasks.
The CONDITION EXPLORER works with variables to build conditional formatting in a report.
Properties Window
The Properties Window shows the details of the items
utilized in the report and allows the author to modify
and adjust the specific properties for each item.
If no errors are present, click the RUN icon in the toolbar to run the query created, retreive the
selected data, and view the results in a report format. Links at the bottom allow for navigation
through the pages of the report.
Saving Reports
Saving report versions allows report writers to revisit previous levels of report creation without the need
to develop reports from step one.
1. Close the report that has been run, to return
to the writing page.
2. From the File Menu choose SAVE AS.
3. Click on the option labeled MY FOLDERS.
4. In the Name Field at the bottom of the
Save As window, create a title for your
report including the date and a version if
desired.
5. Click the SAVE button.
6. The report is now saved in the My Folders tab.
To open the report for modification, click on the OPEN WITH REPORT STUDIO icon for the selected report.
Running the report now will display a more easy to understand report.
The above page is now grouped first by College, and then each College is grouped by Major. When the
report is run the results will display the grouping.
One way to add aggregation is to edit the properties of the data in the Properties Pane.
Click in the column body of the selected data
item to be counted.
The report now displays the number of students by major at each college. To make the report more
useful, Totals can be added by group.
Click the Count Column Body to
select the data. Using the Sum
tool in the Toolbar, click on TOTAL.
Clicking on one of the Totals cells for Major and deleting the item will eliminate the subtotal that is
repeated by the Count function that was added earlier, and leave only the Totals per College and
Overall Total. Running the report at this point will display a much more useful report.
For Example:
[Admission Application].[Admissions Application].[ACADEMIC_PERIOD] = '201480'
Namespace Query Subject Query Item Operator Value
Pre-Defined Filters
Pre-defined filters will be located in the Insertable Objects pane.
1. From the Insertable Objects pane, open
the FILTERS folder.
2. Double click on the filter
3. A message will appear stating that the
pre-defined filter has been added.
4. Click OK.
If greater filtering is desired, a custom filter can be created to further limit the data retrieved.
Additional filters may be added from the Toolbar, via the Filter Icon and selecting EDIT FILTERS.
(This is also accomplished through the Data option of the Menu Bar.)
The Create Filters window will appear displaying any current Detail Filters or Summary Filters.
Detail Filters will affect what data is retrieved to create, or the rows of the report.
Summary Filters affect the grouped, or aggregated data of the report once it is written.
Three buttons at the bottom of the Filters window allow the author to:
Selecting Advanced allows the author to build a filter with a wide range of parameter options.
Source: The Source tab allows for the filter based on any item in the package.
Data Items: The Data Items tab allows for filtering by items in the report.
Queries: The Query Items tab allows filters based on items from other queries in the report.
Functions: The Functions tab allows for the creation of filter calculations.
Parameters: The Parameters tab allows the use of the input derived from users based upon
answer the parameter.
Click the VALIDATE button to assure there are no errors in the filter expression. If none, click OK.
Please note: For the “ = “ operator, the value is contained in single quotation marks. If expressions are
being manually typed, other operators require different punctuation.
The Usage field allows the author to mark a filter as Required, Optional, or Disabled.
For this exercise, select and mark the COLLEGE filter as disabled and Click OK.
Hovering the mouse on the PAGE EXPLORER displays a selection pane of page types. Click on the link to
the PROMPT PAGES folder to reveal a prompt pages window. Notice there are no pages currently below
the Prompt Pages Folder.
Prompt Pages
To build a prompt page, a table is needed to create spaces to hold the prompts.
Prompts are located in the TOOLBOX tab of the
Insertable Objects window. The author can insert any
of the prompt types that are needed to allow the
user to filter the data for the report.
Items from the Insertable Object window are added to the Prompt Page via drag-and-drop. Usually the
first column is used for Text Items, designating what the user will select, and the second column houses
a prompt for a selection from the user based on desired criteria.
Drag-and-drop Text Item into the first cell of the table. In the text item window type a description or
direction for the user.
In the second column, add a Value Prompt to designate the filter parameters of the prompt. This will
start the Prompt Wizard to aid in setting the parameters.
The Prompt Page has now been created with a single prompt that will allow the user to select one or
more options from the list of colleges to retrieve data in populating the report.
Best Practice: Add an additional text item between the actual data rows, using blank
spaces for the text, being entered with the space bar. This will create distance
between the windows on your prompt page.
The Prompt Page now has two prompts for the user to utilize for filtering when creating the report. The
first will direct them to choose at least one College, with the option of selecting several. The second
guides the user to select only one Academic Term.
Modifications
Any modifications to queries and prompts can be completed by using the Explorer Bar to select the
appropriate Explorer Page and clicking on the item in the pop-up window to open the item to be edited.
Pre-Sort
Hover the mouse over the Query Explorer; select the query to from the window that appears to view the
details for each of the queries in the report.
Selecting the College Description data item in the
query displays the property specifics in the Properties
Window. Properties can be edited by clicking in a cell
in the right hand column for an item and selecting
from the options in the drop-down box.
Click on the COLLEGE VALUE field to select the item and display the Properties Pane. The Multi-Select
option will allow the author to easily change whether the user can select one item or more than one
item through the Prompt Page when running the report.