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 data from other data sources


As described earlier, you have the ability to add data from other types of data sources when working with Analysis Services in the tabular mode. In the next two steps you will first add data from a text file and then from a report. To add data from a file perform the following steps:

  1. First of all you need to create the file. Open up SQL Server Management Studio and connect to the instance containing the AdventureWorksDW2012 database.

  2. Type the following query:

    select * from 
    AdventureWorksDW2012..DimProductSubcategory
  3. Press Ctrl + E on the keyboard to execute the statement.

  4. Right-click on the Results grid and select to save the results as a comma-separated file:

  5. Save the file as ProductSubcategory.txt.

  6. Open the file in Notepad and add the column names on the first row.

  7. Save the file in the UTF-8 format from Notepad.

    Note

    You can also download the file from the Packt website.

  8. In the SQL Server Data Tools, click on the Import from Data Source button.

  9. Select the Text...