Академический Документы
Профессиональный Документы
Культура Документы
Framework Manager
2
4. When prompted to login use Administrator leave the password blank,
and click OK
You are now placed into the Framework Manager application. The tree structure
in the Project Viewer pane (to the left) shows the Objects in your model
3
Defining Quality of Service
In Cognos 8 it is possible to control and document the functions that will be made
available to an end user. This is defined by a feature called ‘Quality of Service’.
If there are functions that are never used, perform poorly or simply not
understood properly, ‘Qua lity of Service’ can assist in enhancing the user
experience.
2. Check the radio button for Set function list based on the data source
type
4
3. To set both data sources to use SQLServer, click under the Function set
column for both gosales and goretailers, and select SQLServer from the
drop-down
5
5. Expand Operators and left-click on the down arrow beside the f(x) +
You have the option to make the function unavailable, and to provide a visual cue
as to possible issues and to add further documentation
6. Let’s change this by selecting Poor Performance and add the following
text to the Additional information pane: I did this at Cognos Forum2006
6
7. Click OK
9. In the Project Viewer pane, expand the namespace Database view, and
then expand the namespace gosales
13. Click on the Functions tab at the bottom of the Available Components
pane
7
Note the exclamation mark ( ! ) beside the + providing a visual cue and the
description for the operator contains our additional information:
8
Model Reporting
Being able to document your model and understand what is in it has never been
easier. With the model open do the following steps:
9
3. In the Model Report window, click on XML in the top-right corner - this will
take a minute to convert the report to XML
You now have the model report (relationships, Query Subjects, etc.) in XML
format
10
Adding a Cognos PowerCube as a data source
In order to be able to report off an OLAP and Relational data source in the same
report, both data sources need to be in the same model. Query Studio and
Report Studio can access metadata that is relationally or dimensionally modeled.
Analysis Studio can only work with dimensionally modeled metadata.
11
4. In the Create Package – Provide Name dialog, for the Name type in: GO
Cube Forum2006
5. Click Next
7. Click No to close the dialog (if you would like to publish the package, feel
free to do so)
12
You now see great_outdoors_company under the namespace Database view
13
Dimensionally Modelled Relational metadata
14
2. Select the Add Hierarchy link located in the center of the dialog box as
shown
15
5. In the Available items window, navigate to the Product namespace by
following the path shown in the screen shot shown, and expand the
namespace to display its query subjects
16
7. Left-click and drag the Product line query item to beneath My
Product(All)
8. Now drag Product line code into the box beneath Select a level in the
hierarchy control to see the query items, and make sure to select
_businessKey when the drop-down appears so that its role is properly
identified
17
9. From the Available items pane, expand the Product type query subject
and drag the Product type query item to beneath Product line in the
Hierarchies pane
10. Now drag and drop the Product type code query item into the bottom
right pane, ensuring that its Role is set to _businessKey when the drop-
down appears
11. From the Available items pane, expand the Product lookup query
subject and drag the Product name query item to beneath Product type
in the Hierarchies pane, ensuring that its Role is set to _memberCaption
13. Now drag and drop the Product number query item into the bottom right
pane, ensuring that its Role is set to _businessKey when the drop-down
appears
18
14. From the expanded Product lookup query subject, drag and drop the
Description query item into the bottom right pane, ensuring that its Role
is set to _memberDescription
15. Expand the Product query subject drag and drop the Introduction date
query item into the bottom right pane, ensuring that No Role is selected
with the drop-down appears
16. From the expanded Product query subject, drag and drop the Product
image query item into the bottom right pane, again ensuring that No Role
is selected with the drop-down appears
17. Click OK
19
The next step is to check Scope or make sure there are measure values that can
be applied to this dimension (similar to Transformer and scope)
20
2. In the Dimensions pane scroll over to the right until you find My Product
dimension and click the Show Scope button
• All le vels that show as dark yellow (which the y do in our case) have
measure values naturally applied to them and will work properly in the
different studios
21
Creating and using a Cognos 8 Package
We have already created a Framework Manager model and imported metadata
in from our database using a simple wizard in just a few clicks. We are now
going to see how simple it is to publish this package to Cognos 8.
2. When the new dialog box appears and prompts you for the name, enter
GO Sales Forum2006 and click Next
3. Ensure that all the Query Subjects are selected on the next screen and
click Next again
4. In the Create Package Wizard - Add Security screen, leave the defaults
as they are and click Next
7. When asked whether you wish to open the Publish Wizard, click Yes and
click Next
8. Deselect the Enable model versioning check box and click the Publish
button
9. Ensure that the Exit this Wizard radio button is checked and click Finish,
and again, ignore any warnings that may occur
22
We have now published a package to Cognos ReportNet. Now we need to verify
that the published package is useable:
3. When you are presented with the Cognos Connection screen, click on the
Public Folders tab to verify that the GO Sales Forum2006 package has
been created
4. Click the GO Sales Forum2006 link and select the Report Studio link at
the top right of the browser window to open Report Studio
5. When prompted, select Create a new report, select List, and click OK
• Notice that the top left pane, entitled Insertable Objects now shows
the Query Subjects in our Framework Manager Model
6. Expand Dimension view to Product line (as shown) and drag and drop
Product line into the list box
23
7. Add Closing inventory from the Inventory measure dimension by
navigating as per the screen shot
8. From the Data menu, chose Drill Behavior … and check the checkbox for
Allow drill-up and drill-down
9. Click OK
24
10. To run this simple report, from the Run menu, select Run Report - HTML
• You will be presented with a list of Product Lines. This means that
we have successfully created a Framework Manager model and
published it to Cognos ReportNet
11. From the File menu, Close any browser windows you currently have open
12. If prompted with: Are you sure you want to navigate away from this
pane?, click OK
25