Book Image

Getting Started with SQL Server 2012 Cube Development

Book Image

Getting Started with SQL Server 2012 Cube Development

Overview of this book

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 (17 chapters)
Getting Started with SQL Server 2012 Cube Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding security to your in-memory model


Security is always an important functionality of any BI system. Tabular models have the ability to adding granular security through the usage of roles. The concept of roles in the tabular world is the same as it is in the multi-dimensional that we went through in Chapter 7, Securing Your Cube Project. To create a new role, perform the following steps:

  1. Click on the Roles button in the designer.

  2. Click on the New button to create a new role.

  3. Name the role as North America Reader.

  4. Change the value of the Permissions column to Read.

  5. In the Row Filter section, find the DimSalesTerritory table and add the following DAX filter:

    =[SalesTerritoryGroup]="North America"
  6. Click on the New button again to create a new role.

  7. Name the new role as All but North America.

  8. Change the value of the Permissions column to Read.

  9. Specify the following filter for the role:

    =[SalesTerritoryGroup] <> "North America"
  10. Click on OK to save the two roles.

  11. To try out the new roles, click on...