Business Intelligence Portfolio

15
Business Intelligence Portfolio J. Drew Allen [email protected] 215-681-6175

description

A brief overview of various BI projects I have worked on.

Transcript of Business Intelligence Portfolio

Page 1: Business Intelligence Portfolio

Business Intelligence Portfolio

J. Drew [email protected]

215-681-6175

Page 2: Business Intelligence Portfolio

Contents

Data Modeling 3T-SQL Programming 4SQL Server Integration Services (SSIS)5SQL Server Analysis Services (SSAS) 8SQL Server Analysis Services (SSAS)12Performance Point Server (PPS) 15

Page 3: Business Intelligence Portfolio

Data Modeling

Model for aBook Sales

Data Warehouse

Page 4: Business Intelligence Portfolio

T-SQL Programming⌂ SELECT *,⌂ CASE WHEN EXISTS (⌂ SELECT g.giftid⌂ FROM V_gift_fiscal_year AS fy⌂ INNER JOIN gifts AS g⌂ ON fy.giftkey = g.giftkey⌂ WHERE fy.giftid = idnum⌂ AND giftprocdt BETWEEN '7/1/02' AND '4/21/03'⌂ AND g.gifttype IN ('g', 'y') )⌂ THEN 1⌂ WHEN EXISTS (⌂ SELECT g.giftid⌂ FROM V_gift_fiscal_year AS fy⌂ INNER JOIN gifts AS g⌂ ON fy.giftkey = g.giftkey⌂ INNER JOIN relation⌂ ON fy.giftid = relid⌂ WHERE relrelatid = idnum⌂ and relisa IN ('sp', 'dsp', 'spnm', 'lp', 'lpnm')⌂ AND giftprocdt BETWEEN '7/1/02' AND '4/21/03'⌂ AND g.gifttype IN ('g', 'y') )⌂ THEN 1⌂ ELSE 0 END AS Donor⌂ INTO #grad⌂ FROM #alums⌂ INNER JOIN #fy⌂ ON GradYear < fy

⌂ SELECT fy, Cast(table_val AS char(25) ) AS School, Count(DISTINCT idnum) AS Alums, Sum(Donor) AS Donors

⌂ FROM #grad⌂ INNER JOIN school_names⌂ ON coreprfsch = table_code⌂ GROUP BY fy, table_val⌂ ORDER BY fy DESC, table_val⌂ COMPUTE Sum(Count(DISTINCT idnum)), Sum(Sum(Donor)) BY fy

Checks for AlumniParticipation rates foreach school and collegeincluding gifts from bothconstituents and theirspouses/significant others.

Page 5: Business Intelligence Portfolio

SQL ServerIntegration Services (SSIS)

Master Package thatcontrols the execution ofsubsidiary packages forimporting data into astaging database for aconstruction company.

Page 6: Business Intelligence Portfolio

SQL ServerIntegration Services (SSIS)

Details for the Data Flowfor importing Employeetimesheets.

Page 7: Business Intelligence Portfolio

SQL ServerIntegration Services (SSIS)

VB.Net Script to update theinsert, update, and errorcounts for the current filebeing processed and for thegrand totals.

⌂ Imports System⌂ Imports System.Data⌂ Imports System.Math⌂ Imports Microsoft.SqlServer.Dts.Runtime

⌂ Public Class ScriptMain

⌂ ' Updates the body of the results email.

⌂ Public Sub Main()⌂ ' Displays counts for each file.⌂ Dts.Variables("EmailBody").Value = Dts.Variables("EmailBody").Value.ToString _⌂ + Dts.Variables("TimesheetFile").Value.ToString + ": " _⌂ + Dts.Variables("FELInsertCount").Value.ToString + " inserts, " _⌂ + Dts.Variables("FELUpdateCount").Value.ToString + " updates, and " _⌂ + Dts.Variables("FELErrorCount").Value.ToString + " errors." + vbCrLf

⌂ ' Updates the total counts.⌂ Dts.Variables("ErrorCount").Value = CInt(Dts.Variables("ErrorCount").Value) + CInt(Dts.Variables("FELErrorCount").Value)⌂ Dts.Variables("InsertCount").Value = CInt(Dts.Variables("InsertCount").Value) + CInt(Dts.Variables("FELInsertCount").Value)⌂ Dts.Variables("UpdateCount").Value = CInt(Dts.Variables("UpdateCount").Value) +

CInt(Dts.Variables("FELUpdateCount").Value)

⌂ Dts.TaskResult = Dts.Results.Success

⌂ End Sub

⌂ End Class

Page 8: Business Intelligence Portfolio

SQL ServerAnalysis Services (SSAS)

Cube Structure showing the fact tables and the dimensions.

Page 9: Business Intelligence Portfolio

SQL ServerAnalysis Services (SSAS)

Dimension based on a Snowflake schema.

Two sets of independent hierarchies• Geographical• Sales Structure

Page 10: Business Intelligence Portfolio

SQL ServerAnalysis Services (SSAS)

Setting up a KPI

Page 11: Business Intelligence Portfolio

SQL ServerAnalysis Services (SSAS)

Showing KPIs in Excel

Page 12: Business Intelligence Portfolio

SQL ServerReporting Services (SSRS)

SSRS Report Deployed to Sharepoint• The report prompts for the year• You can drill down on the product

category

Page 13: Business Intelligence Portfolio

SQL ServerReporting Services (SSRS)

Drilldown Details

Page 14: Business Intelligence Portfolio

SQL ServerReporting Services (SSRS)

Report with Document Map

Page 15: Business Intelligence Portfolio

PerformancePoint Server (PPS)

Chart with a multi-select parameter