O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting Started with SQL Server 2012 Cube Development

Book Description

Written specifically for SQL Server developers, this is a great primer on Analysis Services and cube development. With lots of practical exercises and real-world scenarios, you’ll be up and running in no time.

  • Learn how to develop a complete business intelligence solution using SQL Server 2012
  • Understand the difference between tabular in-memory models and OLAP cubes, and which to use where and when
  • Add advanced features such as key performance indicators (KPIs) and calculated measures to your business intelligence model
  • Understand the use of cubes in a modern business intelligence solution
  • Go from a complete beginner to a developer who can build real-world projects through the use of easy step-by-step examples

In Detail

Analysis Services have been the number one OLAP engine for years. With the increased focus on business intelligence solutions, there is a shortage of professionals in this area. Start your journey into becoming a BI developer using the popular tools included in every SQL Server installation.

Getting Started with SQL Server 2012 Cube Development teaches you through clear step-by-step exercises to create business intelligence solutions using Analysis Services. The knowledge gained through these practical examples can immediately be applied to your real-world problems.

Getting Started with SQL Server 2012 Cube Development begins with an introduction to business intelligence and Analysis Services, the world's most-used cube engine. Guiding you through easy-to-understand examples to become a cube developer.

Learn how to create a cube including all the advanced features such as KPIs, calculated measures, and time intelligence. Security and performance tuning will also be explored. You will learn how to perform and automate core tasks like deployment and processing. The main focus is on multidimensional cubes, but the creation of in-memory models will also be covered.

You will learn everything you need to get started with cube development using SQL Server 2012.

Table of Contents

  1. Getting Started with SQL Server 2012 Cube Development
    1. Table of Contents
    2. Getting Started with SQL Server 2012 Cube Development
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
        3. Instant Updates on New Packt Books
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Self-service Business Intelligence, Creating Value from Data
      1. Identifying common user requirements for a BI system
      2. Creating a flexible reporting solution
      3. Getting user value through self-service reporting
      4. Summary
    9. 2. Installing SSAS and Preparing for Cube Development
      1. Understanding the BI semantic model architecture
      2. Choosing the deployment mode
        1. Actions
        2. Aggregations
        3. Custom assemblies
        4. Custom rollups
        5. Distinct count
        6. Linked objects
        7. Many-to-many relationships
        8. Parent-child hierarchies
        9. Translations
        10. Writeback
        11. Tool support
      3. Installing Analysis Services 2012 in multidimensional mode
        1. Hands-on steps for installing Analysis Services
        2. Hands-on steps for attaching the sample database
      4. Starting SQL Server Data Tools for the first time
      5. Choosing the correct project
        1. Hands-on steps for creating your first cube project
      6. Navigating the project environment
        1. Solution Explorer
        2. Properties window
        3. Build menu
      7. Hands-on steps for configuring your cube project
      8. Summary
    10. 3. Creating Your First Multidimensional Cube
      1. An introduction to data warehousing
      2. Understanding data sources
        1. Creating the data connection
      3. Understanding the data source view
        1. Creating a new data source view
      4. Adding objects to the data source view
        1. Extending the data source view
      5. Understanding dimensions
        1. Creating the Date dimension
        2. Preparing the Date dimension for end users
          1. Renaming attributes
          2. Creating a hierarchy and attribute relationships
          3. Processing the dimension to review the results
      6. Creating the first cube
        1. Creating the Fact Internet Sales cube
      7. Creating additional dimensions and adding them to the cube
      8. Summary
    11. 4. Deploying and Processing Cubes
      1. Deploying objects to Analysis Services
        1. Deploying the FirstCube project to the server
        2. Deploying projects using advanced deployment strategies
      2. Processing objects in Analysis Services
        1. Processing the FirstCube project
        2. Using advanced processing options when processing cubes
        3. Scheduling processing
        4. Building a SSIS package to control processing
        5. Troubleshooting processing errors
      3. Partitioning cubes to speed up processing
        1. Adding partitions to the FirstCube cube
      4. Configuring storage modes in Analysis Services
        1. MOLAP
        2. ROLAP
        3. HOLAP
        4. Proactive caching
        5. Adding a ROLAP dimension to the FirstCube cube
      5. Summary
    12. 5. Querying Your Cube
      1. Understanding multidimensionality
      2. Writing MDX queries using Management Studio
        1. Connecting to the cube using Management Studio
      3. Understanding the anatomy of an MDX query
        1. The FROM clause
        2. The WHERE clause
        3. The query axis clause
        4. Important query concepts
          1. Unique names
          2. Finding unique names of objects
          3. Tuples
          4. Sets
          5. Calculated members
          6. Named sets
          7. Functions
      4. Using Excel as the query tool against cubes
      5. Connecting Excel to the FirstCube cube
        1. Advanced Excel features
          1. Named sets
          2. Calculated measures
          3. Calculated members
      6. Using Reporting Services together with your cube
      7. Summary
    13. 6. Adding Functionality to Your Cube
      1. Adding measures
        1. Adding additional measure groups
      2. Adding dimensions to the FirstCube project
        1. Adding referenced dimensions
        2. Adding many-to-many dimensions
          1. Adding dimensions with parent-child hierarchies
      3. Adding calculations to cubes
        1. Simple calculated measures
        2. Adding advanced calculated measures
        3. Adding calculated members
        4. Time and date calculations
        5. Key Performance Indicators
      4. Adding perspectives to simplify cube browsing
      5. Adding translations to support global implementations
      6. Extending the cube with custom actions
      7. Building budget solutions using writeback
      8. Summary
    14. 7. Securing Your Cube Project
      1. Understanding role-based security
        1. Adding users to the fixed server role
        2. Adding custom roles to the database
      2. Securing objects in Analysis Services
        1. Adding dimension security to the FirstCube project
        2. Securing measures
        3. Implementing data security
        4. Testing data security
        5. Enable Visual Totals to restrict what a user can see
        6. Understanding security when a user belongs to several roles
        7. Implementing dynamic data security
      3. Summary
    15. 8. Using Aggregations to Performance Optimize a Cube
      1. Understanding cube aggregations
      2. Adding aggregations to improve performance
      3. Running the aggregation wizard
      4. Adding aggregations manually
      5. Using usage-based optimization to optimize the cube
      6. Summary
    16. 9. In-memory, the Future
      1. Understanding tabular models
      2. Installing a tabular mode instance
      3. Creating a tabular mode project
      4. Defining the workspace server
      5. Connecting to the data source
      6. Adding tables to the data model
      7. Adding data from other data sources
      8. Working with partitions in tabular models
      9. Creating calculations
        1. Adding calculated columns to the tabular model
        2. Creating calculated measures in the tabular model
        3. Creating advanced calculations
      10. Specifying other types of tables and columns
      11. KPIs
      12. Adding hierarchies
      13. Sorting data based on other columns
      14. Hiding columns and tables from the end users
      15. Creating perspectives
      16. Adding security to your in-memory model
      17. Optimizing the tabular model for performance
      18. Querying tabular models
      19. Summary
    17. 10. Cubes in the Larger Context
      1. Using Microsoft frontend tools to query Analysis Services
        1. Developer-focused tools
          1. Using Reporting Services to query your cube
          2. SharePoint PerformancePoint Services
        2. Self-service tools
          1. Using Excel as a self-service tool against Analysis Services cubes
          2. Using Excel PowerPivot to allow user-created models
          3. SharePoint Excel Services
          4. Introducing Power View – an analytical tool
      2. Third-party tools
      3. Summary
    18. Index