Lesson 6: Additional Views: Exercise 6a: Narratives
Lesson 6: Additional Views: Exercise 6a: Narratives
Lesson 6: Additional Views: Exercise 6a: Narratives
1. Open the previously saved Worst Performance analysis, and select the Criteria tab, which
should look like this. Rearrange your columns to match this screenshot (if different).
2. Note the order of the columns. You’ll need to know the order of the columns when you build
the Narrative. For example, Fiscal Month is column #1, Applied Hours is column #4, and so
forth.
4. In previous exercises, we’ve clicked the New View icon located on the Views header. This
icon creates the view and immediately opens it for editing, but does not automatically add it to
the compound layout.
5. Click the New View icon located on the toolbar above the Compound Layout.
6. From the dropdown list, select the Other Views option, and select Narrative as the view type.
The new Narrative view is created and automatically added to the Compound Layout below all
other views, but is not automatically brought into the editor.
7. Notice that the Narrative view is listed in the Views section at the left of the screen. Open this
view for editing, using either of the techniques learned earlier on page Error! Bookmark not
defined..
The narrative is a combination of text and analysis column values. In this example, @3 refers to
the third column in the analysis (Corrected Hours), @2 refers to the second column
(Department), and so forth.
To highlight (bold) the selected column values in the narrative, highlight (mouse select) @5 in
the narrative and click the Bold icon. This adds bold HTML tags to the results. Also add
bold tags to all of the other column references in the same manner.
Helpful Hint: You can include HTML tags in many of your view descriptions and
headings, including the Narrative, Title, and Static Text views. For example, you can
change font colors, styles, and so forth, by clicking the Contains HTML Markup
checkbox and typing any kind of HTML into the Prefix, Narrative, and Postfix areas of the
narrative view.
Helpful Hint: You can control the number of row values returned in the Narrative view by
setting a value in the Rows to display field. By default, all queried rows are displayed.
Helpful Hint: One excellent use for the Narrative View is as an alternative to the Title View.
You have the flexibility to include HTML in the Narrative View where that feature is not
available in the Title View.
In a Narrative View that is used as the title in a compound layout, consider using the HTML
“span” tag. The <Span> tag can be used to show the name of the analysis when a user moves
the mouse over the text of the Narrative. In the Example below, the text Corrected Hours by
Project will be visible in the Narrative view, while the name of the saved analysis, Corrected
Hours by Project (inside the <span> tag), will appear in a small popup box (i.e. hover) when
the user pauses the mouse on the Project Corrected Hours text.
Example
<font face="Arial" size="2"><span title="Corrected Hours by Project"><b>Project Corrected
Hours</b></span> </font>
If there are no rows which meet the selection criteria, we’d like to display a controlled message.
That message is created using the No Results message.
This can reduce support calls: if a user gets NO data returned, they might be confused or
think there is an error. But using this technique, they’ll receive a message confirming
that there really should be no data.
1. The No Results message is a property of the Analysis. Click the Analysis Properties icon
from the toolbar above the Compound Layout.
2. In the Analysis Properties dialog, choose Display Custom Message from the No Results
Settings dropdown.
5. Return to the Results tab. Since Unbilled % should never be greater than 100%, you should
see the custom No Results message.
2. On the Results tab, use either of the New View icons (your choice) to add a Column Selector
view. The Column Selector view is located under the Other Views flyout option.
3. If necessary, open the Column Selector in the editor. Depending on which New View icon you
used (Views section or Toolbar), the Column Selector will have either:
a. Been added to the Compound Layout but not opened for editing (Toolbar); or,
b. Been opened for editing but not added to the Compound Layout (Views section)
5. From the Subject Areas selection panel, drill into the appropriate folders and double-click on
each of the following columns to make them available in the Column Selector:
Folder Column
Org Department
Project Application
Project Project
Your Column Selector in the results pane should look like this:
7. Add (or move) the Column Selector view above the Table view in the Compound Layout view,
using the techniques learned on page Error! Bookmark not defined..
8. Add the V-Bar Applied % view to the Compound Layout, between the Column Selector and
Table views.
10. In the Column Selector dropdown, select a different value from the column selector, and notice
that not only does the table change, but the graph elements related to that column have changed
as well.
2. In the View Selector design workspace, select the Pivot Table, Line Graph, Vertical Bar
Graph, and V-Bar Applied % views in the Available Views field (you may use CTRL + Click
to select multiple views if you wish).
3. Click the Move Right icon to add the selected views into the Views Included field.
4. One at a time, highlight the views in the Views Included box, and use the Move Up and Move
Down buttons to arrange the views in the list as shown here:
6. Remove all views from the Compound Layout except for the Column Selector view by
clicking the close icon at the top right of their sections. Leave only the Column Selector
view in the compound layout.
8. Experiment with changing the Column Selector and the View Selector to various
combinations.