Вы находитесь на странице: 1из 31

RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

Practice 4-1: Modifying Views


Goals To modify the results of a request beyond the default format
Scenario Add a chart to a request and rearrange how the various views within a
request are displayed.
Time 5 10 minutes
Instructions
In the following exercise, you add and arrange Chart, Table, and Title views within
the Compound Layout view.
1. Start Oracle Business Intelligence Presentation Services and log in as
Administrator.
2. Click Answers to clear the workspace and navigate to the Oracle BI Presentation
Catalog where saved requests are stored.
3. Modify the Sales by State request.
a. Select the saved request, Sales by State, from the catalog.
b. Click Modify.
c. From the SalesFacts folder, add the measures Units Ordered and Units
Shipped to the Sales by State request.
d. From the My Filters folder, click the West Region, 1999 filter you created
previously to add it to the request.
e. In the Apply Saved Filter dialog box, click OK.
4. Create a chart view.
a. Click the Show results in a chart view button to display the results of
the request. The default chart type is Vertical Bar.
b. In the Graph drop-down list, at the top of the screen, select Horizontal Bar.
c. Explore chart options.
i. Click the General Chart Properties button to explore chart
properties. Notice that data labels are set to the default, in which they are
displayed when you move your cursor over them.
ii. Click Cancel to close the General dialog box.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

iii. Click the Axis Titles and Labels button . Notice that you can set label
properties for the axes in the chart and add custom labels and data
formats for the display of data.
iv. Click Cancel to close the Axis Titles & Labels dialog box.
v. Click the Additional Charting Options button and explore the
charting options, including setting gridlines and chart legends, defining
behavior when a user clicks a chart, and setting borders and colors.
vi. Click Cancel to close the Additional Charting Options dialog box.
5. Format the chart to display as a three-dimensional cylinder.
a. In the Type drop-down list, select 3D.
b. In the Style drop-down list, select Rectangle.
6. Add different facts to the chart.
a. In the horizontal axis in the Columns section, uncheck the Dollars fact and
select the check boxes for both Units Ordered and Units Shipped.
b. Click the Redraw button (below the chart view) and notice the results.
7. Change the chart width by clicking and dragging the horizontal bar at the bottom
of the chart two tick marks to the right.
8. Verify that the horizontal and vertical axes titles are displayed, create a title for
the chart, and move the legend.
a. Click the General Chart Properties button . The General dialog box is
displayed.
b. Select Custom Title and enter Western Sales 1999 in the field.
c. Click OK.
d. Verify that the title was added to the chart.
e. Click the Additional Charting Options button.
f. Select the Legend tab.
g. Select Bottom in the Location drop-down list.
h. Click OK.
i. Verify that the legend moved from the default location to the bottom of the
chart.
j. Roll over the rectangles in the chart and verify that the data value is displayed.
9. Add position formatting to your chart. Set the Units Ordered bars to display as red
and the Units Shipped bars to display as blue.
a. Click the Format Chart Data button . The Format Chart Data dialog box is
displayed.
b. In the Positional tab, click the Color button for Position 1.
c. In the Color Selector, select red and click OK.
d. Click the Color button for Position 2.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

e. In the Color Selector, select blue, and click OK.

f. Click OK and verify your results.

10. Add conditional formatting to your chart to indicate states that have crossed a
high threshold for units ordered. Build a condition to display Units Ordered as
green in the chart if they exceed 100,000 units.
a. Click the Format Chart Data button .
b. In the Conditional tab of the Format Chart Data dialog box, click the Add
Condition button and select Units Ordered. The Create/Edit Filter dialog box
is displayed.
c. Set the Operator to is greater than.
d. Enter the value 100000.
e. Click OK. Verify that the condition is listed in the Conditional tab of the
Format Chart Data dialog box under the Units Ordered column.
f. Click the Color button for the condition.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

g. In the Color Selector, select green and click OK.

h. Click OK.
i. Verify that the Units Ordered bar in the chart turns green to indicate that
California has more than 100,000 units ordered.
11. View the results in the Compound Layout.
a. Select Compound Layout from the result view drop-down list.

b. Click the Chart button to add the chart to the Compound Layout.
c. If necessary, scroll down to view the chart.
12. Change the title view in the Compound Layout.
a. Scroll up to see the Title view.
b. Select the Edit View button for the Title view.
c. Enter Western Region Sales 1999 in the Title field.
d. Deselect the Display Saved Name check box.
e. Click OK at the upper-right corner.
f. Verify that the title view is changed.
13. Move the views to change the display.
a. Scroll down to the Chart view.
b. Click the Chart view and drag it to the top of the Compound Layout.
c. Click the Table view and drag it to the right of the Chart view.
d. Drag the Title view to the top of the Compound Layout.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

e. Save the request as Western Region Sales with Chart in the My Sales
folder.
14. Notice the results when attempting to save a request using the same name as a
saved request.
a. Click the Save button. The Save Request dialog box is displayed.
b. Click OK.
c. Click Yes in the prompt to replace the existing file.
15. Leave Answers open for the next practice.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

Practice 4-2: Adding a Column Selector to a
Request
Goals To add a column selector to a request
Scenario You need to add a column selector view to enable users to dynamically
change the columns that appear in a request.
Time 5 10 minutes
Instructions
Using the Column Selector view in your Compound Layout view, you can provide a
quick way for users to select a column for which they would like to view sales fact
results.
1. Click the Answers link to clear the workspace and return to the Answers start
page.
2. Click the SupplierSales subject area.
3. Create the following request:

4. Click the Results tab to view your results. By default, the results appear in a
Compound Layout with a title view and a table view.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841



5. Add a Column Selector view to the Compound Layout view.
a. Click the Add View link and select Column Selector from the list.

RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

b. In the Column 1 column (Customer), select the Include Selector option.

c. Add choices to the column selector by clicking the following columns in the
selection pane: Periods.Month, Periods.Year, Customers.Region,
Customers.State.

d. Click OK to return to the Compound Layout view.
e. Scroll to the bottom and locate the Column Selector view.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

f. Drag the Column Selector view above the Table view in the Compound
Layout.
.
6. Use the Column Selector to modify the table results.
a. Select Region from the Column Selector drop-down list and notice the results.

b. Select the other columns from the Column Selector and notice the results.
7. Save your request as My Column Selector in the My Sales folder.
8. Leave Answers open for the next practice.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

Practice 4-3: Performing Common Tasks in
Views
Goals To perform some common tasks while working with views
Scenario While working with the various results views, you perform common tasks
such as creating a Compound Layout, adding a chart, duplicating a view,
previewing how a view will appear in an Interactive Dashboard, adding a
Title view, adding a Column Selector view, and displaying an image in a
view.
Time 15 20 minutes
Instructions:
1. Create a Compound Layout view.
a. Create the following request and associated filter:


Please note: If you add the Region column to your request to create the filter,
delete it from the request after creating the filter.
b. Click Results:

c. Click the Chart button to add a Chart view.
d. Click OK to return to the Compound Layout view.
e. Drag the Chart view above the Table view in the Compound Layout.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

f. Verify your work:

2. Create a duplicate of the Chart view. Duplicating a view is useful when you want
to make changes to a view while preserving the original view, or when you want
to create a new view based on an existing view.
a. Click the Edit View button for the Chart view.
b. Click the Duplicate View button at the top of the workspace.
c. Select Duplicate View from the list.
d. Notice that the duplicate view has the numeral 2 appended to it.

e. Change the chart type to Horizontal Bar.
f. Deselect the check box for the Units Ordered column on the horizontal axis.
g. Select the check box for the Dollars column on the horizontal axis.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

h. Click Redraw and check your work.

i. Select Compound Layout from the view drop-down list.
j. Select Add View >Chart: 2.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

k. Drag the Chart (2) view above the Table view and below the original Chart
view.

3. Add a Column Selector view to the Compound Layout view.
a. Select Add View >Column Selector.
b. In the Column 1 column (Customer), select the Include Selector check box.
c. Add choices to the column selector by clicking the following columns in the
selection pane: Periods.Month, Periods.Year, Customers.Sales Rep, and
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

Customers.State.

d. Click OK to return to the Compound Layout view.
e. Scroll to the bottom, locate the Column Selector view, and drag it above the
Chart view.
f. Check your work:

RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

g. Select Month from the Column Selector drop-down list and observe the
results:

h. Select the other columns from the Column Selector drop-down list and
observe the results.
4. Add a title to the Compound Layout view.
a. Click the Edit View button for the Title view located at the top of the
workspace.
b. Select Display Saved Name. When the request is saved, the saved name will
appear as the title.
c. Click the Edit button to the right of the Title field.
d. Make your choices for font, cell, and border options, and then click OK.
e. In the Subtitle field, enter West Region.
f. Click the Edit button to the right of the Subtitle field.
g. Make your choices for font, cell, and border options, and then click OK.
Notice that if Display Results is checked, the results are displayed.
h. In the Logo field, type fmap:Images/report_salesVolume.jpg to display an
image in the Title view. This image file is located in
D: \ Or acl eBI \ web\ app\ r es\ s_or acl e10\ i mages.
i. Click the Edit button to the right of the Logo field.
j. Make your formatting choices, and then click OK.
k. In the Started Time drop-down list, select Display Date and Time to identify
when the request started to execute.
l. Click OK to return to the Compound view layout.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

m. Save the request in the My Sales folder as Units Ordered/Shipped
Revenue.
n. Check your work. Your Title view should look similar to the following:

5. Preview how the view will appear on an Intelligence Dashboard.
a. Click the Preview button near the top of the workspace. The dashboard
preview appears in a new window.

b. Click the Close button to close the preview window.
6. Leave Answers open for the next practice.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

Practice 4-4: Using the Table View
Goals To use the Table view to show results in a standard table.
Scenario You use the Table view to display column totals and grand totals, combine
values into bins, and specify Table view properties, such as location of
paging controls, number of rows per page, green bar styling, and column
and table headings.
Time 15 20 minutes
Instructions:
1. Create the following request and associated filters:


Please note: If you add the Year column to your request to create the filter, delete
it from the request after creating the filter.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

a. Click Results.

2. Specify report totals.
a. Click the Edit View button for the Table view.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

b. To add a grand total for the report, click the Grand Total button at the top
of the workspace. A grand total is added to the bottom of the table.

c. Click the Grand Total button again to verify that the option Report-Based
Total is selected.

This option is selected by default. If this option is not selected, the Oracle BI
Server calculates the total based on the entire result set before applying any
filters to the measures.
d. Click the Grand Total button again and select the Format Labels option.
Specify caption, cell, font, and border options as desired.
e. Click the Grand Total button again and select the Format Measure Values
option. Specify cell, font, and border options as desired.
f. Click the Total By button for the Month column to apply totals for the
individual column.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

g. If desired, click the Total By button for the Month column again to modify
the format for labels and measure values.
h. Your request should look similar to the following:

3. Combine values into bins.
a. Click the Edit Formula button for the Day column. The Edit Column
Formula dialog box opens. Notice the column formula.
b. Click the Bins tab.
c. Click Add Bin. You want to build bins that will compare revenue in the first
half of the months with revenue in the second half of the months.
d. In the Create/Edit Filter dialog box, create a filter where Day is between
19980201 and 19980214.
e. Click OK.
f. In the Edit Bin Name field, enter February First Half.
g. Click OK.
h. Add another bin called February Second Half with a filter where Day is
between 19980215 and 19980228.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

i. Repeat the steps and create two more bins: March First Half and March
Second Half.

j. Click the Column Formula tab and examine the column formula created
when you built the bins.

k. Click OK to close the Edit Column Formula dialog box.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

l. Your results should look similar to the following:

4. Specify Table view properties.
a. Click the Edit Formula button for the Day column.
b. Click the Bins tab.
c. Click Clear All.
d. When prompted with the Clear Bins message, click No to revert to the original
formula.
e. Click OK to close the Edit Column Formula dialog box. The table reverts to
its original format.
f. Click the Criteria tab.
g. Delete the filter Name is equal to / is in 2
nd
& Goal Sports Caf.
h. Add the Region column and a filter where Region is equal to / is in Central.
i. Delete the Region column.
j. Click Results.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

k. Click the Table View Properties button near the top of the workspace. The
Edit View dialog box opens.

l. Experiment with specifying the Table view properties: paging controls, rows
per page, display column and table headings, and green bar styling.
m. When you are done, save the request in the My Sales folder as My Table
View.
5. Leave Answers open for the next practice.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

Practice 4-5: Working with Views
Goals To add a variety of views to results.
Scenario You add a variety of views to the results of a request to help you look at data
in meaningful and intuitive ways. Preparing multiple views of results helps
users to identify trends and relationships in data. You create a request and
add Filters, Legend, Narrative, Ticker, and Logical SQL views. Finally, you
add a View Selector view so that users can choose the view thats useful to
them.
Time 15 20 minutes
Instructions:
1. Create the following request:

2. Click Results.
3. Add a Filters view.
a. Select Add View >Filters to add a Filters view.
b. Drag the Filters view above the Table view and below the Title view.
c. Drill down on the Central region.
d. Notice how the Filter view changes after drill down. This is because drilling
down limits the result set and automatically creates a filter. The Filter view
tracks the results.
e. Drill down on the Gulf sales district.
f. Drill down on Mary Silver.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

g. Check your results:

RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

h. Click the Criteria tab. Notice that columns and filters have been
automatically added to the original request.


i. Remove all filters.
j. Remove the Sales Rep and Customer columns.
4. Add a Legend view.
a. Create a conditional format for the Dollars column where the background cell
color for dollars less than one million is red, dollars between one million and
two million is yellow, and dollars greater than two million is green.

b. Click Results.
c. Delete the Filters view you created in an earlier step.
d. Select Add View >Legend.
e. Set legend items per row to 3.
f. Populate title and items based on the following screenshot. Use the Sample
Text format buttons to set colors to match those used in the conditional
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

formatting for the Dollars column.

g. Click OK to return to the Compound Layout view.
h. Check your work.

5. Add a Narrative view.
a. Select Add View >Narrative.
b. In the Prefix field, enter This report shows sales by sales district.
The sales districts are:.
c. Select the text in the Prefix field and click the Bold button .
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

d. Place your cursor at the end of the text, after the close bold tag, and click the
Line Break button twice.
e. In the Narrative field, enter @2. This will include the results from the second
column (Sales District) in the narrative text. You use @n to return results
from a column, where n represents the desired column based on the sequence
of columns in the request. In this example, Sales District is the second column
in the request.
f. Place your cursor after @2 and click the Line Break button.
g. In the Postfix field, enter Please address sales marked as red.
h. Bold the text in the Postfix field.
i. Place your cursor at the beginning of the text in the Postfix field, before the
bold tag, and click the Line Break button once.
j. Check your work.

RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

k. Click OK to return to the Compound Layout view and check your results.


6. Add a Ticker view.
a. Select Add View >Ticker.
b. In the Beginning Text field, enter Total Sales by Sales District
between the <tr>and <td>tags.
c. In the Row Format field, enter @2[br/]@3. This will display data from
columns two and three in separate rows in the ticker. Column 2 is Sales
District and column 3 is Dollars.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

d. Check your work.

e. Accept all other defaults and click OK to return to Compound Layout view.

7. Add a Logical SQL view. This view is useful for Administrators and developers
for debugging purposes, and is usually not included in results for typical users.
a. Select Add View >Logical SQL.
b. Verify that a logical SQL view was added to the Compound Layout and that
the logical SQL for the query appears.

8. Add a View Selector view. This view allows users to select among available
views and display the most useful view.
RR I-TEC ,#209,Nilagiri Block,Adithya Enclave @8790998182,8801408841

a. Select Add View >View Selector.
b. In the Caption text box, enter Select a view:
c. Set the Caption Position to Above.
d. Select the Table view in the Available Views list and click the right-arrow
button to add it to the Views Included list.
e. Repeat the above step to add the following views to the Views Included list:
Logical SQL, None, and Narrative.
f. In the Views Included list, select the None view and click the down-arrow
button to move it to the bottom of the list. The views appear in the list in the
order that they appear in the view selector. Note that you can also rename
views in the list to give them names that are more meaningful to your users.
g. Check your work.

h. Click OK.
i. Scroll down to the bottom of the Compound Layout. In the View Selector
view, toggle between the different available views and verify that each is
displayed.
9. Save the request as My Views.
10. Leave Answers open for the next practice.

Вам также может понравиться