Instant MDX Queries for SQL Server 2012

Nicholas Emond

  • 出版商: Packt Publishing
  • 出版日期: 2013-09-10
  • 售價: $1,270
  • 貴賓價: 9.5$1,207
  • 語言: 英文
  • 頁數: 54
  • 裝訂: Paperback
  • ISBN: 1782178066
  • ISBN-13: 9781782178064
  • 相關分類: MSSQLSQL
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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

Overview

  • 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

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.

What you will learn from this book

  • 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

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. This short, focused guide is a great way to get stated with writing MDX queries. New developers can use this book as a reference for how to use functions and the syntax of a query as well as how to use Calculated Members and Named Sets.

Who this book is written 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.

商品描述(中文翻譯)

學習如何快速輕鬆地從 SQL Server Analysis Services 2012 的立方體撰寫 MDX 查詢

概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時結果
- 撰寫查詢、使用函數,並在立方體和報告中利用所撰寫的內容
- 撰寫計算成員和命名集合
- 使用 SSAS DMVs 來記錄您的立方體

詳細內容
MDX 是一種查詢語言,用於檢索 Microsoft SQL Server Analysis Services 立方體內的數據。使用 MDX,您可以顯示立方體中的元素,如維度的屬性和層級、事實表的度量、計算和 KPI。

本書將幫助您理解 MDX 查詢語言,撰寫自己的 MDX 查詢,以您想要的方式顯示立方體中的數據,並在 Management Studio 或 Reporting Services 報告中顯示結果。

《Instant MDX Query for SQL Server 2012》首先向您展示如何撰寫 MDX 查詢,然後帶您將 MDX 查詢整合到 SSRS 中,輕鬆檢索立方體的文檔數據。

在您按照步驟安裝 SQL Server 2012 和 Analysis Services 後,您將學會如何撰寫 MDX 查詢。一旦您理解查詢的基本語法,接下來您將學會如何使用計算度量和命名集合來重用您的代碼。MDX 函數將幫助您過濾、排序和合併結果。一旦您掌握了如何撰寫計算度量和命名集合,您將學會如何將它們添加到立方體中以便重用。在 Management Studio 中顯示結果並不足夠,因此您還將學會如何在 Reporting Services 報告中撰寫 MDX 查詢。

您將從本書中學到的內容
- 撰寫基本的 MDX 查詢
- 安裝 SQL Server 2012 和 Analysis Services
- 使用 MDX 函數
- 定義計算成員和命名集合
- 在立方體中撰寫計算成員和命名集合以便稍後重用
- 在 SSRS 中撰寫 MDX
- 使用 DMVs 來記錄您的立方體

方法
掌握一項新技術,了解它是什麼以及它能為您做什麼,然後開始使用最重要的功能和任務。這本短小而專注的指南是開始撰寫 MDX 查詢的好方法。新開發者可以將本書作為參考,了解如何使用函數和查詢的語法,以及如何使用計算成員和命名集合。

本書的讀者對象
本書非常適合希望從零開始學習 MDX 查詢語言並安裝 SQL Server 2012 和 Analysis Services 的新開發者。