Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Wes Helton Business Intelligence Portfolio
1. Wes Helton PO Box 940249, Maitland, FL 32794 (321) 948-8672 [email_address] Business Intelligence Portfolio
2. Contents SQL Server Integration Services (SSIS) 3 SQL Server Analysis Services (SSAS) 11 SQL Server Reporting Services (SSRS) 17 Performance Point and SharePoint Integration 21 Key Performance Indicators (KPI) 28 Documentation 32
3. SQL Server Integration Services (SSIS) Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
4. Load Job Time Sheet Files Control Flow The Load Job Time Sheet control flow has a for each loop container that loops through each file name and processes the job time sheet files. At the completion of the task it sends an email notification whether load was successful or failed and adds any invalid record files as email attachments. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
5. Load Job Time Sheet Files Data Flow The Load Job Time Sheet data flow task reads data from a CSV file and verifies the Employee Master and Job Master exists. The task also verifies the Job Master record is not closed or work date is greater than job closed date. If the record fails validation then the time sheet record is written to an invalid file. The task performs a lookup for the job time sheet to find a match. If the data is not found then a new row is added to the table. If the data is found and the data is different then it updates the existing row. The file path for the input data and invalid logs are stored in variables FolderPathData and FolderPathLog. These values are configured in the DtsConfig file to allow for changes in the environment. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
6.
7.
8.
9. Load Client Master Control Flow The Load Client Master control flow task processes the County Master and Client Master data. At the completion of the task it sends an email notification whether load was successful or failed and adds any invalid record files as email attachments. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
10. Load Client Master Data Flow The Load Client Master data flow task reads data from an Excel file and verifies the County Master exists. If the record fails validation then the client master record is written to an invalid file. The task performs a lookup to find a match in the client master table. If the data is not found then a new row is added to the table. If the data is found and the data is different then it updates the existing row. The file path for the input data and invalid logs are stored in variables FolderPathData and FolderPathLog. These values are configured in the DtsConfig file to allow for changes in the environment. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
11. SQL Server Analysis Services (SSAS) Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
12. All Works Cube View of the All Works cube structure including the measure groups, dimensions and logical view of the data for the cube. The list of measure groups include Job Summary, Job Overhead Summary, Job Material and Job Labor. The list of dimensions include Job Master, Overhead, Material Types, Employees and Date Calendar. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
13. Job Master Dimension View of the Job Master dimension structure including the attributes, hierarchies and logical view of the data for the dimension. In this dimension there are two hierarchies, Client Groups and Client Geography, which efficiently organizes the data and allows the user to explore the data from a high level to a more detail level. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
14. All Works Calculations View of the calculated members contained in the MDX script for the All Works cube. The list of calculated members for Overhead, Jobs, Profit and Receivables. They extend the functionality of the cube and are used for business KPIs, Reports and MDX queries. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
15. All Works KPIs View of the KPIs contained in the All Works cube. The list of KPIs include comparison measures for Open Receivables, Growth in Jobs, Overhead Percent, Profit Percent and Overhead Category Percent. KPIs are often evaluated over time and allows the business to analyze, examine and manage their predefined business goals. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
16. MDX Query -- =============================================================================== -- Author: Wes Helton -- Create date: January 29, 2009 -- Description: Calculates the total costs, the total profit, and total profit % for each individual job. -- -- Total costs = total labor cost + total material cost + total overhead cost -- Total profit = labor profit + material profit + additional labor overhead profit -- Total profit % = (total profit / (total cost + total profit)) * 100 -- =============================================================================== WITH MEMBER [TotalCosts] AS SUM( { [Total Labor Cost], [Total Material Cost], [Total Overhead] } ), FORMAT_STRING = "currency“ MEMBER [TotalProfit] AS SUM( { [Total Labor Profit], [Total Material Profit], [Additional Labor Profit] } ), FORMAT_STRING = "currency“ MEMBER [ProfitPct] AS IIF([TotalCosts] + [TotalProfit] = 0, 0, ( [TotalProfit] / ( [TotalCosts] + [TotalProfit] ) ) ), FORMAT_STRING = 'percent' SELECT { [TotalCosts], [TotalProfit], [ProfitPct] } ON COLUMNS, { [Job Master].[Description].Members } ON ROWS FROM [All Works] Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
17. SQL Server Report Services (SSRS) Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
18. Overhead Category Report The Overhead Category report uses the Overhead cube and selects the data by the quarter parameter and displays the total overhead for the quarter, total overhead for the previous quarter and percent increase of overhead from previous quarter for each category. The quarter parameter for the report defaults to the most recent quarter when the report is first displayed. If there is an increase in overhead from previous quarter the percent changed values are displayed in red. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
19.
20. Employee Jobs in Date Range Report The Employee Jobs in Date Range report uses the Labor cube and selects the data by the employee and week ending date range parameters and displays the employee, job description, hours worked and total labor for each job during the week. For each week ending date there are subtotals for the hours worked and total labor and at the end of the report a final total of hours worked and total labor. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
21. Performance Point Server and SharePoint Server Integration Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
22. Labor Analysis Report The Labor Analysis report uses an analytical chart and analytical grid on a dashboard using Performance Point. The chart uses the Labor cube and shows the employee’s labor dollars by quarter, along with the percentage of labor for the jobs the employee worked on. The report shows each job the person worked on, the employee’s labor contribution, the total labor contribution for the job, and the employee % Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
23.
24. Labor Report The Labor report uses two analytical grids on a dashboard using Performance Point. The report uses the Labor cube and shows the top 10 jobs by labor dollars and top 5 employees by labor dollar for the quarter and uses a filter to select the q uarter. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
25. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672 MDX Code for Labor Report MDX Query for Top 10 Labor Jobs by Dollars SELECT { [Measures].[Hoursworked], [Measures].[Total Labor] } ON COLUMNS, { TopCount( [Job Master].[Description].[Description].ALLMEMBERS, 10, [Measures].[Total Labor] ) } ON ROWS FROM [Project Labor Cube] WHERE ( <<QuarterFilter>> ) MDX Query for Top 5 Employee by Labor Dollars SELECT { [Measures].[Hoursworked], [Measures].[Total Labor] } ON COLUMNS, { TopCount( [Employees].[Full Name].[Full Name].ALLMEMBERS, 5, [Measures].[Total Labor] ) } ON ROWS FROM [Project Labor Cube] WHERE ( <<QuarterFilter>> )
26. Basic Overhead by Dates The Basic Overhead by Dates report is an Excel pivot table published on a dashboard using Excel Services. The report uses the Overhead cube and shows the total overhead by category for each quarter in the year and uses a filter to select the year. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
27. Job Profitability Chart The Job Profitability Chart report is an Excel chart published on a dashboard using Excel Services. The report uses the Project Master cube and shows the profit dollars and profit percent for each quarter and uses a filter to select multiple counties. The profit percent is displayed as a line marker chart using dual-Y axis. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
29. KPI Total Profit Percent for All Clients Calculations: [TotalCost] = [Measures].[Total Overhead] + [Measures].[Total Material Cost] + [Measures].[Total Labor Cost] [TotalProfit] = [Measures].[Total Labor Profit] + [Measures].[Total Material Profit] + [Measures].[Additional Labor Profit] [[ProfitPercent] = Measures].[TotalProfit] / ( [Measures].[TotalCost] + [Measures].[TotalProfit] ) KPI Value: [Measures].[ProfitPercent] KPI Status: Greater than 15 % is Good , Greater than 5 % and Less than or equal to 15 % is Warning, Less than 5 % is Bad Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
30. KPI Percent Increase in Overhead Category from One Quarter to the Previous Calculations: [CurrentOverhead] = ( [All Works Calendar].[Fy Year - Fy Qtr].CurrentMember, [Measures].[Weekly Over Head] ) [PreviousOverhead] = ( [All Works Calendar].[Fy Year - Fy Qtr].CurrentMember.Lag(1), [Measures].[Weekly Over Head] ) [IncreaseOverheadPercent] = ( [CurrentOverhead] - [PreviousOverhead] ) / [PreviousOverhead] KPI Value: [IncreaseOverheadPercent] KPI Status: Less than 10 % is Good, Greater than 10 % and Less than or equal to 15 % is Warning, Greater than 15 % is Bad Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
31. KPIs of Overhead Trend and Open Receivables on Performance Point Scorecard The scorecard displays the KPIs for Overhead Trend, Client Financials and Construction Job Financials using the quarter selected by the filter. The Client Financials and Constructions Job Financials are Objective KPIs which rolls up KPIs for Open Receivables as Percent of Invoiced, Profit Percent and Overhead and Percent of Total Cost. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672
35. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672 AllWorks database schema reversed engineered using Visio
36. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672 Logical Data Map for AllWorks Database data load in Excel spreadsheet (partial)
37. Wes Helton : Business Intelligence Portfolio : [email_address] : (321) 948-8672 AllWorks Labor Analysis Data Warehouse cube matrix