sam kamara business intelligence portfolio

30
Business Intelligence Portfolio Name: Sam Kamara Email: [email protected] Phone: 973-472-0003 917-318-7076 Business Intelligence 1

Upload: skamara1

Post on 09-May-2015

755 views

Category:

Documents


1 download

DESCRIPTION

Samples of my work in BI

TRANSCRIPT

Page 1: Sam Kamara Business Intelligence Portfolio

Business Intelligence

Portfolio

Name: Sam Kamara

Email: [email protected]

Phone: 973-472-0003

917-318-7076

Business

Intelligence

1

Page 2: Sam Kamara Business Intelligence Portfolio

Subject Page

• Data Modeling 3

• SQL Programming 5

• SQL Server Integration Services (SSIS) 9

• SQL Server Analysis Services (SSAS) 14

• MDX Programming 21

• SQL Server Reporting Services (SSRS) 24

• Performance Point Server (PPS) 27

• Experience Summary 30

This portfolio contains examples of my development

skills in the Business Intelligence arena.

Contents

2

Page 3: Sam Kamara Business Intelligence Portfolio

Data Modeling

3

Page 4: Sam Kamara Business Intelligence Portfolio

A data model created for a book sales data

warehouse

4

Page 5: Sam Kamara Business Intelligence Portfolio

SQL Server

T-SQL Programming

5

Page 6: Sam Kamara Business Intelligence Portfolio

This query returns a list of books where there are less than

ten copies and more than 50 reservations.

6

SELECT ti.title_no,

ti.title,

rs.isbn,

COUNT(*) as total_reservations

FROM Title ti

JOIN item itm ON ti.title_no = itm.title_no

JOIN reservation rs ON rs.isbn = itm.isbn

WHERE 11 > (SELECT count(cp.copy_no)

FROM copy cp

WHERE cp.isbn = itm.isbn)

AND itm.isbn IN (SELECT DISTINCT rs1.isbn

FROM reservation rs1

WHERE 50 < (SELECT COUNT(*)

FROM Reservation rs2

WHERE rs1.isbn = s2.isbn))

GROUP BY ti.title_no, ti.title, rs.isbn

ORDER BY ti.title_no

Page 7: Sam Kamara Business Intelligence Portfolio

Script to load Date Dimension data into an Analysis Services

staging database table.(Results on next page)

7

declare @startDate DateTime,

@EndDate datetime

set @StartDate = '1-1-2006'

set @EndDate = '12-31-2010'

while @StartDate <= @EndDate

begin

insert into DimDates (ActualDate, WeekEndDate, MonthDescr, QuarterDescr, Year,

MonthKey, QuarterKey, ShortWeekEnd, ShortActualDate )

values (@StartDate,

@StartDate + (7 - datepart(dw,@StartDate)), -- assumes a Sunday to Saturday business week

datename(m,@StartDate) + ' ' + cast(year(@StartDate) as varchar(4)) , -- "March 2006"

'Q' + cast(datepart(qq,@StartDate) as varchar(1)) + ' ' + cast(year(@StartDate) as varchar(4)) , -- "Q3 2006"

Year(@StartDate) , -- “2006”

cast(year(@StartDate) as varchar(4)) + '-' +

case when datepart(m,@StartDate) < 10 then '0' else '' end +

cast(datepart(m,@StartDate) as varchar(2)) , -- "2006-12“ or "2006-01"

cast(year(@StartDate) as varchar(4)) + '-' +

cast(datepart(qq,@StartDate) as varchar(1)), -- "2006-1" for key for Q1 2006

'',''

)

set @StartDate = @StartDate + 1

end

update DimDates set ShortWeekEnd = cast(WeekEndDate as varchar(11))

update DimDates set ShortActualDate = cast(ActualDate as varchar(11))

GO

Page 8: Sam Kamara Business Intelligence Portfolio

Sampling of results of Date Dimension data load.

8

Page 9: Sam Kamara Business Intelligence Portfolio

SQL Server

Integration Services (SSIS)

9

Page 10: Sam Kamara Business Intelligence Portfolio

ETL process which imports multiple CSV files containing Job Time Sheets and

loads them into a staging database. A status email is sent upon completion,

indicating job statistics.

10

Page 11: Sam Kamara Business Intelligence Portfolio

11

Data flow task for the Job Time Sheets package processes through a

single CSV file doing multiple lookups to ensure database integrity.

It logs any rows that error out for review and correction.

Page 12: Sam Kamara Business Intelligence Portfolio

VB.Net script used in previous package to keep a

running total of the rows processed and the rows that

contained errors.

12

Page 13: Sam Kamara Business Intelligence Portfolio

ETL Master Package which runs all ETL packages and then runs database

maintenance tasks. Email is sent out upon completion with job stats.

13

Page 14: Sam Kamara Business Intelligence Portfolio

SQL Server

Analysis Services (SSAS)

14

Page 15: Sam Kamara Business Intelligence Portfolio

Developed an SSAS OLAP Cube for a fictitious national

construction company, All Works Corp.

15

Page 16: Sam Kamara Business Intelligence Portfolio

Browse View of the All Works Cube data.

16

Page 17: Sam Kamara Business Intelligence Portfolio

Dimension Hierarchy structures in the All Works Cube.

17

Page 18: Sam Kamara Business Intelligence Portfolio

Definitions of Calculated Members.

18

Page 19: Sam Kamara Business Intelligence Portfolio

Definition of Key Performance Indicator (KPI).

19

Page 20: Sam Kamara Business Intelligence Portfolio

KPI Exported to an Excel Pivot

20

Page 21: Sam Kamara Business Intelligence Portfolio

MDX Programming

21

Page 22: Sam Kamara Business Intelligence Portfolio

Query which returns Overhead Totals by Category for 2 Quarters, and the

percent change between the two.

22

Page 23: Sam Kamara Business Intelligence Portfolio

Query which returns all Projects and the top three employees who worked the

most hours.

23

Page 24: Sam Kamara Business Intelligence Portfolio

SQL Server

Reporting Services (SSRS)

24

Page 25: Sam Kamara Business Intelligence Portfolio

Report with drop down parameters showing top regions and

products for a given date range.

25

MDX Query used to generate this report

Page 26: Sam Kamara Business Intelligence Portfolio

Pie Chart Report of Dollar Sales Percentage by

Region for a given Category

26

Page 27: Sam Kamara Business Intelligence Portfolio

Performance Point Server 2007

(PPS)

27

Page 28: Sam Kamara Business Intelligence Portfolio

KPI Scorecard created in PPS showing KPI Status and

Trending of Growth % and Returns %.

28

Page 29: Sam Kamara Business Intelligence Portfolio

KPI Scorecard with Hot Link (clicking Sales Goal on left brings up

the graph on the right).

29

Page 30: Sam Kamara Business Intelligence Portfolio

Experience Summary

• 10 years experience in IT

• Report Development, Data Analysis, Requirements Gathering

• Database Development – Oracle & SQL Server

• Queries, Stored Procedures, Index’s, Triggers, Optimization

• MS Business Intelligence

• SQL Server 2005

• Integration Services (SSIS)

• Analysis Services (SSAS)

• MDX Programming

• Reporting Services (SSRS)

• Excel & Excel Services

• Performance Point Server 2007 (PPS)30