Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology,...

11
Introduction to OLAP Introduction to OLAP cubes cubes My name: My name: ZULFIQAR SYED ZULFIQAR SYED Holds BSEE from Illinois Institute Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. of Technology, Chicago, ILLINOIS. MCP in ASP.net (C#) MCP in ASP.net (C#) SQL SERVER, ASP.NET, C#, DATA SQL SERVER, ASP.NET, C#, DATA MINING, ANALYSIS SERVICES. MINING, ANALYSIS SERVICES. CONTACT: CONTACT: [email protected] [email protected] HTTP://ZULFIQAR.TYPEPAD.COM HTTP://ZULFIQAR.TYPEPAD.COM

Transcript of Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology,...

Page 1: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

Introduction to OLAP cubesIntroduction to OLAP cubes

My name: My name: ZULFIQAR SYEDZULFIQAR SYED• Holds BSEE from Illinois Institute of Holds BSEE from Illinois Institute of

Technology, Chicago, ILLINOIS.Technology, Chicago, ILLINOIS.• MCP in ASP.net (C#)MCP in ASP.net (C#)• SQL SERVER, ASP.NET, C#, DATA MINING, SQL SERVER, ASP.NET, C#, DATA MINING,

ANALYSIS SERVICES.ANALYSIS SERVICES.• CONTACT:CONTACT:

[email protected]@GMAIL.COM– HTTP://ZULFIQAR.TYPEPAD.COMHTTP://ZULFIQAR.TYPEPAD.COM

Page 2: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

In this session we will In this session we will cover…cover…

• OLAP cubes basicsOLAP cubes basics– Why do we need olap cubes??Why do we need olap cubes??– Measures, Dimensions, HierarchiesMeasures, Dimensions, Hierarchies

• Demo..Demo..– Define measures, dimensions etc. Define measures, dimensions etc. – Development environmentDevelopment environment– Report based on olap cube.Report based on olap cube.

Page 3: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

Meeting with the CEO…Meeting with the CEO…

• CEO: Developer, How much money we CEO: Developer, How much money we made last year?made last year?

• Developer: $1 billion dollars Sir !Developer: $1 billion dollars Sir !• CEO:CEO:

– How much did we make per year per quarter?How much did we make per year per quarter?– Which products did well and which failed?Which products did well and which failed?– What are the sales by region, country, by year, What are the sales by region, country, by year,

by quarter etc. etc. etc.by quarter etc. etc. etc.• Developer (thinking..) : Hmm.. What is the Developer (thinking..) : Hmm.. What is the

best way to do this?? :=(best way to do this?? :=(

Page 4: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

Excel DemoExcel Demo

Page 5: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

Olap cube basicsOlap cube basics

• MeasuresMeasures• DimensionsDimensions• HierarchiesHierarchies• LevelsLevels

Page 6: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

Hierarchical Cube…Hierarchical Cube…

• RouteRoute– Non GroundNon Ground

• AirAir

• seasea

– GroundGround• RoadRoad

• railrail

Page 7: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

Measures and Dimensions..Measures and Dimensions..

• MeasuresMeasures– Look at Look at SalesSales by Customers (Numerical) by Customers (Numerical)– Stored in fact tables (physical tables).Stored in fact tables (physical tables).– Examples: Sales amount, Shipping amount etc.Examples: Sales amount, Shipping amount etc.

• DimensionsDimensions– Look at Sales by Look at Sales by CustomersCustomers– Stored in relational tables called dimensional Stored in relational tables called dimensional

tables.tables.– Example: Product, Time, Geography, etc.Example: Product, Time, Geography, etc.– Contains: Attributes, Hierarchies, and Members.Contains: Attributes, Hierarchies, and Members.

Page 8: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

More on dimensions…More on dimensions…

• Dimension Attribute:Dimension Attribute:– Table Column Table Column – Example: Product dimension, ProdName, ProdColor, etc.Example: Product dimension, ProdName, ProdColor, etc.

• MembersMembers– Actual data value in an attribute. Actual data value in an attribute. – Example: ProdName: Bike, Shirt, Bike Stand, Helmet etc.Example: ProdName: Bike, Shirt, Bike Stand, Helmet etc.

• HierarchiesHierarchies– Formed by Attributes.Formed by Attributes.– Contain single or multi LEVELS. Example: Color is single Contain single or multi LEVELS. Example: Color is single

level and Time (Year, Quarter, Month) are multi levellevel and Time (Year, Quarter, Month) are multi level

Page 9: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

Demo..Demo..

Page 10: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

Demo. Recap.Demo. Recap.

• Browsed dimensions, fact tables.Browsed dimensions, fact tables.

• Created a Dimension, hierarchy.Created a Dimension, hierarchy.

• Built and browsed a cube.Built and browsed a cube.

• Created cube driven SSRS report.Created cube driven SSRS report.

Page 11: Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.

Name: Name: ZULFIQAR SYEDZULFIQAR SYED

• Recommendations: Recommendations: 1.1. Delivering Business Intelligence with Microsoft SQL Delivering Business Intelligence with Microsoft SQL

Server 2005 by Brian Larson Server 2005 by Brian Larson 2.2. Fast Track to MDX by Mark Whitehorn, Robert Zare, and Fast Track to MDX by Mark Whitehorn, Robert Zare, and

Mosha PasumanskyMosha Pasumansky

• Please fill out the evaluations forms.Please fill out the evaluations forms.

• My Contact: My Contact: – [email protected]@GMAIL.COM– http://ZULFIQAR.TYPEPAD.COMhttp://ZULFIQAR.TYPEPAD.COM