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
Expert Cube Development with Microsoft SQL Server 2008 Analysis Services

You're reading from   Expert Cube Development with Microsoft SQL Server 2008 Analysis Services Design and implement fast, scalable and maintainable cubes with Microsoft SQL Server 2008 Analysis Services with this book and eBook

Arrow left icon
Product type Paperback
Published in Jul 2009
Publisher Packt
ISBN-13 9781847197221
Length 360 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (17) Chapters Close

Expert Cube Development with Microsoft SQL Server 2008 Analysis Services
Credits
About the Authors
About the Reviewers
Preface
1. Designing the Data Warehouse for Analysis Services FREE CHAPTER 2. Building Basic Dimensions and Cubes 3. Designing More Complex Dimensions 4. Measures and Measure Groups 5. Adding Transactional Data such as Invoice Line and Sales Reason 6. Adding Calculations to the Cube 7. Adding Currency Conversion 8. Query Performance Tuning 9. Securing the Cube 10. Productionization 11. Monitoring Cube Performance and Usage Index

Common calculations


We are now going to show some very common types of calculated member. As stated before, the goal here is not to spend a lot of time explaining how the MDX code actually works, but to show some examples of calculations that can be copied and adapted easily for almost any cube.

Simple calculations

The simplest kind of calculated members are those that perform basic arithmetic on other measures. For example, we might have two real measures in the cube that represent our sales and our costs; to calculate our profit we just need to subtract costs from sales.

To add a calculation like this to the cube all we need to do is open the Cube Editor in BI Development Studio, go to the Calculations tab, and once we're there we have a choice of two ways to create a calculated measure. By default the Calculations tab opens in Form View, and to create a calculated member here we simply need to click on the New Calculated Member button and fill in all of the properties as required; behind...

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