Mais conteúdo relacionado
Semelhante a Bilir's Business Intelligence Portfolio SSAS Project (20)
Bilir's Business Intelligence Portfolio SSAS Project
- 2. Project Overview: AllWorks The SSAS project was designed to build analysis package solutions using Analysis Services, setting the SQL database as the data source. 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. Write MDX queries and display the KPIs in Excel. 5/3/2010 Figen Bilir © 2
- 4. Design the Data Source View in BIDS Restored the All Works Database from the Backup file. Established database connection to SQL Server. Use “Service Account” for login credentials. Selected the fact tables and the dimension tables. The DSV relationships were manually defined in order to complete the relationships between tables. Utilized the Data Source View (DSV) Diagram for All Works Data Source, defined the primary key - foreign key related members between tables. 5/3/2010 Figen Bilir © 4
- 6. Design the Cube in BIDS Utilized the Cube Wizard to build the AllWorks Cube Automatically created attributes and hierarchies Verified that the Fact tables and Dimension Tables properly identified Verified measures by measure group Verified dimensions Used Dimension Usage to verify dimensions used in each fact table Edited AllWorks Calendar & Job Master dimensions with renaming levels and creating hierarchy 5/3/2010 Figen Bilir © 6
- 7. Job Master Dimension Design Designed 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. 5/3/2010 Figen Bilir © 7
- 10. OLAP Partition Creation You can divide cubes into partitions that represent how the data in the cube is used. Also OLAP partitioning is used in order to increase performance by placing data into different hard disk arrays. For example let’s say you have five years of data available, but that 80% of the queries are against the most recent year, and 20% are against the other four years. Put the most recent year in its own partition, and the remaining four years in a second partition. This way, you can select different aggregations for each partition, which will affect both performance and the size of the cube. In AllWorks OLAP database one was created for up to and including 2005, and one for data 2006 and later. 5/3/2010 Figen Bilir © 10
- 11. OLAP Partition Creation cont’d 5/3/2010 Figen Bilir © 11 Cube Partitioning is almost always done by a Time parameter. In this case data before 2006 is kept in a separate partition.
- 12. OLAP Partition Creation cont’d 5/3/2010 Figen Bilir © 12 Code for Partitions is written in T‐SQL. This code should be tested thoroughly in Management Studio (SSMS) before being implemented here.
- 14. MDX Programming All the functionality of MDX is available in Calculated Members and KPIs. You can create as many Calculated Members (also Named Sets) as you need. MDX expressions are created and the formatting and look can be specified here. 5/3/2010 Figen Bilir © 14
- 19. KPIs for AllWorks Key Performance Indicators (KPIs) are often evaluated over time and allows the business to analyze, examine and manage their predefined business goals. The list of KPIs include comparison measures for Open Receivables, Growth in Jobs, Overhead Percent, Profit Percent and Overhead Category Percent. Creating KPIs in SSAS involved: -Creating calculated members in the Calculations tab -Creating KPIs to use the calculated members -Testing the KPIs in an Excel spreadsheet. 5/3/2010 Figen Bilir © 19
- 22. Screenshot of KPI rendered in Excel for Open Receivables 5/3/2010 Figen Bilir © 22
- 24. Calculation for Quarterly Job Trend 5/3/2010 Figen Bilir © 24 Two more calculation were created and used in the current one