SlideShare a Scribd company logo
Prepared By:  Agnes TetterSETFOCUS, LLC08/20/2009SSAS/MDX/KPI Student ProjectALLWORKS Database DocumentationPart I: SSAS ProjectFile Location:  C:\SetFocusBIProjects\studentVersion\SSASStudentProject301625497205SSAS Solution Filename: SSASStudentProject.slnFigure 1.1 Data Source View:  Filename: All Works DSV.dsvData Source View was created using the following four fact tables and nine dimension tables.Fact Tables: JobSummaryFacts, JobOverheadSummaryFacts, JobMaterialFacts, JobLaborFactsDimension Tables: AllWorksCalendar, Clients, ClientGroupings, County, Division, Employees, JobMaster, Material Type, Overhead.The Fact and Dimension Tables relationships were created based on the following project requirements.  Allworks Calendar  Dimension Table serves as the target table of JobOverheadSummaryFacts, JobMaterialFacts, and JobLaborFacts through week ending date attribute and JobSummaryFacts based on JobClosedDate attribute
Employees Dimension table was the target of a relationship from JobLaborFacts Table based on EmployeePK attribute.
MaterialTypes Dimension table was the target of a relationship from JobMaterialFacts table through MaterialTypePK attribute.
Overhead Dimension Table was the target of a relationship from JobOverheadSummaryFacts though  OverheadPK attribute.
JobMaster Dimension Table was the target of 4 relationships from JobOverheadSummaryFacts, JobMaterialFacts, JobLaborFacts, and JobSummaryFacts Table through JobMasterPK attribute
JobMaster Dimension Table and  Clients Dimension Table had a relationship through ClientPK
Clients Dimension Table was connected to County Dimension Table which was connected also with Division Dimension Table based on CountyPK and DivisionPK attributes respectively.
Clients Dimension Table was connected to ClientGroupings Dimension Table through ClientGroupingPK attributes.After relationships were created, the next step was the creation of the cube and dimension. There was one cube with four fact tables and five dimension tables created out of nine dimensions. Figure 1.2 shows the cube structure of AllWorksCube. Only the five dimensions (AllWorksCalendar, JobMaster, Overhead, MaterialType, and Emplooyes) with direct relationship with the four fact tables were shown in the solution explorer. The four dimension tables (client, division, client grouping , and county) that had no direction were hidden under JobMaster Table.42926059055Figure 1.2 Cube: Filename: All Works Cube.cubeIn this project we used MOLAP for SSAS data storage. Queries to MOLAP data execution are significantly faster than queries against other two storage modes (ROLAP and HOLAP). For our cube performance optimization we used two partitions for each fact table. One partition was from year 2005 down and the second partition was from 2006 up. Partitions allow the server to detect which partition can be simply ignored for a query. For example, if a query is querying the month January for the year 2006, with this partition, there is no need for the query to scan the data from 2005. The following are the names of the partition created for each fact table.Job Summary Facts1st Partition Name: Active Partition Job Summary Facts (include the data from 2006 and later)2nd Partition Name: Archive Partition Job Summary Facts (include the data from 2005 and before) Job Overhead Summary Facts1st Partition Name: Active Partition Job Overhead Summary Facts (Include the data from 2006 and later)2nd Partition Name: Archive Partition Job Overhead Summary Facts (Include the data from 2005 and before) Job Material Facts1st Partition Name: Active Partition Job Material Facts (Include the data from 2006 and later)2nd Partition Name: Archive Partition Job Material Facts (Include the data from 2005 and before) Job Labor Facts1st Partition Name: Active Partition Job Labor Facts (Include the data from 2006 and later)2nd Partition Name: Archive Job Labor Facts (Include the data from 2005 and before)After we created and ran the MDX queries (Part 2 of this documentation) and KPI (Part 3 of this documentation), we designed the aggregation for 50% performance increase for each partition. Refer to figure 1.3 for the screenshot of the partition design.Figure 1.3 Partition Screenshot of the Four Facts TablePart 2: MDX Workshop SolutionFile Location:  C:\SetFocusBIProjects\studentVersion\SSAS_MDX_ProjectSolution Filename:   SSAS_MDX_Project.ssmsslnPart 3: Calculation and KPI ScreenshotsFile Location:  C:\SetFocusBIProjects\studentVersion\SSASStudentProjectSSAS Solution Filename: SSASStudentProject.slnFigure 3.1 Calculation Screenshot used in KPIIn the Calculation Tab of AllWorks Cube, we created eleven calculations or measures that were used in the KPI (Key Performance Indicator). These measures are the following:[Measures].[CurrentJobNum],
[Measures].[CurrentQuarter],
[Measures].[DiffCurrentPrevJobNum],
[Measures].[OpenReceivables],
[Measures].[PctIncreaseOverhead],
[Measures].[PreviousJobNum],
[Measures].[PreviousQuarter],
[Measures].[ProfitPct],
[Measures].[TotalCost],
[Measures].[TotalCostPctOverhead,
[Measures].[TotalProfit] We will discuss each of them and where it was used in the KPI. Figure 3.2 KPI 1 ScreenshotRequirements for KPI1 are the following: KPI1: Project (“Job”) Master Open Receivables as a % of Invoice AmountOpen Receivables = Invoice Amount minus Amount ReceivedWhen Invoice Amount is 0, display -100%0 – 10% OKGreater than 10%, less than or equal to 20% , warningGreater than 20% – badUse Traffic LightRun for all Clients in alphabetical order The solution for KPI1 includes the calculations/measures that were used.KPI Name:  KPIOpenReceivablesPctMeasures Used: (Taken from the AllWorks Cube Calculation Tab)Calculation Measure Name: OpenReceivablesPctCalculation Measure Expression:IIF(([Measures].[Invoice Amount])=0, -1,([Measures].[Invoice Amount]-[Measures].[Amount Received])/[Measures].[Invoice Amount])Note: The IIF function will return -1 when the Invoice amount is equal to zero, which in this case will return -100% after converted to a  percentage format.Calculation Format String: ‘PERCENT’KPI Value Expression: [Measures].[OpenReceivablesPct]KPI Goal: 0.10KPI Status Indicator: Traffic LightKPI Status Expression:CASE WHEN KPIVALUE(\"
KPIOpenReceivablesPct\"
)           KPIVALUE(\"
KPIOpenReceivablesPct\"
)>= 0 THEN 1WHEN KPIVALUE(\"
KPIOpenReceivablesPct\"
) > KPIGOAL(\"
KPIOpenReceivablesPct\"
) AND          KPIVALUE(\"
KPIOpenReceivablesPct\"
) WHEN KPIVALUE(\"
KPIOpenReceivablesPct\"
) >.20 THEN -1END Figure 3.3 KPI 1 Excel ScreenshotThis was tested and run in excel. The display screen is at figure 3.3, where the clients name is in the row is listed in alphabetical order. Green light refers to a good status for the KPIOpenReceivablesPct value which is from zero to 10% , yellow light refers to a warning status wherein the value of KPIOpenReceivablesPct is  between  greater than 10% and equal to 20%, and the red light refers to a bad status of the KPIOpenReceivablesPct value if its value is greater than 20%. The rows that have no KPI status are those values that were negative because negative values were not included in our KPI status expression. 152401270 Figure 3.4 KPI 2 ScreenshotRequirements for KPI2 are the following: KPI2:Project (“Job”) Master Increase in number of Jobs from the previous quarter to the current quarter0 or more is good (meaning we’ve done at least one more Job for this quarter than for the last quarter….a zero means we’ve done at least the same # of Jobs)-1 is bad (we’ve done less Jobs for the client in the current qtr, versus the previous quarterUse Traffic LightRun for all Clients in alphabetical order for the 2nd Qtr of 2006KPI Name:  KPIDiffCurrentPrevJobNumMeasures Used: (Taken from the AllWorks Cube Calculation Tab)Calculation Measure Name: DiffCurrentPrevJobNum, PreviousJobNum, CurrentJobNumCalculation Measure Expression: (PreviousJobNum)([Measures].[Job Summary Facts Count],[All Works Calendar].[FY Calendar].prevmember)Calculation Format String: ‘Standard’Calculation Measure Expression: (CurrentJobNum)([Measures].[Job Summary Facts Count],[All Works Calendar].[FY Calendar].currentmember)Calculation Format String: ‘Standard’Calculation Measure Expression: (DiffCurrentPrevJobNum)[Measures].[CurrentJobNum]-[Measures].[PreviousJobNum]Calculation Format String: ‘Standard’KPI Value Expression: [Measures].[DiffCurrentPrevJobNum]KPI Goal: 0KPI Status Indicator: Traffic LightKPI Status Expression:CASE WHEN KPIVALUE(\"
KPIDiffCurrentPrevJobNum\"
) >= KPIGOAL(\"
KPIDiffCurrentPrevJobNum\"
) THEN 1ELSE -1   END Figure 3.5 KPI 2 Excel ScreenshotKPI 2 was tested and run in excel. The display screen is at figure 3.5, where the Clients Name is in alphabetical order in the row and filtered the client’s job increase from 2nd quarter of 2005 to 2nd quarter of 2006. Green light refers to a good status of the KPIDiffCurrentPrevJobNum value which is from zero and above. The red light refers to a bad status of the KPIDiffCurrentPrevJobNum value that is less than zero. Figure 3.6 KPI3 ScreenshotRequirements for KPI3 are the following: KPI3:Project (“Job”) Master Overhead as a % of Total Cost(where total cost = Total Overhead + Total material Cost + Total Labor Cost)When Total Overhead is 0, display 0%0 – 10% OKGreater than 10%, less than or equal to 15%, WarningGreater than 15% - badUse Traffic LightRun For all Jobs in alphabetical orderKPI Name:  KPITotalCostPctOverheadMeasures Used: (Taken from the AllWorks Cube Calculation Tab)Calculation Measure Name: TotalCostPctOverheadCalculation Measure Expression: TotalCostPctOverheadIIF([Measures].[Total Overhead]=0, 0,([Measures].[Total Overhead]/[Measures].[TotalCost]))Calculation Format String: ‘PERCENT’KPI Value Expression: [Measures].[TotalCostPctOverhead]KPI Goal: 0.10KPI Status Indicator: Traffic LightKPI Status Expression:CASE WHEN KPIVALUE(\"
KPITotalCostPctOverhead\"
) WHEN KPIVALUE(\"
KPITotalCostPctOverhead\"
) > KPIGOAL(\"
KPITotalCostPctOverhead\"
) and KPIVALUE(\"
KPITotalCostPctOverhead\"
)WHEN KPIVALUE(\"
KPITotalCostPctOverhead\"
) >.15 then -1ENDFigure 3.7 KPI3 excel ScreenshotKPI 3 was tested and run in excel. The display screen is in figure 3.7, where the rows are the List of Job Description in alphabetical order. Green light refers to a good status of the KPITotalCostPctOverhead value which is from zero to 10%, yellow light refers to warning which is an indication that the KPITotalCostPctOverhead values were greater than 10% or less than and equal to 15% more, and the red light refers to a bad status of the KPITotalCostPctOverhead value, this is the values greater than 15%. Figure 3.8 KPI4 Screenshot Requirements for KPI4 are the following: KPI4:Project (“Job”) Master Profit %Total Profit / (Total Costs + Total Profit)Total Profit = Total Labor Profit + Total Material Profit + Additional Labor ProfitTotal Costs = Total Labor Cost + Total Material Costs + Total Overhead (hint: you created this as a calculation for KPI3, so you can reuse it)When Total Costs is 0, display 100%Less than or equal to 5% is badGreater than 5%, Less than or equal to 15%, warningGreater than 15%, goodUse Traffic LightRun for all Clients in alphabetical orderKPI Name:  KPIProfitPct Measures Used: (Taken from the AllWorks Cube Calculation Tab)Calculation Measure Name: ProfitPct , TotalCost, TotalProfitCalculation Measure Expression: TotalCostIIF([Measures].[Total Overhead]=0, 0,([Measures].[Total Labor Cost]+[Measures].[Total Material Cost]+[Measures].[Total Overhead]))Calculation Format String: ‘Currency’Calculation Measure Expression: TotalProfit[Measures].[Total Labor Profit]+[Measures].[Total Material Cost]+[Measures].[Additional Labor Profit] Calculation Format String: ‘Currency’Calculation Measure Expression: ProfitPct IIF([Measures].[TotalCost]=0, 1,[Measures].[TotalProfit]/([Measures].[TotalCost]+[Measures].[TotalProfit])) Calculation Format String: ‘PERCENT’KPI Value Expression: [Measures].[TotalCostPctOverhead]KPI Goal: 0.15KPI Status Indicator: Traffic LightKPI Status Expression:CASE WHEN KPIVALUE(\"
KPIProfitPct\"
) > KPIGOAL(\"
KPIProfitPct\"
) THEN 1WHEN KPIVALUE(\"
KPIProfitPct\"
) > .05 and KPIVALUE(\"
KPIProfitPct\"
)WHEN KPIVALUE(\"
KPIProfitPct\"
) END47180527305Figure 3.2.5 KPI5 ScreenshotFigure 3.9 KPI4 Excel ScreenshotKPI 4 was tested and run in excel. The display screen is in figure 3.9. The rows are the List of all clients name in alphabetical order. Green light refers to a good status of the KPIProfitPct value which is greater than 15%, yellow light refers to a warning status which an indication that the KPIProfitPct values were greater than 5% or less than and equal to 15% more, and the red light status refers to a bad status of the KPIProfitPct value, these were the values less than or equal to 5%.Figure 3.10 KPI5 ScreenshotRequirements for KPI5 are the following: KPI5Project (“Job”) OverheadDetermine % increase in Overhead category from one quarter to anotherWhen previous quarter is 0, display 100%Less than 10% increase is goodBetween 10% and 15%, warningGreater than 15%, badUse Traffic LightRun for each Overhead Category in alphabetical order for the 2nd Qtr of 2006KPI Name:  KPIPctIncreaseOverheadMeasures Used: (Taken from the AllWorks Cube Calculation Tab)Calculation Measure Name: ProfitPct , TotalCost, TotalProfitCalculation Measure Expression: TotalCostIIF([Measures].[Total Overhead]=0, 0,([Measures].[Total Labor Cost]+[Measures].[Total Material Cost]+[Measures].[Total Overhead]))Calculation Format String: ‘Currency’Calculation Measure Expression: PreviousQuarter (Parallelperiod([All Works Calendar].[FY Calendar].[Qtr],1,[All Works Calendar].[FY Calendar].currentmember),[Measures].[Weekly Over Head])Calculation Format String: ‘Standard’Calculation Measure Expression: CurrentQuarter([All Works Calendar].[FY Calendar].currentmember,[Measures].[Measures].[Weekly Over Head])Calculation Format String: ‘Standard’Calculation Measure Expression: PctIncreaseOverhead IIF([Measures].[PreviousQuarter]=0, 1,([Measures].[CurrentQuarter]-[Measures].[PreviousQuarter])/[Measures].[PreviousQuarter])Calculation Format String: ‘Percent’KPI Value Expression: [Measures].[PctIncreaseOverhead]KPI Goal: 0.10KPI Status Indicator: Traffic LightKPI Status Expression:CASE WHEN KPIVALUE(\"
KPIPctIncreaseOverhead\"
) WHEN KPIVALUE(\"
KPIPctIncreaseOverhead\"
) >.15 then -1Else 0EndFigure 11 KPI5 Excel ScreenshotKPI 5 was tested and run in excel. The display screen is in figure 3.11. The rows are the List of all overhead categories in alphabetical order. Green light refers to a good status of the KPIPctIncreaseOverhead value which is less than 15%, yellow light refers to a warning status which is an indication that the KPIPctIncreaseOverhead values were between 10% and 15% , and the red light status refers to a bad status of the KPIPctIncreaseOverhead value, these were the values greater than 15%.
Agnes's SSAS Project Documentation
Agnes's SSAS Project Documentation
Agnes's SSAS Project Documentation

More Related Content

PPTX
JKJ_SSRS PPS Excel Services Project.Documentation
PDF
DBPLUS Performance Monitor for SQL Server
PDF
T180304125129
PPTX
Reporting Summary Information of Spatial Datasets and Non-Compliance Issues U...
PPT
Training Storyboard
PPTX
Bilir's Business Intelligence Portfolio SSAS Project
DOCX
SSAS Project Profile
PPTX
Sql business intelligence
JKJ_SSRS PPS Excel Services Project.Documentation
DBPLUS Performance Monitor for SQL Server
T180304125129
Reporting Summary Information of Spatial Datasets and Non-Compliance Issues U...
Training Storyboard
Bilir's Business Intelligence Portfolio SSAS Project
SSAS Project Profile
Sql business intelligence

Viewers also liked (6)

PDF
SQL Server Analysis Services
PDF
Step by Step design cube using SSAS
PDF
Microsoft SSAS: Should I Use Tabular or Multidimensional?
PDF
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
PDF
A Gentle Introduction to Microsoft SSAS
PDF
Architecting a Data Warehouse: A Case Study
SQL Server Analysis Services
Step by Step design cube using SSAS
Microsoft SSAS: Should I Use Tabular or Multidimensional?
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
A Gentle Introduction to Microsoft SSAS
Architecting a Data Warehouse: A Case Study
Ad

Similar to Agnes's SSAS Project Documentation (20)

PPT
Nitin\'s Business Intelligence Portfolio
DOCX
Bi Portfolio
DOCX
MS BI SSAS Project Portfolio
PDF
B-Project Report-SSAS
PPT
Project Portfolio
PPTX
Chris Seebacher Portfolio
PPTX
Amit Adhlakha Bi Portfolio
PPTX
Business Intelligence Portfolio
PDF
Roger Mabry Bi Portfolio
PPT
William Schaffrans Bus Intelligence Portfolio
PPTX
BI Portfolio
PPTX
BI Portfolio
PPTX
Ssis ssas sps_mdx_hong_bingli
PPS
Ksouther Bi Portfolio
PPT
Kevin Fahy Bi Portfolio
PPT
James Colby Maddox Business Intellignece and Computer Science Portfolio
PPTX
Annie Lostlen BI Portfolio
PDF
C-Project Report-SSRS
DOCX
Business Intelligence Portfolio
PPT
Ca 10 G1 John Buickerood Portfolio
Nitin\'s Business Intelligence Portfolio
Bi Portfolio
MS BI SSAS Project Portfolio
B-Project Report-SSAS
Project Portfolio
Chris Seebacher Portfolio
Amit Adhlakha Bi Portfolio
Business Intelligence Portfolio
Roger Mabry Bi Portfolio
William Schaffrans Bus Intelligence Portfolio
BI Portfolio
BI Portfolio
Ssis ssas sps_mdx_hong_bingli
Ksouther Bi Portfolio
Kevin Fahy Bi Portfolio
James Colby Maddox Business Intellignece and Computer Science Portfolio
Annie Lostlen BI Portfolio
C-Project Report-SSRS
Business Intelligence Portfolio
Ca 10 G1 John Buickerood Portfolio
Ad

Recently uploaded (20)

PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Machine learning based COVID-19 study performance prediction
PDF
Getting Started with Data Integration: FME Form 101
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Electronic commerce courselecture one. Pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
cuic standard and advanced reporting.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Approach and Philosophy of On baking technology
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Spectroscopy.pptx food analysis technology
SOPHOS-XG Firewall Administrator PPT.pptx
Programs and apps: productivity, graphics, security and other tools
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Machine learning based COVID-19 study performance prediction
Getting Started with Data Integration: FME Form 101
Per capita expenditure prediction using model stacking based on satellite ima...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Network Security Unit 5.pdf for BCA BBA.
Electronic commerce courselecture one. Pdf
MYSQL Presentation for SQL database connectivity
A comparative analysis of optical character recognition models for extracting...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
cuic standard and advanced reporting.pdf
Empathic Computing: Creating Shared Understanding
Unlocking AI with Model Context Protocol (MCP)
Group 1 Presentation -Planning and Decision Making .pptx
NewMind AI Weekly Chronicles - August'25-Week II
Approach and Philosophy of On baking technology
Machine Learning_overview_presentation.pptx
Spectroscopy.pptx food analysis technology

Agnes's SSAS Project Documentation

  • 1. Prepared By: Agnes TetterSETFOCUS, LLC08/20/2009SSAS/MDX/KPI Student ProjectALLWORKS Database DocumentationPart I: SSAS ProjectFile Location: C:\SetFocusBIProjects\studentVersion\SSASStudentProject301625497205SSAS Solution Filename: SSASStudentProject.slnFigure 1.1 Data Source View: Filename: All Works DSV.dsvData Source View was created using the following four fact tables and nine dimension tables.Fact Tables: JobSummaryFacts, JobOverheadSummaryFacts, JobMaterialFacts, JobLaborFactsDimension Tables: AllWorksCalendar, Clients, ClientGroupings, County, Division, Employees, JobMaster, Material Type, Overhead.The Fact and Dimension Tables relationships were created based on the following project requirements. Allworks Calendar Dimension Table serves as the target table of JobOverheadSummaryFacts, JobMaterialFacts, and JobLaborFacts through week ending date attribute and JobSummaryFacts based on JobClosedDate attribute
  • 2. Employees Dimension table was the target of a relationship from JobLaborFacts Table based on EmployeePK attribute.
  • 3. MaterialTypes Dimension table was the target of a relationship from JobMaterialFacts table through MaterialTypePK attribute.
  • 4. Overhead Dimension Table was the target of a relationship from JobOverheadSummaryFacts though OverheadPK attribute.
  • 5. JobMaster Dimension Table was the target of 4 relationships from JobOverheadSummaryFacts, JobMaterialFacts, JobLaborFacts, and JobSummaryFacts Table through JobMasterPK attribute
  • 6. JobMaster Dimension Table and Clients Dimension Table had a relationship through ClientPK
  • 7. Clients Dimension Table was connected to County Dimension Table which was connected also with Division Dimension Table based on CountyPK and DivisionPK attributes respectively.
  • 8. Clients Dimension Table was connected to ClientGroupings Dimension Table through ClientGroupingPK attributes.After relationships were created, the next step was the creation of the cube and dimension. There was one cube with four fact tables and five dimension tables created out of nine dimensions. Figure 1.2 shows the cube structure of AllWorksCube. Only the five dimensions (AllWorksCalendar, JobMaster, Overhead, MaterialType, and Emplooyes) with direct relationship with the four fact tables were shown in the solution explorer. The four dimension tables (client, division, client grouping , and county) that had no direction were hidden under JobMaster Table.42926059055Figure 1.2 Cube: Filename: All Works Cube.cubeIn this project we used MOLAP for SSAS data storage. Queries to MOLAP data execution are significantly faster than queries against other two storage modes (ROLAP and HOLAP). For our cube performance optimization we used two partitions for each fact table. One partition was from year 2005 down and the second partition was from 2006 up. Partitions allow the server to detect which partition can be simply ignored for a query. For example, if a query is querying the month January for the year 2006, with this partition, there is no need for the query to scan the data from 2005. The following are the names of the partition created for each fact table.Job Summary Facts1st Partition Name: Active Partition Job Summary Facts (include the data from 2006 and later)2nd Partition Name: Archive Partition Job Summary Facts (include the data from 2005 and before) Job Overhead Summary Facts1st Partition Name: Active Partition Job Overhead Summary Facts (Include the data from 2006 and later)2nd Partition Name: Archive Partition Job Overhead Summary Facts (Include the data from 2005 and before) Job Material Facts1st Partition Name: Active Partition Job Material Facts (Include the data from 2006 and later)2nd Partition Name: Archive Partition Job Material Facts (Include the data from 2005 and before) Job Labor Facts1st Partition Name: Active Partition Job Labor Facts (Include the data from 2006 and later)2nd Partition Name: Archive Job Labor Facts (Include the data from 2005 and before)After we created and ran the MDX queries (Part 2 of this documentation) and KPI (Part 3 of this documentation), we designed the aggregation for 50% performance increase for each partition. Refer to figure 1.3 for the screenshot of the partition design.Figure 1.3 Partition Screenshot of the Four Facts TablePart 2: MDX Workshop SolutionFile Location: C:\SetFocusBIProjects\studentVersion\SSAS_MDX_ProjectSolution Filename: SSAS_MDX_Project.ssmsslnPart 3: Calculation and KPI ScreenshotsFile Location: C:\SetFocusBIProjects\studentVersion\SSASStudentProjectSSAS Solution Filename: SSASStudentProject.slnFigure 3.1 Calculation Screenshot used in KPIIn the Calculation Tab of AllWorks Cube, we created eleven calculations or measures that were used in the KPI (Key Performance Indicator). These measures are the following:[Measures].[CurrentJobNum],
  • 18. [Measures].[TotalProfit] We will discuss each of them and where it was used in the KPI. Figure 3.2 KPI 1 ScreenshotRequirements for KPI1 are the following: KPI1: Project (“Job”) Master Open Receivables as a % of Invoice AmountOpen Receivables = Invoice Amount minus Amount ReceivedWhen Invoice Amount is 0, display -100%0 – 10% OKGreater than 10%, less than or equal to 20% , warningGreater than 20% – badUse Traffic LightRun for all Clients in alphabetical order The solution for KPI1 includes the calculations/measures that were used.KPI Name: KPIOpenReceivablesPctMeasures Used: (Taken from the AllWorks Cube Calculation Tab)Calculation Measure Name: OpenReceivablesPctCalculation Measure Expression:IIF(([Measures].[Invoice Amount])=0, -1,([Measures].[Invoice Amount]-[Measures].[Amount Received])/[Measures].[Invoice Amount])Note: The IIF function will return -1 when the Invoice amount is equal to zero, which in this case will return -100% after converted to a percentage format.Calculation Format String: ‘PERCENT’KPI Value Expression: [Measures].[OpenReceivablesPct]KPI Goal: 0.10KPI Status Indicator: Traffic LightKPI Status Expression:CASE WHEN KPIVALUE(\" KPIOpenReceivablesPct\" ) KPIVALUE(\" KPIOpenReceivablesPct\" )>= 0 THEN 1WHEN KPIVALUE(\" KPIOpenReceivablesPct\" ) > KPIGOAL(\" KPIOpenReceivablesPct\" ) AND KPIVALUE(\" KPIOpenReceivablesPct\" ) WHEN KPIVALUE(\" KPIOpenReceivablesPct\" ) >.20 THEN -1END Figure 3.3 KPI 1 Excel ScreenshotThis was tested and run in excel. The display screen is at figure 3.3, where the clients name is in the row is listed in alphabetical order. Green light refers to a good status for the KPIOpenReceivablesPct value which is from zero to 10% , yellow light refers to a warning status wherein the value of KPIOpenReceivablesPct is between greater than 10% and equal to 20%, and the red light refers to a bad status of the KPIOpenReceivablesPct value if its value is greater than 20%. The rows that have no KPI status are those values that were negative because negative values were not included in our KPI status expression. 152401270 Figure 3.4 KPI 2 ScreenshotRequirements for KPI2 are the following: KPI2:Project (“Job”) Master Increase in number of Jobs from the previous quarter to the current quarter0 or more is good (meaning we’ve done at least one more Job for this quarter than for the last quarter….a zero means we’ve done at least the same # of Jobs)-1 is bad (we’ve done less Jobs for the client in the current qtr, versus the previous quarterUse Traffic LightRun for all Clients in alphabetical order for the 2nd Qtr of 2006KPI Name: KPIDiffCurrentPrevJobNumMeasures Used: (Taken from the AllWorks Cube Calculation Tab)Calculation Measure Name: DiffCurrentPrevJobNum, PreviousJobNum, CurrentJobNumCalculation Measure Expression: (PreviousJobNum)([Measures].[Job Summary Facts Count],[All Works Calendar].[FY Calendar].prevmember)Calculation Format String: ‘Standard’Calculation Measure Expression: (CurrentJobNum)([Measures].[Job Summary Facts Count],[All Works Calendar].[FY Calendar].currentmember)Calculation Format String: ‘Standard’Calculation Measure Expression: (DiffCurrentPrevJobNum)[Measures].[CurrentJobNum]-[Measures].[PreviousJobNum]Calculation Format String: ‘Standard’KPI Value Expression: [Measures].[DiffCurrentPrevJobNum]KPI Goal: 0KPI Status Indicator: Traffic LightKPI Status Expression:CASE WHEN KPIVALUE(\" KPIDiffCurrentPrevJobNum\" ) >= KPIGOAL(\" KPIDiffCurrentPrevJobNum\" ) THEN 1ELSE -1 END Figure 3.5 KPI 2 Excel ScreenshotKPI 2 was tested and run in excel. The display screen is at figure 3.5, where the Clients Name is in alphabetical order in the row and filtered the client’s job increase from 2nd quarter of 2005 to 2nd quarter of 2006. Green light refers to a good status of the KPIDiffCurrentPrevJobNum value which is from zero and above. The red light refers to a bad status of the KPIDiffCurrentPrevJobNum value that is less than zero. Figure 3.6 KPI3 ScreenshotRequirements for KPI3 are the following: KPI3:Project (“Job”) Master Overhead as a % of Total Cost(where total cost = Total Overhead + Total material Cost + Total Labor Cost)When Total Overhead is 0, display 0%0 – 10% OKGreater than 10%, less than or equal to 15%, WarningGreater than 15% - badUse Traffic LightRun For all Jobs in alphabetical orderKPI Name: KPITotalCostPctOverheadMeasures Used: (Taken from the AllWorks Cube Calculation Tab)Calculation Measure Name: TotalCostPctOverheadCalculation Measure Expression: TotalCostPctOverheadIIF([Measures].[Total Overhead]=0, 0,([Measures].[Total Overhead]/[Measures].[TotalCost]))Calculation Format String: ‘PERCENT’KPI Value Expression: [Measures].[TotalCostPctOverhead]KPI Goal: 0.10KPI Status Indicator: Traffic LightKPI Status Expression:CASE WHEN KPIVALUE(\" KPITotalCostPctOverhead\" ) WHEN KPIVALUE(\" KPITotalCostPctOverhead\" ) > KPIGOAL(\" KPITotalCostPctOverhead\" ) and KPIVALUE(\" KPITotalCostPctOverhead\" )WHEN KPIVALUE(\" KPITotalCostPctOverhead\" ) >.15 then -1ENDFigure 3.7 KPI3 excel ScreenshotKPI 3 was tested and run in excel. The display screen is in figure 3.7, where the rows are the List of Job Description in alphabetical order. Green light refers to a good status of the KPITotalCostPctOverhead value which is from zero to 10%, yellow light refers to warning which is an indication that the KPITotalCostPctOverhead values were greater than 10% or less than and equal to 15% more, and the red light refers to a bad status of the KPITotalCostPctOverhead value, this is the values greater than 15%. Figure 3.8 KPI4 Screenshot Requirements for KPI4 are the following: KPI4:Project (“Job”) Master Profit %Total Profit / (Total Costs + Total Profit)Total Profit = Total Labor Profit + Total Material Profit + Additional Labor ProfitTotal Costs = Total Labor Cost + Total Material Costs + Total Overhead (hint: you created this as a calculation for KPI3, so you can reuse it)When Total Costs is 0, display 100%Less than or equal to 5% is badGreater than 5%, Less than or equal to 15%, warningGreater than 15%, goodUse Traffic LightRun for all Clients in alphabetical orderKPI Name: KPIProfitPct Measures Used: (Taken from the AllWorks Cube Calculation Tab)Calculation Measure Name: ProfitPct , TotalCost, TotalProfitCalculation Measure Expression: TotalCostIIF([Measures].[Total Overhead]=0, 0,([Measures].[Total Labor Cost]+[Measures].[Total Material Cost]+[Measures].[Total Overhead]))Calculation Format String: ‘Currency’Calculation Measure Expression: TotalProfit[Measures].[Total Labor Profit]+[Measures].[Total Material Cost]+[Measures].[Additional Labor Profit] Calculation Format String: ‘Currency’Calculation Measure Expression: ProfitPct IIF([Measures].[TotalCost]=0, 1,[Measures].[TotalProfit]/([Measures].[TotalCost]+[Measures].[TotalProfit])) Calculation Format String: ‘PERCENT’KPI Value Expression: [Measures].[TotalCostPctOverhead]KPI Goal: 0.15KPI Status Indicator: Traffic LightKPI Status Expression:CASE WHEN KPIVALUE(\" KPIProfitPct\" ) > KPIGOAL(\" KPIProfitPct\" ) THEN 1WHEN KPIVALUE(\" KPIProfitPct\" ) > .05 and KPIVALUE(\" KPIProfitPct\" )WHEN KPIVALUE(\" KPIProfitPct\" ) END47180527305Figure 3.2.5 KPI5 ScreenshotFigure 3.9 KPI4 Excel ScreenshotKPI 4 was tested and run in excel. The display screen is in figure 3.9. The rows are the List of all clients name in alphabetical order. Green light refers to a good status of the KPIProfitPct value which is greater than 15%, yellow light refers to a warning status which an indication that the KPIProfitPct values were greater than 5% or less than and equal to 15% more, and the red light status refers to a bad status of the KPIProfitPct value, these were the values less than or equal to 5%.Figure 3.10 KPI5 ScreenshotRequirements for KPI5 are the following: KPI5Project (“Job”) OverheadDetermine % increase in Overhead category from one quarter to anotherWhen previous quarter is 0, display 100%Less than 10% increase is goodBetween 10% and 15%, warningGreater than 15%, badUse Traffic LightRun for each Overhead Category in alphabetical order for the 2nd Qtr of 2006KPI Name: KPIPctIncreaseOverheadMeasures Used: (Taken from the AllWorks Cube Calculation Tab)Calculation Measure Name: ProfitPct , TotalCost, TotalProfitCalculation Measure Expression: TotalCostIIF([Measures].[Total Overhead]=0, 0,([Measures].[Total Labor Cost]+[Measures].[Total Material Cost]+[Measures].[Total Overhead]))Calculation Format String: ‘Currency’Calculation Measure Expression: PreviousQuarter (Parallelperiod([All Works Calendar].[FY Calendar].[Qtr],1,[All Works Calendar].[FY Calendar].currentmember),[Measures].[Weekly Over Head])Calculation Format String: ‘Standard’Calculation Measure Expression: CurrentQuarter([All Works Calendar].[FY Calendar].currentmember,[Measures].[Measures].[Weekly Over Head])Calculation Format String: ‘Standard’Calculation Measure Expression: PctIncreaseOverhead IIF([Measures].[PreviousQuarter]=0, 1,([Measures].[CurrentQuarter]-[Measures].[PreviousQuarter])/[Measures].[PreviousQuarter])Calculation Format String: ‘Percent’KPI Value Expression: [Measures].[PctIncreaseOverhead]KPI Goal: 0.10KPI Status Indicator: Traffic LightKPI Status Expression:CASE WHEN KPIVALUE(\" KPIPctIncreaseOverhead\" ) WHEN KPIVALUE(\" KPIPctIncreaseOverhead\" ) >.15 then -1Else 0EndFigure 11 KPI5 Excel ScreenshotKPI 5 was tested and run in excel. The display screen is in figure 3.11. The rows are the List of all overhead categories in alphabetical order. Green light refers to a good status of the KPIPctIncreaseOverhead value which is less than 15%, yellow light refers to a warning status which is an indication that the KPIPctIncreaseOverhead values were between 10% and 15% , and the red light status refers to a bad status of the KPIPctIncreaseOverhead value, these were the values greater than 15%.