Browse Prior Art Database

SAS 9.1 OLAP Server Disclosure Number: IPCOM000244081D
Original Publication Date: 2004-Dec-31
Included in the Prior Art Database: 2015-Nov-09

Publishing Venue

SAS Institute Inc.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 7% of the total text.

Page 01 of 67

SAS® 9.1 OLAP Server

MDX Guide

Page 02 of 67

The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS ® 9.1 OLAP Server: MDX Guide. Cary, NC: SAS Institute Inc.

SAS® 9.1 OLAP Server: MDX Guide

Copyright © 2004, SAS Institute Inc., Cary, NC, USA

All rights reserved. Produced in the United States of America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc.

U.S. Government Restricted Rights Notice. Use, duplication, or disclosure of this software and related documentation by the U.S. government is subject to the Agreement with SAS Institute and the restrictions set forth in FAR 52.227-19 Commercial Computer Software-Restricted Rights (June 1987).

SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513.
1st printing, January 2004
SAS Publishing provides a complete selection of books and electronic products to help customers use SAS software to its fullest potential. For more information about our e-books, e-learning products, CDs, and hard-copy books, visit the SAS Publishing Web site at or call 1-800-727-3228.

SAS® and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.

Other brand and product names are registered trademarks or trademarks of their respective companies.

Page 03 of 67

4 MDX Introduction and Overview 1

MDX Overview 1

Basic MDX and Cube Concepts 1

Additional MDX Concepts and Expressions - Tuples and Sets 2

Additional MDX Documentation 3

Chapter 2

4 MDX Queries and Syntax 5

Basic MDX Queries and Syntax 5

Basic MDX DDL Syntax 6

SAS Functions 7

External Functions 14

Chapter 3

      4 MDX Usage Examples 19 Simple Examples 19

Query-Calculated Member Examples 21

Session-Level Calculated Member Examples 22

Drill-Down Examples 24

Session-Named Set Examples 27

Appendix 1

4 MDX Functions 33

Dimension Functions 33

Hierarchy Functions 34

Level Functions 34

Logical Functions 34

Member Functions 35

Numeric Functions 36

Set Functions 39

String Functions 47

Tuple Functions 48

Miscellaneous Functions and Operators 49

Additional MDX Documentation 50

Appendix 2

       4 Recommended Reading 51 Recommended Reading 51

Glossary 53

Index 59


What's New v

Overview v

Details v

Chapter 1

Page 04 of 67


Page 05 of 67


What's New



  The SAS OLAP Server enables users to develop and deploy scalable Online Analytical Processing (OLAP) applications. In addition, automated data loading and cube building is available through the use of a new administration interface called the SAS OLAP Cube Studio, which was developed using Java technology.

  OLAP queries are performed using the Multidimensional Expressions (MDX) query language in client applications tha...