Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Business Intelligence Portfolio

438 views

Published on

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

  • Be the first to comment

  • Be the first to like this

Business Intelligence Portfolio

  1. 1. Business Intelligence Portfolio<br />J. Drew Allen<br />drew.allen@verizon.net<br />215-681-6175<br />
  2. 2. Contents<br />Data Modeling 3<br />T-SQL Programming 4<br />SQL Server Integration Services (SSIS) 5<br />SQL Server Analysis Services (SSAS) 8<br />SQL Server Analysis Services (SSAS) 12<br />Performance Point Server (PPS) 15<br />
  3. 3. Data Modeling<br />Model for a<br />Book Sales<br />Data Warehouse<br />
  4. 4. T-SQL Programming<br />SELECT *,<br /> CASE WHEN EXISTS (<br /> SELECT g.giftid<br /> FROM V_gift_fiscal_year AS fy<br /> INNER JOIN gifts AS g<br /> ON fy.giftkey = g.giftkey<br /> WHERE fy.giftid = idnum<br /> AND giftprocdt BETWEEN &apos;7/1/02&apos; AND &apos;4/21/03&apos;<br /> AND g.gifttype IN (&apos;g&apos;, &apos;y&apos;) )<br /> THEN 1<br /> WHEN EXISTS (<br /> SELECT g.giftid<br /> FROM V_gift_fiscal_year AS fy<br /> INNER JOIN gifts AS g<br /> ON fy.giftkey = g.giftkey<br /> INNER JOIN relation<br /> ON fy.giftid = relid<br /> WHERE relrelatid = idnum<br /> and relisa IN (&apos;sp&apos;, &apos;dsp&apos;, &apos;spnm&apos;, &apos;lp&apos;, &apos;lpnm&apos;)<br /> AND giftprocdt BETWEEN &apos;7/1/02&apos; AND &apos;4/21/03&apos;<br /> AND g.gifttype IN (&apos;g&apos;, &apos;y&apos;) )<br /> THEN 1<br /> ELSE 0 END AS Donor<br />INTO #grad<br />FROM #alums<br />INNER JOIN #fy<br />ON GradYear &lt; fy<br />SELECT fy, Cast(table_val AS char(25) ) AS School, Count(DISTINCT idnum) AS Alums, Sum(Donor) AS Donors<br />FROM #grad<br />INNER JOIN school_names<br />ON coreprfsch = table_code<br />GROUP BY fy, table_val<br />ORDER BY fy DESC, table_val<br />COMPUTE Sum(Count(DISTINCT idnum)), Sum(Sum(Donor)) BY fy<br />Checks for Alumni<br />Participation rates for<br />each school and college<br />including gifts from both<br />constituents and their<br />spouses/significant others.<br />
  5. 5. SQL ServerIntegration Services (SSIS)<br />Master Package that<br />controls the execution of<br />subsidiary packages for<br />importing data into a<br />staging database for a<br />construction company.<br />
  6. 6. SQL ServerIntegration Services (SSIS)<br />Details for the Data Flow<br />for importing Employee<br />timesheets.<br />
  7. 7. SQL ServerIntegration Services (SSIS)<br />VB.Net Script to update the<br />insert, update, and error<br />counts for the current file<br />being processed and for the<br />grand totals.<br />Imports System<br />Imports System.Data<br />Imports System.Math<br />Imports Microsoft.SqlServer.Dts.Runtime<br />Public Class ScriptMain<br /> &apos; Updates the body of the results email.<br /> Public Sub Main()<br /> &apos; Displays counts for each file.<br /> Dts.Variables(&quot;EmailBody&quot;).Value = Dts.Variables(&quot;EmailBody&quot;).Value.ToString _<br /> + Dts.Variables(&quot;TimesheetFile&quot;).Value.ToString + &quot;: &quot; _<br /> + Dts.Variables(&quot;FELInsertCount&quot;).Value.ToString + &quot; inserts, &quot; _<br /> + Dts.Variables(&quot;FELUpdateCount&quot;).Value.ToString + &quot; updates, and &quot; _<br /> + Dts.Variables(&quot;FELErrorCount&quot;).Value.ToString + &quot; errors.&quot; + vbCrLf<br /> &apos; Updates the total counts.<br /> Dts.Variables(&quot;ErrorCount&quot;).Value = CInt(Dts.Variables(&quot;ErrorCount&quot;).Value) + CInt(Dts.Variables(&quot;FELErrorCount&quot;).Value)<br /> Dts.Variables(&quot;InsertCount&quot;).Value = CInt(Dts.Variables(&quot;InsertCount&quot;).Value) + CInt(Dts.Variables(&quot;FELInsertCount&quot;).Value)<br /> Dts.Variables(&quot;UpdateCount&quot;).Value = CInt(Dts.Variables(&quot;UpdateCount&quot;).Value) + CInt(Dts.Variables(&quot;FELUpdateCount&quot;).Value)<br /> Dts.TaskResult = Dts.Results.Success<br /> End Sub<br />End Class<br />
  8. 8. SQL ServerAnalysis Services (SSAS)<br />Cube Structure showing the fact tables and the dimensions.<br />
  9. 9. SQL ServerAnalysis Services (SSAS)<br />Dimension based on a Snowflake schema.<br />Two sets of independent hierarchies<br /><ul><li> Geographical
  10. 10. Sales Structure</li></li></ul><li>SQL ServerAnalysis Services (SSAS)<br />Setting up a KPI<br />
  11. 11. SQL ServerAnalysis Services (SSAS)<br />Showing KPIs in Excel<br />
  12. 12. SQL ServerReporting Services (SSRS)<br />SSRS Report Deployed to Sharepoint<br /><ul><li> The report prompts for the year
  13. 13. You can drill down on the product category</li></li></ul><li>SQL ServerReporting Services (SSRS)<br />Drilldown Details<br />
  14. 14. SQL ServerReporting Services (SSRS)<br />Report with Document Map<br />
  15. 15. PerformancePoint Server (PPS)<br />Chart with a multi-select parameter<br />

×