SlideShare uma empresa Scribd logo
1 de 15
Business Intelligence Portfolio J. Drew Allen drew.allen@verizon.net 215-681-6175
Contents Data Modeling	3 T-SQL Programming	4 SQL Server Integration Services (SSIS)	5 SQL Server Analysis Services (SSAS)	8 SQL Server Analysis Services (SSAS)	12 Performance Point Server (PPS)	15
Data Modeling Model for a Book Sales Data Warehouse
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 Alumni Participation rates for each school and college including gifts from both constituents and their spouses/significant others.
SQL ServerIntegration Services (SSIS) Master Package that controls the execution of subsidiary packages for importing data into a staging database for a construction company.
SQL ServerIntegration Services (SSIS) Details for the Data Flow for importing Employee timesheets.
SQL ServerIntegration Services (SSIS) VB.Net Script to update the insert, update, and error counts for the current file being processed and for the grand 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
SQL ServerAnalysis Services (SSAS) Cube Structure showing the fact tables and the dimensions.
SQL ServerAnalysis Services (SSAS) Dimension based on a Snowflake schema. Two sets of independent hierarchies ,[object Object]
 Sales Structure,[object Object]
SQL ServerAnalysis Services (SSAS) Showing KPIs in Excel
SQL ServerReporting Services (SSRS) SSRS Report Deployed to Sharepoint ,[object Object]
 You can drill down on the product category,[object Object]
SQL ServerReporting Services (SSRS) Report with Document Map
PerformancePoint Server (PPS) Chart with a multi-select parameter

Mais conteúdo relacionado

Semelhante a Business Intelligence Portfolio

High-level Web Testing
High-level Web TestingHigh-level Web Testing
High-level Web Testingpetersergeant
 
Php Calling Operators
Php Calling OperatorsPhp Calling Operators
Php Calling Operatorsmussawir20
 
PHP 102: Out with the Bad, In with the Good
PHP 102: Out with the Bad, In with the GoodPHP 102: Out with the Bad, In with the Good
PHP 102: Out with the Bad, In with the GoodJeremy Kendall
 
Php Crash Course
Php Crash CoursePhp Crash Course
Php Crash Coursemussawir20
 
03 Php Array String Functions
03 Php Array String Functions03 Php Array String Functions
03 Php Array String FunctionsGeshan Manandhar
 
Ods Markup And Tagsets: A Tutorial
Ods Markup And Tagsets: A TutorialOds Markup And Tagsets: A Tutorial
Ods Markup And Tagsets: A Tutorialsimienc
 
Dealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter ScottDealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter ScottO'Reilly Media
 
Intro to #memtech PHP 2011-12-05
Intro to #memtech PHP   2011-12-05Intro to #memtech PHP   2011-12-05
Intro to #memtech PHP 2011-12-05Jeremy Kendall
 
Exploiting Php With Php
Exploiting Php With PhpExploiting Php With Php
Exploiting Php With PhpJeremy Coates
 
Form Processing In Php
Form Processing In PhpForm Processing In Php
Form Processing In PhpHarit Kothari
 
Google Visualization API
Google  Visualization  APIGoogle  Visualization  API
Google Visualization APIJason Young
 
Getting started with MongoDB and PHP
Getting started with MongoDB and PHPGetting started with MongoDB and PHP
Getting started with MongoDB and PHPgates10gen
 
Introducing Modern Perl
Introducing Modern PerlIntroducing Modern Perl
Introducing Modern PerlDave Cross
 
Cena-DTA PHP Conference 2011 Slides
Cena-DTA PHP Conference 2011 SlidesCena-DTA PHP Conference 2011 Slides
Cena-DTA PHP Conference 2011 SlidesAsao Kamei
 
Graph Databases
Graph DatabasesGraph Databases
Graph DatabasesJosh Adell
 
Key Value Storage Systems ... and Beyond ... with Python
Key Value Storage Systems ... and Beyond ... with PythonKey Value Storage Systems ... and Beyond ... with Python
Key Value Storage Systems ... and Beyond ... with PythonIan Lewis
 
Why Python by Marilyn Davis, Marakana
Why Python by Marilyn Davis, MarakanaWhy Python by Marilyn Davis, Marakana
Why Python by Marilyn Davis, MarakanaMarko Gargenta
 
Intro python
Intro pythonIntro python
Intro pythonkamzilla
 

Semelhante a Business Intelligence Portfolio (20)

High-level Web Testing
High-level Web TestingHigh-level Web Testing
High-level Web Testing
 
Php Calling Operators
Php Calling OperatorsPhp Calling Operators
Php Calling Operators
 
PHP 102: Out with the Bad, In with the Good
PHP 102: Out with the Bad, In with the GoodPHP 102: Out with the Bad, In with the Good
PHP 102: Out with the Bad, In with the Good
 
Php Crash Course
Php Crash CoursePhp Crash Course
Php Crash Course
 
JQuery Basics
JQuery BasicsJQuery Basics
JQuery Basics
 
03 Php Array String Functions
03 Php Array String Functions03 Php Array String Functions
03 Php Array String Functions
 
Ods Markup And Tagsets: A Tutorial
Ods Markup And Tagsets: A TutorialOds Markup And Tagsets: A Tutorial
Ods Markup And Tagsets: A Tutorial
 
Dealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter ScottDealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter Scott
 
Intro to #memtech PHP 2011-12-05
Intro to #memtech PHP   2011-12-05Intro to #memtech PHP   2011-12-05
Intro to #memtech PHP 2011-12-05
 
Exploiting Php With Php
Exploiting Php With PhpExploiting Php With Php
Exploiting Php With Php
 
Form Processing In Php
Form Processing In PhpForm Processing In Php
Form Processing In Php
 
Google Visualization API
Google  Visualization  APIGoogle  Visualization  API
Google Visualization API
 
Getting started with MongoDB and PHP
Getting started with MongoDB and PHPGetting started with MongoDB and PHP
Getting started with MongoDB and PHP
 
Jenny Donnelly
Jenny DonnellyJenny Donnelly
Jenny Donnelly
 
Introducing Modern Perl
Introducing Modern PerlIntroducing Modern Perl
Introducing Modern Perl
 
Cena-DTA PHP Conference 2011 Slides
Cena-DTA PHP Conference 2011 SlidesCena-DTA PHP Conference 2011 Slides
Cena-DTA PHP Conference 2011 Slides
 
Graph Databases
Graph DatabasesGraph Databases
Graph Databases
 
Key Value Storage Systems ... and Beyond ... with Python
Key Value Storage Systems ... and Beyond ... with PythonKey Value Storage Systems ... and Beyond ... with Python
Key Value Storage Systems ... and Beyond ... with Python
 
Why Python by Marilyn Davis, Marakana
Why Python by Marilyn Davis, MarakanaWhy Python by Marilyn Davis, Marakana
Why Python by Marilyn Davis, Marakana
 
Intro python
Intro pythonIntro python
Intro python
 

Business Intelligence Portfolio

  • 1. Business Intelligence Portfolio J. Drew Allen drew.allen@verizon.net 215-681-6175
  • 2. Contents Data Modeling 3 T-SQL Programming 4 SQL Server Integration Services (SSIS) 5 SQL Server Analysis Services (SSAS) 8 SQL Server Analysis Services (SSAS) 12 Performance Point Server (PPS) 15
  • 3. Data Modeling Model for a Book Sales Data Warehouse
  • 4. 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 Alumni Participation rates for each school and college including gifts from both constituents and their spouses/significant others.
  • 5. SQL ServerIntegration Services (SSIS) Master Package that controls the execution of subsidiary packages for importing data into a staging database for a construction company.
  • 6. SQL ServerIntegration Services (SSIS) Details for the Data Flow for importing Employee timesheets.
  • 7. SQL ServerIntegration Services (SSIS) VB.Net Script to update the insert, update, and error counts for the current file being processed and for the grand 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
  • 8. SQL ServerAnalysis Services (SSAS) Cube Structure showing the fact tables and the dimensions.
  • 9.
  • 10.
  • 11. SQL ServerAnalysis Services (SSAS) Showing KPIs in Excel
  • 12.
  • 13.
  • 14. SQL ServerReporting Services (SSRS) Report with Document Map
  • 15. PerformancePoint Server (PPS) Chart with a multi-select parameter