Business Intelligence Portfolio SSAS

402 views
380 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
402
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Business Intelligence Portfolio SSAS

  1. 1. Business Intelligence PortfolioSSAS Project<br />Aaron Moffat<br />aarongmoffat@yahoo.com<br />704.614.0471 <br />
  2. 2. PROJECT DESCRIPTION <br /><ul><li>Build analysis package solutions using Analysis Services, setting the SQL database as the data source. 
  3. 3. From the SQL Server database, build several custom views into the database, and set up a series of cubes, dimensions and key point indicators (KPIs) to analyze and measure AllWorks profitability and costs.
  4. 4. Write MDX queries and display the results in Excel.</li></li></ul><li>Data Source View<br />
  5. 5. Created Calculate Members <br />
  6. 6. KPI Requirements<br />
  7. 7. KPI Percent Increase<br />
  8. 8. KPI Results<br />
  9. 9. MDX Queries<br />-- Show Overhead by Overhead Category for Q3 and Q4 2005 <br />WITH <br /> MEMBER [2004 Q4] AS <br /> ( [All Works Calendar].[Fy Qtr].[2004 Q4]<br /> ,[Measures].[Weekly Over Head] ) <br /> ,Format_String = &quot;Currency&quot;<br /> MEMBER [2005 Q4] AS <br /> ( [All Works Calendar].[Fy Qtr].[2005 Q4]<br /> ,[Measures].[Weekly Over Head]) <br /> ,Format_String = &quot;Currency&quot;<br />SELECT <br /> {<br /> [2004 Q4]<br /> ,[2005 Q4]<br /> } ON 0<br /> ,[Overhead].[Description].MEMBERS ON 1<br />FROM [All Works];<br />
  10. 10. MDXQueries<br />-- Show jobs in order of purchase amount and then show the<br />-- breakdown in each job of material type (for instance, <br />-- Job A, total purchase amount, amount for fuel, amount for materials,<br />-- amount for petty cash, etc.)<br />WITH <br /> MEMBER [Material Purchases] AS <br /> [Measures].[Purchase Amount] <br /> ,Format_String = &quot;Currency&quot;<br />SELECT <br /> [Material Purchases] ON 0<br /> ,NON EMPTY <br /> Order<br /> ([Job Master].[Description].Children<br /> ,[Material Purchases]<br /> ,bdesc)<br /> * <br /> [Material Types].[Description].MEMBERS ON 1<br />FROM [All Works];<br />
  11. 11. MDX Queries<br />-- For 2005, show the job and the top three employees who worked the most hours. <br />-- Show the jobs in job order, and within the job show the employees in hours worked order <br />SELECT <br /> [Measures].[Hoursworked] ON COLUMNS<br /> ,NON EMPTY <br /> Generate <br />([Job Master].[Description].Children<br /> ,TopCount<br /> ([Job Master].[Description].CurrentMember<br /> * [Employees].[Full Name].Children ,3<br /> ,[Measures].[Hoursworked]<br /> )) ON ROWS<br />FROM [All Works]<br />WHERE <br /> [All Works Calendar].[2005];<br />
  12. 12. -- Show All employees for 2005 Q4, and four periods ago, for total hours worked in the Quarter <br />WITH <br /> MEMBER [All Works Calendar].[Fy Qtr].[2005 Q4] AS <br /> [All Works Calendar].[Fy Year - Fy Qtr].[Fy Qtr].&[2005 Q4] <br /> MEMBER [All Works Calendar].[Fy Qtr].[2004 Q4] AS <br />ParallelPeriod<br /> (<br /> [All Works Calendar].[Fy Year - Fy Qtr].[Fy Qtr]<br /> ,4<br /> ,[All Works Calendar].[Fy Year - Fy Qtr].[Fy Qtr].&[2005 Q4]<br /> ) <br />SELECT <br /> {<br /> [2004 Q4]<br /> ,[2005 Q4]<br /> } ON 0<br /> ,[Employees].[Full Name].Children ON 1<br />FROM [All Works]<br />WHERE <br /> [Measures].[Hoursworked];<br />MDX Queries<br />

×