Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with SQL Server 2012 Cube Development

You're reading from   Getting Started with SQL Server 2012 Cube Development Learn to develop and query Analysis Services cubes and models, with a practical, step-by-step approach with this book and ebook

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781849689502
Length 288 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Simon Lidberg Simon Lidberg
Author Profile Icon Simon Lidberg
Simon Lidberg
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Getting Started with SQL Server 2012 Cube Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Self-service Business Intelligence, Creating Value from Data FREE CHAPTER 2. Installing SSAS and Preparing for Cube Development 3. Creating Your First Multidimensional Cube 4. Deploying and Processing Cubes 5. Querying Your Cube 6. Adding Functionality to Your Cube 7. Securing Your Cube Project 8. Using Aggregations to Performance Optimize a Cube 9. In-memory, the Future 10. Cubes in the Larger Context Index

Working with partitions in tabular models


Partitions are a crucial part of designing both tabular models as well as multi-dimensional cubes. You can add partitions to your fact table by performing the following steps:

  1. Click on the FactInternetSales table.

  2. Click on the Partitions button in the designer:

  3. In the Partition Manager dialog, change the name of the first partition to FactInternetSales 2005 and Below.

  4. Click on the SQL button and change the query to the following:

    SELECT [dbo].[FactInternetSales].* FROM [dbo].[FactInternetSales]
    WHERE [dbo].[FactInternetSales].[OrderDateKey] <='20051231'
  5. Click on the New button and add a new partition named FactInternetSales - Above 2005.

  6. Add the following query to the partition:

    SELECT [dbo].[FactInternetSales].* FROM [dbo].[FactInternetSales]
    WHERE [dbo].[FactInternetSales].[OrderDateKey] >'20051231'
  7. Click on the OK button and process and deploy your model.

One of the benefits with the tabular model when it comes to partitions is the fact that you have...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image