Internal and Confidential COGNOS Decision Stream Cognos CoE
Slide 2
11 September 2015 Agenda Getting Started Components of DecisionStream Definitions DecisionStream Catalog Database Connections Fact Builds Dimension Builds JobStreams SQLTXT Designer SQL Term Command Line Interface
Slide 3
11 September 2015 Modules 9. Definitions 1. Getting Started 2. Create a Catalog5. Dimension Builds 6. Job streams 7. SQL Text Designer 8. Command Line Interface 3. Fact builds 4. Data Delivery Modules
Slide 4
11 September 2015 Module 1 Getting Started
Slide 5
11 September 2015 The primary purpose of DecisionStream is to create integrated data marts by: extracting operational data from multiple sources merging and transforming the data to facilitate reporting and analysis delivering transformed data into coordinated data marts What is DecisionStream?
Slide 6
11 September 2015 The Purpose of DecisionStream Transformations OLTP - x/y + Data Integrated Data Marts
Slide 7
11 September 2015 Decision Stream Architecture Design Client APIScripts Platforms Windows NT,95,98, 2000 Desktop DecisionStream Process Metadata Operational Sources DB2 Oracle SQL Server Informix ODBC Sybase Text MetaData Targets Impromptu Transformer Architect Microsoft SSAS Essbase Server Engine NT or UNIX Server HPUX AIX Solaris IBM AIX 4.2 COMPAQ TRU64 DECISIONSTREAM Custom DBMS Files Flat Files ERP
Slide 8
11 September 2015 3 How DecisionStream Creates Data Marts Dimension Delivery 5b. 4 Sales 1 Dimensional Framework ProductTimeLocation Dim Data Sources 2 Data Source Data Source DataStream DataStream MetaData Delivery 5c. 5a. Fact Delivery
Slide 9
11 September 2015 DecisionStream Interface
Slide 10
11 September 2015 Interface Objects The core elements in a DecisionStream catalog are: Builds DataStreams Transformation Models Delivery Modules
Slide 11
11 September 2015 Interface Objects (Contd) The core elements in a DecisionStream catalog are: JobStreams Dimensions Hierarchies and Lookups Templates Connections Functions
Slide 12
11 September 2015 DecisionStream Tools
Slide 13
11 September 2015 Module 2 Create a Catalog
Slide 14
11 September 2015 What is a Catalog? A catalog is a container for DecisionStream metadata.
Slide 15
11 September 2015 A DecisionStream Catalog provides a central repository for the information that defines how DecisionStream extracts, transforms, and delivers data. You can store a DecisionStream Catalog in either a dedicated database or a database that you use for other purposes, such as a target data mart. A Catalog consists of a set of data tables that can reside in any database for which DecisionStream has create permissions. You can create only one Catalog per database. DecisionStream Catalog
Slide 16
11 September 2015 Diagram illustrates How DecisionStream extracts and transforms data from the data sources and how it delivers data to the target marts The flow of data from the data sources to the target data marts DecisionStream Catalog
Slide 17
11 September 2015 Shared Items in a Catalog Library items can be used throughout the catalog in a variety of different builds and JobStreams. A catalog library consists of: Dimensions Connections Functions
Slide 18
11 September 2015 Create a Catalog You can create a Catalog in the DS_New sample database. Steps 1. From the File menu, click New Catalog. If you are prompted to disconnect from the current Catalog, click OK. The New Catalog dialog box appears. 2. In the Name box, type MyCatalog and then click Next. 3. In the left pane, click ODBC. 4. In the Data Source Name box, click DS_New. 5. Click Finish. DecisionStream creates the Catalog tables and opens the new Catalog. 6. From the File menu, click Save Catalog. DecisionStream Catalog
Slide 19
11 September 2015 Backup and Restoration of a Catalog Backup files are useful for recovery and emergency situations. Write the catalog tables to an ASCII text file for later recovery.
Slide 20
11 September 2015 Creating an ODBC Connection Steps to define connections to ODBC databases set up for the Great Outdoors Company. Steps 1. Open the MyCatalog catalog that you created in Chapter 2. 2. In the Library, right-click Connections, then click Insert Connection. 3. In the Alias box, type GO_Sales 4. Click the Connection Details tab. 5. In the left pane, click ODBC. 6. In the Data Source Name box, click GOScer3. 7. Click OK to close the Connection Properties dialog box. Database Connections
Slide 21
11 September 2015 Creating a connection to SQLTXT Database Steps 1. In the Library, click the Connections folder. 2. From the Insert menu, click Library, and then click Connection. 3. In the Alias box, type DS_Sources 4. Click the Connection Details tab. 5. In the left pane, click SQLTXT. 6. In the Definition File box, click Browse, then select the DS_Sources.def file in the Cognos samples directory. 8. Click OK to close the Connection Properties dialog box. Database Connections
Slide 22
11 September 2015 Creating a connection to Oracle Database Steps 1. In the Library, click the Connections folder. 2. From the Insert menu, click Library, and then click Connection. 3. In the Alias box, type DS_OracleSrc 4. Click the Connection Details tab. 5. In the left pane, click Oracle SQL*Net. 6. Enter the values for User Name, Password and SQL*Net Service. 8. Click OK to close the Connection Properties dialog box. Database Connections
Slide 23
11 September 2015 Module 3 Fact Builds
Slide 24
11 September 2015 A DecisionStream fact build specifies how to extract, transform, and deliver data. Data may come from multiple data sources, Each of which has its own naming and storage conventions. A fact build can acquire data from one or more data sources merge and clean the source data aggregate the data with reference to the dimensional framework deliver the fact and dimension data to one or more data marts deliver metadata to OLAP systems and Cognos BI applications Fact Builds
Slide 25
11 September 2015 Deliver 10100101 The Fact Build Process Transaction Data Sources Structure Data Sources AcquireStar Join Merge Transform Aggregate Partition Filter Dimensional Framework
Slide 26
11 September 2015 Fact Build Data Elements Dimension Measure Attribute Derivation A dimension key or data that is used to qualify a measure. Quantitative data or values that can be aggregated. These are usually Key Performance Indicators (KPIs). Additional information that is not a dimension element or measure but that may be of interest. A calculation or transformation.
Slide 27
11 September 2015 Fact Build Wizard The Fact Build Wizard guides you step-by-step through the process of creating a new fact build.
Slide 28
11 September 2015 Types of Fact Builds Fact build types provide default settings for the delivery of data marts.
Slide 29
11 September 2015 The Fact Build Wizard: Add a Data Source A data source for the fact build is chosen from the available connections. This source contains the transactional data to be transformed.
Slide 30
11 September 2015 The Fact Build Wizard: Create the SQL Data Source Tables and columns to be read from SQL statement created
Slide 31
11 September 2015 The Fact Build Wizard: Map to Fact Build Elements Elements of the Transformation Model Columns returned from source data by SQL
Slide 32
11 September 2015 The Fact Build Wizard: Modify Attributes The elements of the Transformation Model are created automatically by the Fact Build Wizard but may need to be modified. Elements of the Transformation Model Click here to modify the types of elements
Slide 33
11 September 2015 The Fact Build Wizard: Link to the Dimensional Framework Dimension elements are related to reference structures.
Slide 34
11 September 2015 The Fact Build Wizard: Fact Data Delivery
Slide 35
11 September 2015 Fact Build Visualization Dimensions associated with the build Fact and Dimension tables Metadata delivery to Impromptu, PowerPlay, and Architect Transactional data sources
Slide 36
11 September 2015 DataStream Mapping Visualization You can visualize the mapping of the SQL columns to the build elements by clicking the DataStream tab.
Slide 37
11 September 2015 Transformation Model Visualization Use the Transformation Model tab to view the linkage of the dimension elements to the Dimensional Framework. Mapped Reference Structures
Slide 38
11 September 2015 Fact Delivery Visualization By clicking the Fact Delivery tab, you can view the mapping of the elements to the target fact table.
Slide 39
11 September 2015 Delivery Modules The three delivery module types are: fact dimension metadata