Free Sample
+ Collection
Code Files

Instant MDX Queries for SQL Server 2012

Progressing
Nicholas Emond

Learn how to write MDX queries from SQL Server Analysis Services 2012 cubes quickly and easily
$19.99
RRP $19.99
eBook

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782178064
Paperback54 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Write queries, use functions, and utilize what you write in cubes and reports
  • Write Calculated Members and Named Sets
  • Use SSAS DMVs to document your cube

Who This Book Is For

This book is great for new developers who want to learn the MDX query language from scratch and install SQL Server 2012 with Analysis Services.

Table of Contents

Chapter 1: Instant MDX Queries for SQL Server 2012
So, what is MDX for SQL Server 2012?
Installation
Quick start – writing your first MDX query
Top 4 features you'll want to know about
People and places you should get to know

What You Will Learn

  • Write a basic MDX query
  • Install SQL Server 2012 with Analysis Services
  • Use MDX functions
  • Define Calculated Members and Named Sets
  • Write Calculated Members and Named Sets in a cube to reuse them later
  • Write MDX in SSRS
  • Use DMVs to document your cube

In Detail

MDX is a query language that is used to retrieve data inside Microsoft SQL Server Analysis Services cubes. With MDX, you can display the elements of your cube like attributes and hierarchies from your dimensions, measures from your fact tables, calculations, and KPIs.

This book will help you to understand the MDX query language, write your own MDX queries to display data from your cubes in the way you want, and display the results in Management Studio or in a Reporting Services report.

Instant MDX Query for SQL Server 2012 starts by showing you how to write MDX queries and takes you all the way to integrating your MDX queries into SSRS and retrieving documentation data easily on your cubes.

After you have followed the steps to install SQL Server 2012 with Analysis Services, you will learn how to write MDX queries. Once you understand the basic syntax of a query, you will then learn how to use calculated measures and named sets to reuse your code. MDX functions will help you filter, order, and combine results. Once you have mastered how to write calculated measures and named sets, you will then learn how to add them into your cube to reuse them.Displaying the results in Management Studio won’t be enough, so you will also learn how to write MDX queries in Reporting Services reports.

Authors

Read More