You are on page 1of 132

WHY MICROSTRATEGY

Proven Success in the Market High Performance &Availability Integrated Server Architecture Supports Data Mining Ease of Use Cost Effective Capable of Complex Analysis Scalable in terms of Users as well as database Open Architecture Very good e CRM tools with a solid Foundation of BI tools Compatible with almost all different databases best with SMP.MPP Personalization in all levels Caching is well utilized at all levels Some Metadata properties can be modified

1 Million people use Microstrategy Every Day to take better business decisions. 20 out of Top 30 Global retailers use Microstrategy . Mcdonalds,metroAG,JCPenny,Target 12 out of Top 20 Commercial Banks (Barclays ,Wells Fargo,AMEX) 4 out of Top 6 Global Mail Delivery Services (FedEx ,United Postal Service)

10 out of Top 10 Global Telecommunications ( at&t Telestra,verizon.vodaphone,O2)


8 out of Top 10 Manufacturing Companies (Honda, Toshiba,ABB)

5 out of 7 Online Information Sites (Yahoo, face book, ebay,paypal)


12 out of the top 15 U.S. Federal Government cabinet-level departments

ARCHITECTURE

ARCHITECTURE

Departmental Deployment Scenario

100 Web Users

10 Microsoft Office Users

100 Email, File/Print Server Users

MicroStrategy Web MicroStrategy Office

MicroStrategy Narrowcast Server

2 Users

MicroStrategy Desktop

MicroStrategy Intelligence Server MicroStrategy OLAP Services MicroStrategy Report Services

1 User

MicroStrategy Architect

Mid-Size Enterprise Deployment Scenario


1000 Web Users 50 Microsoft Office Users 2000 Email, File/Print Server Users

MicroStrategy Web

MicroStrategy Office

MicroStrategy Narrowcast Server

20 Users

MicroStrategy Desktop

MicroStrategy Intelligence Server MicroStrategy OLAP Services MicroStrategy Report Services MicroStrategy Administrator

5 Users

MicroStrategy Architect

5 Users

Enterprise Deployment Scenario


10000 Portal Users 5000 Web Users 250 Microsoft Office Users 10,000 Email, File/Print Server Users

MicroStrategy Office

MicroStrategy Narrowcast Server

Portal Server

MicroStrategy Web

50 Users

MicroStrategy Desktop

MicroStrategy Intelligence Server MicroStrategy OLAP Services MicroStrategy Report Services

5 Users

MicroStrategy Architect

MicroStrategy Administrator

5 Users

Microstrategy Base Products


Microstrategy Desktop : Enables all the functionality for Report Design and Development Microstrategy Intelligent Server : means for implementing virtually all Microstrategy system capabilities Microstrategy Web :Includes all the functionality useful for report display and manipulation

Microstrategy Desktop
MicroStrategy Administrator MicroStrategy Architect Query Engine MicroStrategy Desktop MicroStrategy Web MicroStrategy Narrowcast Server Analytical Engine MicroStrategy BI Developer Kit MicroStrategy Report Services MicroStrategy Office SQL Engine MicroStrategy OLAP Services

Source Systems

Data Warehouse

MicroStrategy Applications

Microstrategy Intelligent Server


Components like Administration Database Connectivity Job Processing Security Caching Scheduling Clustering Web Administration

Microstrategy Web
Can create reports, templates but not filters and hence Agent is required. Enables end Users to create their own style of Reports and Dashboards . Customization using HTML or Java is supported.

Microstrategy Narrowcast Server


Can be used as any of the following, Output to Email, Telephone, Pager, WAP, Fax, Voice Mail, Mobile Phone Personalized Information Proactive Customer contact One to One Marketing Active Information portal

Narrowcast Server Contd..


Narrowcast Server Console has 4 components Services Schedules Subscriptions Styles Same governing options as in Server

Microstrategy Desktops Functionality


Create/Upgrade/Delete Project Data warehouse Browsing Project Schema modification Attribute and fact creation System-Wide Searching Create/Delete/Modify Objects View the properties of the objects Run Reports Rename objects Specify Desktop Preferences

OBJECTS
Schema Objects Application Objects Configuration Objects

Schema Objects
Attributes Facts Hierarchies Tables Partition Mapping Functions and Operators Transformations

Application Objects
Filters Metrics Reports Drill maps Prompts Templates Search Objects Auto styles Documents Custom Groups Consolidations

Configaration Objects

System Administration
Project,Cluster Nodes,Scheduled maintenance

System Monitors Jobs,user connections,database conn,cache Configuration Managers DB Instances,Schedules,Security Roles, Subscriptions Delivery Mangers Transmitters,Devices,Contact

Connection Modes for a Project Source


Direct Mode - 2 Tier connection mode connects the project to the metadata via an ODBC

Server Mode - 3 Tier connection mode connects the project to the metadata via the Intelligent Server

Project Source Manager

Create a new Project Source Modify Existing Project Source Delete Existing Project Source Is connected to Metadata

OLTP vs. OLAP


Warehouse Challenges
Alignment:

OLTP
Aligned by Application Typically Not Integrated

OLAP
Aligned by Dimension Must Be Integrated

Batch
Integration:

Maintenance

History:

Recent or Current Data


Transactions
(read/write/update)

Historical Data
Analysis
(read-only)*

Data Access:

Tuning

Usage:

Fairly Consistent

Spiked or Uneven

Confidential & Proprietary

Basic Business Intelligence Architecture

MicroStrategy Administrator

MicroStrategy Architect
Query Engine MicroStrategy Desktop MicroStrategy Web MicroStrategy Narrowcast Server

Analytical Engine MicroStrategy BI Developer Kit

Source Systems

Data Warehouse
SQL Engine

MicroStrategy Report Services MicroStrategy Office MicroStrategy OLAP Services

ETL

MicroStrategy Applications

MicroStrategy Metadata
Confidential & Proprietary 32

ROLAP Architecture of Microstrategy

Microstrategy Metadata

Data Warehouse / Data Mart

Intelligence Server

Confidential & Proprietary

33

Core of Microstrategy BI Platform

SQL Engine and Query Engine Work together to generate and send optimized SQL to the RDBMS Analytical Engine Adds analytical power to greatly extend the capability of the system beyond what the RDBMS provides. (Also responsible for MOLAP functionality) Server Components Responsible for all aspects of report generation, element retrieval, object retrieval and so on.

Confidential & Proprietary

34

2 Tier Architecture(Direct Mode)

ODBC to Metadata

Microstrategy Metadata

Desktop
ODBC to DW

Data Warehouse / Data Mart

Confidential & Proprietary

35

3 Tier Architecture(Server Mode)

ODBC to Metadata

Microstrategy Metadata

Desktop
Microstrategy Intelligent Server
ODBC to DW

Data Warehouse / Data Mart

Confidential & Proprietary

36

Multi Tier Architecture(Server Mode)

LDAP Server

ODBC to Metadata

Microstrategy Metadata

Web Server

Microstrategy Intelligent Server ODBC to DW

Data Warehouse / Data Mart


Web Browser Microstrategy Desktop
Confidential & Proprietary 37

Multiple Project Connectivity and Layout

Project Source

Intelligence Server (MD DSN + Login)

Project 1
WH Database Instance

Project 2
WH Database Instance

WH Database Connection

WH Database Connection WH DSN WH Login Metadata Project 1 Project 2

WH DSN
WH Login

WH Database

WH Database

Confidential & Proprietary

38

The Microstrategy Desktop

Confidential & Proprietary

39

INSTALLATION OF MICROSTRATEGY

Dependent Platforms:

WINDOWS, UNIX/LINUX.
Requirements Of Microstrategy Web:

Three-tier archeitecture.
Microsoft Internet Information Services 5.0 or higher.

Confidential & Proprietary

40

Procedure for installation of Microstrategy:

Choosing typical installation method or custom installation method. Selection of path for installation. Selecting the components to be installed. Configuring of Microstrategy installation.

Confidential & Proprietary

41

Steps for Project Creation and Configuration

Create metadata database

Establish connections to the metadata database and the data warehouse


Create the project using the Project Creation Assistant Configure additional schema-level settings

Confidential & Proprietary

42

Path to navigate Configuration wizard

Confidential & Proprietary

43

Select Metadata Repository & Statistics tables & click Next

Confidential & Proprietary

44

2 tier Project Source Creation

Confidential & Proprietary

45

Select an Access database for metadata & click next

Confidential & Proprietary

46

The configuration wizard automatically select the path for the script optimized to the database

Confidential & Proprietary

47

Once the path are given click finish

Confidential & Proprietary

48

Click Ok to the metadata configuration message

Confidential & Proprietary

49

Once the configuration is successful we will get the message

50 Confidential & Proprietary

3 tier Project Source Creation


Uncheck 2 tier project source creation options

Confidential & Proprietary

51

Browse the access file for metadata & click next

Confidential & Proprietary

52

The configuration wizard automatically select the path for the script

Confidential & Proprietary

53

Once the path are shown click finish

Confidential & Proprietary 54

Select Setup Micro strategy Intelligence server & click next

Confidential & Proprietary

56

Select the DSN to connect to the metadata, if we want to select a new DSN select the new tab

Confidential & Proprietary

57

We can give user name & password to connect to the metadata repository

Confidential & Proprietary

58

We can create an new server definition in this wizard

Confidential & Proprietary

59

It will prompt a message for confirmation to use this server default

Confidential & Proprietary

60

We have to provide the port number that has to used by intelligence server

Confidential & Proprietary

61

Once the wizard is completed click finish

Confidential & Proprietary

62

It will prompt an message to stop IS for the process to begin. Click OK

Confidential & Proprietary

63

Once the server definition is successfully created it will ask to start the server

Confidential & Proprietary

64

Micro strategy server manager window will indicate whether the service is started or stopped

Confidential & Proprietary

65

It will take a few minutes to start the service

Confidential & Proprietary

66

Once IS configuration is done select project source & click next

Confidential & Proprietary

67

Name the project source & click next. Note that Intelligent server is select default

Confidential & Proprietary

68

Select the system in which Intelligence server is installed using the browse button

Confidential & Proprietary

69

Select the location of IS to which we want to connect & also specify the default port number

Confidential & Proprietary

70

We can provide username & password either windows or anonymous or standard authentication to enter into the project source

Confidential & Proprietary

71

Once the project source configuration has been completed Finish the wizard & exit from it

Confidential & Proprietary

72

While entering into the project source it will ask for username & password

Confidential & Proprietary

73

Incase if there is no projects in project source it will return this warning message

Confidential & Proprietary

74

PROJECT CREATION

Confidential & Proprietary

75

Right-click the Project source and Choose Create New Project option

Confidential & Proprietary

76

Click on the option Create Project and Click OK.

Confidential & Proprietary

77

Specify the project Name and mention The project source To be used. Click OK

Confidential & Proprietary

78

Give login Id and Password and Click OK.

Confidential & Proprietary

79

Confidential & Proprietary

80

Click the option select tables from Warehouse Catalog to Fetch tables from Warehouse and Click OK. Choose from the existing data Base instance or Create a new Instance mentioning the Database.

Confidential & Proprietary

81

Welcome Page for the Database Instance wizard as shown below

Confidential & Proprietary

82

Specify the instance name and select the required Database type

Confidential & Proprietary

83

Select the DSN and give the database login and password. Click Next

Confidential & Proprietary

84

Summary Screen for the Database Instance wizard as shown below

Confidential & Proprietary

85

Click ok

Confidential & Proprietary

86

After creating the instance the warehouse window opens

Confidential & Proprietary

87

Select the required fact and lookup tables from the warehouse

Confidential & Proprietary

88

Types of Microstrategy Objects

Application or User Objects Reports and report


related objects built using desktop (viz.templates,filters,metrics and so on)

Configuration Objects Administrative and connectivityrelated definitions(viz. Database Instances, Cache monitor and so on)

Schema Objects Abstractions that relate application


objects to physical data warehouse structures(viz. attributes, facts,hierarchies,transformations)

Confidential & Proprietary

89

MicroStrategy Objects

Schema Objects
Attributes Facts Hierarchies Transformations Partitions

User Objects
Templates Filters Metrics Custom Groups Consolidations Prompts Searches

Reports
&

Documents

Schema objects are used to create user objects.

User objects are used to create reports and documents.

Confidential & Proprietary

90

MICROSTRATEGY ARCHITECT

Before reports are created and viewed through desktop, the metadata will have to populated with some basic schema definitions using the MicroStrategy architect. The schema objects are Attributes Facts Hierarchies Transformation

Partition Mappings

Confidential & Proprietary

91

ATTRIBUTES

Attributes are groups of related data, such as in table columns. The attribute acts like a column header, and the data that appears in the following table are elements. Elements define and make up the attribute.

ATTRIBUTES

Confidential & Proprietary

93

ATTRIBUTES - PROPERTIES
element: unique value (a row) of an attribute

form: identifier or descriptor of an attribute such as an abbreviation or URL


expression: criterion defining what an attribute form does with columns, such as combining columns relationship: allows interaction of data and shows how data is related within a project

Confidential & Proprietary

94

Attribute roles
Attribute roles are used when a lookup table is used for more than one attribute. For example, state can refer to the location of a vendor and of a store. To see both roles on the same report, you must treat them as different attributes. That is, they must have different attribute names. If any attribute must play multiple roles, an attribute must be created in the logical model for each of the roles. To create unique attributes, you can use either automatic attribute role recognition, where you create multiple attributes on the same table and allow MicroStrategy to automatically detect the multiple roles

explicit table aliasing, where you create multiple logical tables pointing to the same physical table and define different attributes in each

Confidential & Proprietary

95

Steps to turn on automatic role recognition

In the Database Instance Manager, right-click your database instance and choose VLDB Properties. Expand the Query Optimizations folder. Select Engine Attribute Role Options. Note: If the Engine Attribute Role Options is not visible in the Query Optimizations folder, select Show Advanced Settings from the Tools menu. Clear the Use default inherited value check box. If it is selected, the Engine Attribute Role Options are not available for selection.

Select the Enable Engine Attribute Role Feature option.


Click Save and Close.

Confidential & Proprietary

96

Attribute role creation by explicit table aliasing

On the MicroStrategy Desktop, navigate to the Tables folder under the Schema Objects folder. Right-click the table to alias and select Create Table Alias. This option copies the table into the schema. Type the table alias, or the new name for the table. When creating the new attributes, select the appropriate table for each attribute. For example, two aliases were created on the physical table LU_State for vendor state (LU_State_Vendor) and store state (LU_State_Store). In this step, you would select the LU_State_Store table for the data source for the Store State attribute. Then you would select the LU_State_Vendor table for the Vendor State data source. For detailed instructions on creating attributes,

Confidential & Proprietary

97

Column Alias

Confidential & Proprietary

98

FACTS

Facts are objects which relate numeric data values from the data warehouse to the MicroStrategy Desktop reporting environment.

FACTS - TYPES
Simple facts A simple fact is made up of one or more fact expressions. With a simple fact definition, you can define a fact as a column, constant, or simple expression. Implicit facts An implicit fact is a virtual or constant fact that does not physically exist in the database because it is created at the application level. Derived facts A derived fact has its value determined by an expression that combines two or more columns in a database to create a new column.

Confidential & Proprietary

100

FACTS Definition example

Confidential & Proprietary

101

FACTS LEVEL EXTENSIONS

You can use level extensions to change a fact level, which is a set of attributes that represent the lowest level of detail at which the fact exists in the warehouse. Level extensions define how facts can be extended, lowered, or disallowed to other facts across the schema.

Confidential & Proprietary

102

FACTS LEVEL EXTENSIONS

Before any facts can be resolved, the level extension must be defined, in case it is needed by a report. Resolution methods: Table relation Fact relation Cross-product Degradation Disallow the fact level

Confidential & Proprietary

103

FACTS LEVEL EXTENSIONS


Table relation Defines a join on tables. When you create a join between a lookup or fact table, you are creating a table relation to extend a fact. Fact relation Fact extensions can be defined by fact relation instead of table relation. With a fact relation, the table join is possible on any table that contains the fact. Cross product You can use a cross product join when a join does not exist, and where you need to force a fact to relate to an attribute by extending the fact. The cross product join allows a single fact value to relate to all elements of an unrelated attribute.

Confidential & Proprietary

104

FACTS LEVEL EXTENSIONS


Degradation when facts exist at a higher level than the report display level, you must specify how the Engine degrades the data to the lower level. When you lower the level at which a fact is reported, you are using degradation. Disallow A disallow is like a lock, which you use to prevent a fact from being reported at a specific level. For example, you can select an attribute or set of attributes at which level you do not want the fact reported.

Confidential & Proprietary

105

Functions and Operators

Functions are the basis for many MicroStrategy objects. They are used to create Attribute form expressions Consolidation expressions Custom group expressions Fact expressions Filters Metric expressions Subtotals Transformations

Confidential & Proprietary

106

Five types of functions

Single-value functions E.g. Abs, Cos, Round, Truncate,ApplySimple and so on. Group-value functions E.g. Avg, Count, Sum, ApplyAgg, and so on. OLAP functions E.g. Rank, RunningSum, ApplyOLAP, and so on. Logical functions E.g. And, Or, Not, and ApplyLogic. Comparison functions E.g. Between, Like, >,<, ApplyComparison, and so on.

Confidential & Proprietary

107

OLAP Functions

ApplySimple() used to define attribute and metric Accepts facts, attributes, and metrics as input. Using an attribute:

Example 1 ApplySimple ("Datediff (YY, #0,getdate ())", [BIRTH_DATE])


Example 2 ApplySimple ("Months_between(sysdate,#0)",[CURRENT_DT])

Confidential & Proprietary

108

Using a compound metric Example 3 ApplySimple ("Greatest (#0, #1, #2), Metric_1,Metric_2,Metric_3) Example 4 ApplySimple (" CASE WHEN #0 between 0 and 100000 THEN 'Low' WHEN #0 between 100001 and 200000 THEN 'Med' ELSE 'High' END ", Sum (Revenue){~})

Confidential & Proprietary

109

ApplyAgg() function used to define simple metrics or facts Accepts facts, attributes, and metrics as input. Example ApplyAgg ("sum (case when #1 in (received) then 0 else #0 end)", [monetary_based_fact], tag_attribute) {~+})

ApplyOLAP() function used to define compound metrics Accepts only metrics as input. Example ApplyOLAP ("RunningSlope (#0, #1)", [Metric 1], [Metric 2])

Confidential & Proprietary

110

AppplyComparison() function used to define custom filters

Accepts facts, attributes, and metrics as input.


Example 1 ApplyComparison ("#0 between #1 and #2",? [Value Prompt Date], [Order Date]@ID, [Ship Date]@ID) Example 2 ApplyComparison ("#0>#1", Store@ID, Month@ID)

Confidential & Proprietary

111

ApplyLogic() function used to define custom filters Accepts logic (Boolean) values as input. Example ApplyLogic ("#0 and #1", Year@ID>2003, Month@ID>200301)

Confidential & Proprietary

112

HIERARCHIES

Hierarchies are groupings of attributes which can be displayed, ordered or unordered, to reflect their relationships to other attributes.

HIERARCHIES - TYPES

User Hierarchy : This is unordered, and you can easily change its design to include additional attributes, or limit the user access. System hierarchy : This is ordered, and it is created automatically when you create new projects.

Confidential & Proprietary

114

HIERARCHIES - EXAMPLE
Time Hierarchy:

Confidential & Proprietary

115

HIERARCHIES - DRILLING
Drilling is a function in MicroStrategy Desktop reports that allows you to browse lower levels of attributes along pre-defined criteria. When you create hierarchies you can specify what level attributes are included in drilling. Depending on the level of the attributes are included in the drilling specification, reports that use the hierarchy allow the user to drill down to lower levels of detail.

Confidential & Proprietary

116

Tables

Importing of tables

Confidential & Proprietary

118

Importing of Tables

Confidential & Proprietary

119

On Desktop, right-click anywhere in the right panel, select New and then Logical Table.

The Table Editor is displayed with the Physical View tab selected by default.

In the SQL Statement panel, type in your SQL statement (you


can drag and drop columns from the Object Browser to insert into the statement).

Click Add to map columns returned by the SQL statement. Type in the column name under Column Object. This creates a new column. Alternatively, you can also drag and drop columns from the Object Browser to the Column Object cell. By doing this, you map an existing column to the logical view.

Select a Data Type for the column by using the dropdown list.

Modify the Precision and Scale of the column, if applicable.

Use the Remove, Move Up, or Move Down options for the columns, if needed. Save and Close the logical table. From the schema menu, select Update Schema to ensure that the new logical table is loaded into the schema.

Right click & select Table alias to create an alias name for a table

TRANSFORMATIONS

A transformation is a group of member attributes that share the same kind of analysis on time. Multiple member attributes can define a transformation.

TRANSFORMATIONS
Transformations are used to compare values at different times. For example, you want to compare sales for this month against sales for the previous month, the same month in the previous year, and so on. Another example is the comparison of year-to-date data against daily sales data. The simple metric tallies daily sales. The transformation metric calculates a rolling total of sales on a daily basis.

Confidential & Proprietary

129

TRANSFORMATIONS - TYPES

Expression - based transformations You implement these transformations using a mathematical formula in Microstrategy Architect. Table - based transformations These transformations are based on a transformation or relate table in the warehouse.

Confidential & Proprietary

130

TRANSFORMATIONS - TYPES
Expression-based transformations: You define these transformations using a mathematical expression. A transformation expression typically includes an attribute ID column, a mathematical operator, and a constant. For example, you might create a Last Quarter or Last Month transformation using QUARTER_ID 1 or MONTH_ID-1. Table Based Transformations: These transformations use a table in the warehouse to define the transformations from one time period to another.

Confidential & Proprietary

131

TRANSFORMATIONS EXAMPLE TABLES


Month-to-Date
Day_id
3/1/99 3/2/99 3/2/99 3/3/99 3/3/99 3/3/99

MTD
3/1/99 3/1/99 3/2/99 3/1/99 3/2/99 3/3/99

Month_id
199902 199903 199904

Last_Month
199901 199902 199903

Day_id
3/9/99 3/10/99 3/11/99 3/12/99

Last_Month
2/9/99 2/10/99 2/11/99 2/12/99

Confidential & Proprietary

132

You might also like