Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Getting Started with SQL Server 2012 Cube Development
Getting Started with SQL Server 2012 Cube Development

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

eBook
NZ$57.99 NZ$64.99
Paperback
NZ$80.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Getting Started with SQL Server 2012 Cube Development

Chapter 2. Installing SSAS and Preparing for Cube Development

SQL Server Analysis Services (SSAS) is an analytical engine that can handle vast amounts of data with high performance. The server engine manages, processes, and queries the BI Semantic model (BISM). The BI semantic model consists of metadata defining the business logic and data access, and the data coming from the data sources.

This chapter will cover the following topics:

  • How to choose the correct model

  • Installing Analysis Services

  • Understanding the development toolset

  • Setting up the project environment for development

Understanding the BI semantic model architecture


Analysis Services is a foundational component of the Microsoft BI. It has the ability to host analytical models that can be used with tools, such as Excel through PivotTables. The model can either be multidimensional OLAP models or in-memory models called tabular models. This model is called the BI Semantic Model (BISM).

The BI Semantic Model is a new model that includes both the classic multidimensional model or OLAP model and the newer tabular model.

Note

For a longer description of the BI semantic model, see the following white paper: http://technet.microsoft.com/en-us/library/jj735264.aspx.

Also review the following blog post by the development team that includes information about the roadmap of the OLAP model: http://blogs.msdn.com/b/analysisservices/archive/2011/05/16/analysis-services-vision-amp-roadmap-update.aspx.

The OLAP model is a true multidimensional model that allows the developers to include very complex business logic into the...

Choosing the deployment mode


As you understand, the choice you make about the deployment mode is very important, it is a choice that you make during installation of the server.

So what determines the right model for you? From a user perspective, the models look the same; the user can use both of them from any of the user tools that can connect to Analysis Services. The difference between the models is mainly something that the developer gets exposed to. As you saw in the architectural diagram previously, there are some differences on the languages that you use when developing the logic and the queries.

In the multidimensional world, you use a language called MDX (Multidimensional Expressions) to query the model and to write the business logic. MDX is a hard language to learn but it is extremely powerful when you really master it.

Tip

More information on how to use MDX to query your cube will be covered in Chapter 5, QueringYour Cube, in this book.

In the tabular world, on the other hand, you...

Installing Analysis Services 2012 in multidimensional mode


Now the time has come to really get started with the development, and in order to do this you first need to install Analysis Services. In order to do this, you need to ensure that you have a server that meets the prerequisites. As you can see in the following table, they are pretty modest when it comes to hardware. However, these are the minimum recommendations for production solutions. You need to ensure that you have a server that is powerful enough to meet the demands of your users.

Tip

Many hardware providers have sizing guides that can help you to choose a server that can work for your production databases. You can find one here from the hardware vendor, HP, as shown in the following link : http://h71019.www7.hp.com/ActiveAnswers/us/en/sizers/microsoft-sql-bi.html.

Hard Disk Space Requirements

345 MB

Processor Type

  • x64 Processor: AMD Opteron, AMD Athlon 64, Intel Xeon with Intel EM64T support, Intel Pentium IV with EM64T...

Starting SQL Server Data Tools for the first time


Now everything is set for starting the development environment for SQL Server 2012. Go to the Start menu, and start the SQL Server Data Tools. It is the Integrated Development Environment (IDE) that is used when building all Business Intelligence projects in SQL Server 2012, and is built on top of Visual Studio 2010.

The first time you start the IDE, you have to choose the look and feel of the tool; since you are going to develop cubes, you should choose Business Intelligence Settings.

Choosing the correct project


Now that the IDE has started, you can start getting accustomed to it. Just as in Visual Studio, SQL Server Data Tools works with solutions and projects. A project is a group of source code files that are deployed together to the target. A solution is a group of projects that you want to handle together.

Depending on what you are developing you are working with different kinds of projects. In the tool you have several project templates with different targets, there are Reporting Services and Integration Services project templates used when developing ETL packages and reports. Then there is an Analysis Services section containing the different project templates that you can use.

There are two different project types for the multidimensional model: one where you create a model from scratch, and one that imports a cube and dimensions from an existing Analysis Services server. The Import from Server (Multidimensional and Data Mining) project type can be used if you...

Navigating the project environment


When you are working in SQL Server Development Tools, you are working locally in an offline mode. This means that you are only making changes to your local source files, and not to the server. This is something that can be confusing if you have not worked in an IDE such as Visual Studio before.

One thing that you also need to be aware of is that the IDE is dynamic, meaning that it looks different depending on what project template you have opened. If you have created a project of a different type, it will have content relevant to that project type in all the windows.

Let us go through some of the key aspects of the development environment.

Solution Explorer

An important part of the IDE is the Solution Explorer that contains a folder structure local to your project; in this structure you will find the different source code files organized into sections. As you can see in the screenshot, you have a folder for the different data sources, one for the cubes and...

Hands-on steps for configuring your cube project


To configure the cube project for deployment follow the given steps:

  1. Click on the Properties button in the Server Explorer window.

  2. Under Build, specify that you are targeting a Developer Edition deployment server.

  3. Under Deployment, set the target server as follows: localhost\multidimensional.

  4. Click on OK.

  5. Save the project.

  6. Go to the Build menu and choose to deploy the project; this will send a series of commands to the Analysis Services instance that you have specified under the Target | Server.

  7. Open up Management Studio and connect to the Analysis Services instance that you used as the target server.

  8. Click on the Databases folder and make sure that you have an Analysis Services database called FirstCube on your server.

Now we have configured the development environment for project mode development. There is another way that you can develop as well, and that is in online mode. This is something that is rarely used, but it can sometimes be useful when...

Summary


Analysis Services is a very flexible engine that can be used to host both in-memory models called tabular models and multidimensional models. Depending on what mode you choose, you will get different capabilities and features. You have got your first look into the development environment used to create Analysis Services' multidimensional cubes, and deployed your first Analysis Services database to the server. In the next chapter, we will continue the FirstCube project, connect it to a database, and start creating the first cube, dimensions, and measures.

Left arrow icon Right arrow icon

Key benefits

  • 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

Description

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.

Who is this book for?

Written for SQL Server developers who have not previously worked with Analysis Services. It is assumed that you have experience with relational databases, but no prior knowledge of cube development is required. You need SQL Server 2012 in order to follow along with the exercises in this book.

What you will learn

  • Choose the correct model for solving your business problem
  • Set up Analysis Services and the development environment
  • Create user friendly dimensions and cubes
  • Automate cube processing and deployment
  • Query cubes using standard tools like Excel and Reporting Services
  • Add advanced functionality such as KPIs and calculations
  • Secure your business intelligence solutions
  • Performance tune your cube through the use of aggregations
  • Create tabular in-memory models
  • Understand business intelligence architecture

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 13, 2013
Length: 288 pages
Edition : 1st
Language : English
ISBN-13 : 9781849689502
Vendor :
Microsoft
Languages :
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Sep 13, 2013
Length: 288 pages
Edition : 1st
Language : English
ISBN-13 : 9781849689502
Vendor :
Microsoft
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just NZ$7 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just NZ$7 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total NZ$ 249.97
SQL Server Analysis Services 2012 Cube Development Cookbook
NZ$96.99
Microsoft SQL Server 2012 Integration Services: An Expert Cookbook
NZ$71.99
Getting Started with SQL Server 2012 Cube Development
NZ$80.99
Total NZ$ 249.97 Stars icon

Table of Contents

10 Chapters
Self-service Business Intelligence, Creating Value from Data Chevron down icon Chevron up icon
Installing SSAS and Preparing for Cube Development Chevron down icon Chevron up icon
Creating Your First Multidimensional Cube Chevron down icon Chevron up icon
Deploying and Processing Cubes Chevron down icon Chevron up icon
Querying Your Cube Chevron down icon Chevron up icon
Adding Functionality to Your Cube Chevron down icon Chevron up icon
Securing Your Cube Project Chevron down icon Chevron up icon
Using Aggregations to Performance Optimize a Cube Chevron down icon Chevron up icon
In-memory, the Future Chevron down icon Chevron up icon
Cubes in the Larger Context Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2
(11 Ratings)
5 star 45.5%
4 star 45.5%
3 star 0%
2 star 0%
1 star 9.1%
Filter icon Filter
Top Reviews

Filter reviews by




Pardeep Dhull Jan 11, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
One of the rare books I have seen on BI stack - simplistic and holistic in one book.Lots of visual's that really helps in relating the data to its processing. Would recommend this not only to BI folks but to OLTP folks too - to understand the behind the scenes processing n concepts.
Amazon Verified review Amazon
Mikael Colliander Jan 27, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is the must have book for those how are starting their journey of cube development using SQL Server Analysis Services as platform. At the very beginning the reader will learn how to prepare and install Analysis server continuing with the basics how to build and query their own cube. In the later chapter’s one will learn more advanced concepts of cube development like aggregations, KPI, advanced calculations, security, and perspectives. Lastly the author will describe how the cube integrates with the full Microsoft BI stack which puts the cube in the larger context, teach the reader how to integrate with the cube using Excel, PowerPivot, PowerView and Sharepoint Services.All along the book the author leave pointers and links for further more in-depth Reading./MC
Amazon Verified review Amazon
KAPETAS ATHANASIOS PANTELIS May 21, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very good book to start
Amazon Verified review Amazon
Kalle Becker Dec 02, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I'm and old SharePoint guy - this book helped me get a flying start into the BI part of the Microsoft platform! Easy to understand!
Amazon Verified review Amazon
Wayne Jan 19, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is an excellent resource for those who are starting their SQL Server Analysis Services (SSAS) journey. This is like a boot camp where you are given the relevant information to begin the journey of SSAS developer and/or administrator.The book guides you through the complete install of SSAS and covers both multidimensional and tabular modes. I would have like to seen extra pages on the modeling aspect of the 3nf/Star Schema's.If you want to quickly grasp the fundamentals that give you the foundation to take your skill sets further, then this is one those books to purchase
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.