James Colby Maddox Business Intellignece and Computer Science Portfolio
Upcoming SlideShare
Loading in...5
×
 

James Colby Maddox Business Intellignece and Computer Science Portfolio

on

  • 883 views

This portfolio covers the business intelligence course work I have completed at Set Focus, and some of the course work I have completed at Kennesaw State University

This portfolio covers the business intelligence course work I have completed at Set Focus, and some of the course work I have completed at Kennesaw State University

Statistics

Views

Total Views
883
Views on SlideShare
878
Embed Views
5

Actions

Likes
1
Downloads
9
Comments
0

2 Embeds 5

http://www.lmodules.com 3
https://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

James Colby Maddox Business Intellignece and Computer Science Portfolio James Colby Maddox Business Intellignece and Computer Science Portfolio Presentation Transcript

    • Business Intelligence
    • Portfolio
    • Name: James Colby Maddox
    • Email: echotanker@yahoo.com
    • Phone: 678-895-4769
  • Table of Contents
    • Business Intelligence Overview 1
    • T-SQL Samples
    • SSIS-Integrations Services Samples
    • SSAS-Analysis Services Samples
    • MDX Samples
    • Calculated Member and KPI Samples
    • Excel Services-Samples
    • SSRS-Reporting Services Samples
    • PPS-Share Point Overview
    • Computer Science Overview
    • Java Samples
    • C# Samples
    • Visual Basic Samples
    • Power Shell Samples
    • SQL/database design Samples
  • Business Intelligence Overview
    • Introduction: The following sections will cover examples of my development skills with Microsoft Business Intelligence: T-SQL Samples, SSIS-Integrations Services Samples, SSAS-Analysis Services Samples, MDX Samples, Calculated Member and KPI Samples, Excel Services-Samples, SSRS-Reporting Services Samples, PPS-Share Point Overview
    • Audience:
    • SetFocus Alumni, Instructors, and faculty
    • Business executives
    • Information workers
    • IT managers
    • Project Goals:
    • Develop T-SQL queries to retrieve data from a database
    • Develop a Star Schema database using Visio
    • Create a staging database using Visio
    • Create an ETL solution to update a database from Excel and flat file sources using SSIS
    • Create a OLAP cube with SSAS
    • Write MDX queries based on the cube
    • Define Calculated Members, KPIs, Aggregations, and Partitions for the cube
    • Produce reports, manage schedules, and manage roles using SSRS
    • Use Excel Services 2007 to display cube data and KPI’s on a Microsoft SharePoint site
    • Create score cards, dashboards, reports, and import reports from a SharePoint site using PPS
  • T-SQL Samples
    • Select adult library accounts that have more then 3 children
    • select d.adult_member_no, a.expr_date, d.No_Of_Children
    • From adult As a
    • INNER JOIN (
    • Select adult_member_no, COUNT(*) As No_Of_Children
    • From juvenile
    • GROUP by adult_member_no
    • Having COUNT(*) > 3
    • ) as d
    • ON a.member_no = d.adult_member_no
  • T-SQL Samples
    • Select library members where the members fine paid is equal to the maximum fine ever paid
    • select distinct member.firstname, member.lastname, loanhist.isbn, loanhist.fine_paid
    • FROM member
    • INNER JOIN loanhist on member.member_no = loanhist.member_no
    • WHERE fine_paid = (select MAX(loanhist.fine_paid) from loanhist)
  • T-SQL Samples
    • Instructor’s test question
    • Using Northwind, write a query that will retrieve line items in [Order Details], where the line item dollars in Order Details (Unit Price * Quantity) is greater than or equal to $5,000. Sort the results by Dollars Descending, WITHIN each ProductName. The output should look like this: ProductName OrderID TotalDollars ABC 12344 12,000 ABC 44444 11,000 DEF 56789 14,000 DEF 56784 10,000 You’ll want to query the Products table and the Order Details table
    • My answer
    • select Prod.ProductName, Ord.OrderID, SUM((det.Quantity * det.UnitPrice)) as TotalDollars
    • From products as Prod
    • INNER JOIN [Order details] as det on Prod.ProductID = det.ProductID
    • INNER JOIN Orders as Ord on det.OrderID = Ord.OrderID
    • GROUP BY Prod.ProductName, Ord.OrderID
    • HAVING SUM((det.Quantity * det.UnitPrice)) >= 5000
    • Result: Correct
  • T-SQL Samples
    • Instructors test question
    • Write a query to retrieve the Top 10 Orders by Freight dollars (descending). The output should look like this: OrderID Customer Name Freight $ 11111 Test Company $1,900 00022 Test Company $1,800 (Extra credit: even though the class probably didn’t cover the RANK function – how would you show the ranking number in the query?)
    •   My answer
    • select TOP 10 with ties ord.OrderID, cust.CompanyName, SUM((det.quantity * det.UnitPrice)) as 'Frieght$', RANK() OVER (partition by ord.orderid order by SUM((det.quantity * det.UnitPrice)) DESC ) as 'Rank'
    • FROM customers as cust
    • INNER JOIN Orders as ord on cust.CustomerID = ord.CustomerID
    • INNER JOIN [Order Details] as det on det.OrderID = ord.OrderID
    • GROUP BY cust.CompanyName, ord.OrderID
    • ORDER BY SUM((det.quantity * det.UnitPrice)) DESC
    • Result: Correct
  • SSIS Samples
    • Integration Services
    • Extract data from Excel and CSV files that will be inserted into the AllWorks database
    • Transform the data, convert Excel data types into database data types, update records that already exist, take denormalized data and create appropriate lookup tables
    • Load the data into the AllWorks database, log any records that fail parent to child lookups, log any errors that take place when records are being inserted into the database and log the records that created the error in a log file
    • Back up , shrink, and reindex the database
    • Send an email upon completion of each package, inform the user if any errors take place
    • Run the packages every night at midnight
    • Screen shot of master package
    • The master package runs all the other packages, backs up, shrinks, and reindex’s the database and then email the user of success or failure of the master package, the master package is what is run every night at midnight
  • SSIS Samples
    • Employee Master Package
    • This package takes rows from the Employees Excel Spreadsheet, converts the Excel data formats into the database data formats, and insert the records into the employees table, if the record already exist an update takes place
  • SSIS Samples
    • Client Grouping Package
    • This package takes the special groupings spreadsheet, convert the data, group the data by group number and group name, sort the data by group number, and insert the data into the ClientGrouping table
  • SSIS Samples
    • Clients Grouping to Client Xref Package
    • This package loads a lookup table for clients to groups, if a lookup record doesn’t match a client and a group then that record is sent to an error log, there is no updates that take place in this package
  • SSAS Sample
    • Create an OLAP Cube using BIDS
    • Establish a data source with the staging database
    • Create a data source view that defines the relationships between the dimension and fact tables
    • Create the cube based on the data source view, define hierarchies for dimensions, define measures for the fact tables
    • Verify that all hierarchies have appropriate name ids, verify fact tables have appropriate relationships with dimensions
    • Define Calculated Measures, and KPIs for the Cube
    • Design partition and aggregations for the cube
    • Add security roles to the cube
    • Screen shot of data source view for cube
  • SSAS Sample
    • Screenshot of Cube
  • SSAS Sample
    • Screenshot of Dimension Usage
  • SSAS Sample
    • Screenshot of Partitions and Aggregations
  • MDX Sample
    • Query Requirements
    • -- List Hours Worked and Total Labor for each employee
    • -- including the [All] members
    • -- for 2005,
    • -- along with the labor rate (Total labor / Hours worked).
    • My Answer
    • --this member will calculated the labor rate by dividing total labor by hours worked
    • --this member will be calculated first
    • WITH MEMBER [Labor Rate] AS
    • [Total Labor]/[Hoursworked], solve_order = 0
    • --the hours worked, total labor, and labor rate are displayed on top
    • SELECT {[Hoursworked], [Total Labor],[Labor Rate]} on columns,
    • --employees with information will be displayed on the rows
    • NON EMPTY [Employees].[Full Name].members on rows
    • FROM [All Works]
    • --where the year is equal to 2005
    • WHERE [2005]
    • Result Correct
  • MDX Sample
    • Query Requirements
    • - Show jobs in order of purchase amount and then show the
    • -- breakdown in each job of material type (for instance,
    • -- Job A, total purchase amount, amount for fuel, amount for materials,
    • -- amount for petty cash, etc.)in hierarchy order.
    • -- The general order should be by
    • -- total purchase amount, so that the top of the result set
    • -- shows the jobs that required the highest purchase amounts.
    • -- Display NULLs as $0.00
    • My Answer
    • --create the sort order for the jobs, the jobs will be sorted by purchase amount in descending order
    • WITH SET [Ordered Jobs] AS
    • ORDER([Job Master].[Description].Children, [Purchase Amount], desc)
    • --retrieve the purchase amount for the current job and material type
    • MEMBER [Check Purchase] AS
    • ([Purchase Amount], [Job Master].[Description].CurrentMember,[Material Types].[Description].CurrentMember)
    • --check to see if the purchase amount is null, if its null display 0, else display the amount
    • Member [Purchase Amt] AS
    • iIF ([Check Purchase] = NULL, 0, [Check Purchase])
    • --display the purchase amount on top
    • SELECT [Purchase Amt] on columns,
    • --the jobs will be displayed in descending order based on total purchase amount, and for each job, all the material type purchase amounts for that job will be displayed
    • [Ordered Jobs] * [Material Types].[Description].members on rows
    • FROM [All Works]
    • Result Correct
  • MDX Sample
    • -- Show Overhead by Overhead Category
    • -- including the [All] members
    • -- for Q3 and Q4 2005,
    • -- and also show the % of change between the two
    • -- alphabetical overhead category
    • WITH
    • --obtain the Weekly over head for the current overhead category
    • --this member will be calculated first
    • MEMBER [Current Overhead] AS
    • ([Weekly Over Head], [Overhead].[Description].Currentmember), solve_order = 0
    • --this member retrieves the weekly over head for the current overhead category for Q3
    • --this member will be calculated second
    • MEMBER [Quarter 3] AS
    • ([Current Overhead],[2005 Q3]), solve_order = 1
    • --this member retrieves the weely over head for the current overhead category for Q4
    • --this member will be calculated third
    • MEMBER [Quarter 4] AS
    • ([Current Overhead],[2005 Q4]), solve_order = 2
    • --this member will calculated the percent change between Q3 and Q4
    • MEMBER [% chg] AS
    • --if quarter three has no data, no percent change can be recorded
    • iIF ([Quarter 3] = NULL,'N/A',
    • --if quarter three has data, the percent change is calcualted by taking q4 - q3 and dividing by q3
    • ([Quarter 4]- [Quarter 3]) / [Quarter 3]), solve_order = 3 ,format_string = 'percent'
    • --Quarter 4, Quarter 3, and the percent change between the two are displayed on top
    • SELECT {[Quarter 4],[Quarter 3],[% chg]} on columns,
    • --rows that had no data in quarter 4, where null rows, so i removed those rows using this filter
    • filter( [Overhead].[Description].members ,[Quarter 4] <> NULL) on rows
    • FROM [All Works]
  • MDX Sample
    • Query Requirements
    • -- List the jobs that make up the top 30% of total invoice amount
    • -- sorted by descending invoice amount
    • My Answer
    • --display the invoice amount on top
    • SELECT [Measures].[Invoice Amount] on columns,
    • ORDER (
    • --dislpay the jobs that make up the top 30% of the total invoice amount
    • TOPPERCENT ([Job Master].[Description].children,30,[Invoice Amount])
    • --sort the top 30 percent by invoice amount in descending order
    • ,[Invoice Amount],desc) on rows
    • FROM [All Works]
    • Result Correct
  • Calculated Member Samples
    • Screen shots of Calculated Members from my SSAS Project
  • Calculated Member Samples
    • Screen shots of Calculated Members from my BI Team Project
  • KPI samples
    • Screen shots of KPIs from my SSAS Project
  • KPI Samples
    • Screen shots of KPIs from my BI Team Project
  • Excel Services Samples
    • Create Excel Services reports based on a OLAP cube
    • Use Excel Services to test out and display KPIs and Calculated Members
    • Use Excel Services to post reports to Performance Point Server
    • Use Excel Services to post reports to a Sharepoint site
    • Screenshot of Excel KPI report from my SSAS Project
  • Excel Services Samples
    • Screenshot of KPI report for number of jobs serviced for a client
  • Excel Services Samples
    • Screenshot of KPI report for the overhead percent for each job serviced
  • Excel Services Samples
    • Screenshot of KPI report for the profit percent for each client
  • SSRS Reporting Services Samples
    • Created detailed SSRS reports based on an OLAP Cube or relational database
    • Create reports from scratch without using the wizard
    • Create calculations and format data to be displayed on the report
    • Group and sort data that will be presented on a report
    • Create drill down, and Matrix reports and display charts representing the data
    • Implement Security using browser based report manager
    • Note: the following screen shots where taken on my laptop, since the olap cube that these reports are based on are not my laptop, the appropriate field values will not be displayed
    • Screen shot of the Employee Report from my SSRS Project
  • SSRS Reporting Services Samples
    • Screen shot of the Overhead Report from my SSRS Project
  • PPS-SharePoint Overview
    • Note, I wasn’t able to access the Sharepoint site I created for my PPS/Sharepoint project on my personal laptop so screen shots are not available, instead I will give a short overview on what I did for that project. On the next slide however, you will see a screen shot of the Sharepoint site I created for my team project
    • Overview of the work I did for my PPS/Sharepoint project
    • Created KPI Scorecards based on dimensions, calculated members, and KPIs stored in the cube
    • Created analytic grids and analytic charts to be displayed on a dashboard
    • Used MDX to customize reports and charts
    • Created hotlinks between KPIs and reports
    • Exported a Excel Service report to my Sharepoint site, imported the Excel Service report from the website to a analytic grid, placed the grid in a dashboard, uploaded the dashboard to the sharepoint site
    • Imported a SSRS report and its datasource to my Sharepoint site, stored credentials for the datasource, created a schedule for the SSRS report and any other SSRS reports that needed the schedule, created a subscription for each report that used the schedule
  • SharePoint Sample
    • Screen shot of the Sharepoint site I managed for my team project
  • Computer Science Overview
    • Introduction: The following sections will cover some of the course work I have completed at Kennesaw State University. The following programming languages will be covered: Java, C#, Visual Basic, and Windows Powershell. Also examples will be provided of development plans for a SQL database I had to create for a project for my database class.
    • Audience:
    • KSU Faculty, Instructors, and peers
    • Software Developers and Engineers
    • IT Managers
    • Coursework Goals:
    • Achieve strong understanding of programming using object oriented design and other programming design strategies
    • Gain a strong understanding of system analysis and design
    • Learn how to develop database applications
    • Understand data structure, and operating system principles
    • Learn how to manage projects
  • Java Samples
    • Java Programming
    • Create Java applications that can take user input, run loops such as while and for, create objects based on various classes and call methods from those classes, use recursion to solve complex problems, and other various purposes
    • Check for syntax, runtime, and logic errors when developing applications
    • Handle exceptions when they happen and take appropriate steps to handle those exceptions
    • Comment code so that other people looking at the code knows what is going on
    • This code will take a new loan object and throw an illegial exception if the loan is invalid
  • Java Samples
    • This code manages the size of an array and inserts book objects into the array
  • Java Samples
    • This code searches for a word in a string using for loops
  • Java Samples
    • This code uses recursion to check if a path on a maze game is valid or invalid
  • C# Samples
    • Programming with C#
    • Design GUI interfaces that interact with classes and their methods to provide the user with a functional application
    • Design Console applications that take input from a file and process the data and display the results in a command window
    • Design Web applications that are connected to a class or classes, the classes call methods that take input from a file, process the data, and display the results on the web page
    • Create multiple projects that store code, each project has its own set of classes, each class has its own set of methods, a program project has a reference to all these class projects and can create an object based on each class and can call those classes methods
    • Create applications that can parse and unparse data
    • Here is a simple console application that takes a file and counts how many lines are in the file
  • C# Samples
    • This web application will have a user select a person ID, and when the user clicks the button, the person’s information is displayed on the page
  • C# Samples
    • This console application will read a file from binary and write a file to binary
  • C# Samples
    • This Windows Form Application takes two numbers from the user and displays their sum
  • Visual Basic Samples
    • Programmi ng with Visual Basic
    • Design GUI interfaces that users find easy to use
    • Use While loops and For loops to process repetitive data when appropriate
    • Use appropriate data conversions to process data
    • Use Exception Handling and Validation to handle errors and allow users to operate the application without any problems
    • Use Listbox, Combo boxes, check boxes, and radio buttons to allow users to selection different options on a form
    • Use Modules to store methods that other forms can use
    • This form allows a user to select a state and when the user clicks the button the states bird and abbreviation will be shown
  • Visual Basic Samples
    • This form will take user input and calculate ticket cost, an error will be thrown if the input is invalid
  • Visual Basic Samples
    • This form allows a user to enter input and select check boxes to compute their cost
  • Visual Basic Samples
    • This is my term project, the main form opens up multiple sub forms in order to get a users order
  • Power Shell Samples
    • Programming with Power Shell
    • Design Scripts using Object Oriented Programming
    • Create Scripts that can filter data coming through a pipe line
    • Create Scripts that use functions to repeat repetitive task
    • Create Scripts that handles error exceptions if they take place
    • Create Scripts that takes a user’s input and checks to see if the input is valid
    • This script takes two arguments, a directory and a file size, if a file’s size in the directory is greater then the size specified then that file is displayed
  • Power Shell Samples
    • These two functions in a hang man game checks to see if the users answer is correct, if its wrong, or if the user already guessed a letter
  • Power Shell Samples
    • This script takes a user’s input, and if the input is correct, displays a knock knock joke
  • SQL/database design Samples
    • The following screenshots are of design documents I created to display how I was going to set up my SQL database for my class project
    • Table Layout Document
  • SQL/database design Samples
    • E-R Diagram
  • SQL/database design Samples
    • Executive Summary