Fast Track to MDX (eBook)

eBook Download: PDF
2007 | 2nd ed. 2006
XXVI, 310 Seiten
Springer London (Verlag)
978-1-84628-182-2 (ISBN)

Lese- und Medienproben

Fast Track to MDX - Mark Whitehorn, Robert Zare, Mosha Pasumansky
Systemvoraussetzungen
69,54 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Shows users and developers how to use MDX to effectively to provide relevant business information.
IloveBusinessIntelligence.IloveBIbecauseitisallaboutbecomingbetter. BI is all about empowering us with knowledge and that knowledge is the power to realize our full potential. As Zorge the spy said, "e;knowledge is power"e;, and who doesn't love to have the power to know, to understand and to make intelligent decision? I do. Since the dawn of the modern information system it was obvious that the information accumulated in the machine is wasted if there is no way to analyze it and learn from it. From as early as the 1950s, data analysis systems and, later, decision support systems were designed, developed anddeployedwiththatintent.However,onlyinthelastdecadehavethese systems become both reasonably affordable and mainstream and their business impact indisputable. The last decade has also seen the emergence of OLAP as the centerpiece of the BI technologies. The OLAP multidimensional databases combine incredible performance with unsurpassed analytical power and, in my opinion, are the foundation of the BI platform. While the performance differences between the multidimensional da- bases and the traditional relational databases are very significant, Moore's law, which states that the hardware computing power doubles every 18 months, renders this advantage of the OLAP databases temporary. Sooner or later, the raw computing power of the common server machines will be sufficient to provide the performance needed for sophisticated analysis even when the data is stored in a relational database.

Contents 6
Foreword 10
Introduction 13
Why should you read this book? 13
What is MDX? 13
Who should read this book? 14
Who are we? 14
Bugs (sorry – readware anomalies) 16
Acknowledgements 16
What do we cover? 17
What we don’t cover 17
Disclaimer 18
The ‘d’ word 19
What’s on the CD-ROM 19
Chapter 1 Readme.doc – definitions you need to know 22
Sample data 22
Italics 22
Introduction 22
Dimensions, measures, members and cells 23
Cranking up the complexity 27
Hierarchies and aggregations 29
Levels 31
Naming conventions 32
Tuples and sets 34
Exploring the differences between tuples and sets 39
Tuples don’t have to use a member from every dimension 44
Tuples and hierarchies 45
Sometimes measures behave like dimensions 45
Tuples revisited 46
Sets revisited 46
Measures revisited 46
Member properties 47
Summary 48
Chapter 2 How MDX is used 50
MDX queries 52
MDX expressions 52
Chapter 3 MDX queries 56
Using MDX for queries 57
SELECT, FROM, ON COLUMNS, ON ROWS 60
WHERE 71
Slicer 73
Summary 73
Chapter 4 MDX syntax 74
Brackets, braces and the odd dot and comma 74
Brackets [ ] – Dimension names and member names 74
Dots . – Separators 75
Braces ( ) – Tuples 75
Curly braces { } – Sets 76
Chapter 5 MDX expressions 79
Recap of cell naming 80
The concept of the current cell 82
Relative cell referencing 83
The practicalities – how to look at the data in a cube 86
1 Comparing values 90
3 Calculating values to date 98
The practicalities – how to create a calculated member 93
2 Comparing values between years 95
Summary 99
Chapter 6 Navigating the hierarchy 101
Children 103
Parent 104
Nesting functions 105
Outside the limits 106
Reality check 106
Descendants 111
Reality check 114
Ancestor 115
Siblings 116
Cousin 117
Summary 117
Chapter 7 Snapshot data analysis 120
The general problem 121
The general solution 122
The specific requirements 122
1 Average stockholding 122
2 Closing period 126
3 Maximum value 128
Why use Descendants? 129
Summary 130
Chapter 8 Moving averages 131
A simple moving average 132
A more complex moving average 136
Summary 139
Chapter 9 Filters 140
Summary 147
Chapter 10 Setting the default member 149
Defining a custom default member 150
Defining a different custom default member 154
Defining a fully dynamic custom default member 155
Default measures 157
Summary 158
Chapter 11 Member properties and dimension security 159
Member properties 159
Dimension security 161
Using member properties and dimension security 162
Summary 171
Chapter 12 Distinct Count 172
Chapter 13 Parent–Child dimensions 177
Chapter 14 Advanced data modeling – Custom Order, Custom Rollup, Custom Members 183
Problem 1: Custom Order – ordering of members in a hierarchy 185
Member Key Column and Member Name Column 187
Creating a custom order 189
Practical summary 193
Problem 1: Custom Order – ordering of members in a hierarchy 193
Problem 2: Custom Rollup – when the cube’s default behavior doesn’t do the right job 194
Practical summary 199
Problem 2: Custom Rollup – when the cube’s default behavior doesn’t do the right job 199
Problem 3: Custom Members – filling in missing information 199
Practical summary 203
Problem 3: Custom Members – filling in missing information 203

Summary 206
Chapter 15 Further advanced data modeling techniques 207
Write-enabled dimensions and working with data in other cubes 207
Problem 4: Write-enabled dimensions – allowing users to add a member to a dimension 208
Practical summary Problem 4: Write-enabled dimensions – allowing users to add a member to a dimension 213
Problem 5: Write-enabled dimensions – deriving values for a member using formulae 214
Practical summary 217
Problem 6: Missing data – bringing it in from other cubes 217
Practical summary 220
Summary 221
Chapter 16 Actions 222
Chapter 17 Server side color coding 233
Summary 240
Chapter 18 More about querying 241
Named sets 241
CROSSJOIN 242
NON EMPTY 247
From top to bottom 251
More than two dimensions – PAGES, SECTIONS, CHAPTERS 260
When logic and people collide... 262
Summary 271
Summary of the book 271
Appendix 1 Sample files 272
Where and what are the sample files? 272
CAB files 272
MDB files 273
TXT files 273
When to use which files 273
How to manage the files 274
Step-by-step guide to restoring an Analysis Service Database (containing one or more OLAP cubes) from a .CAB file 274
Data sources 277
Appendix 2 ProClarity 279
Installing ProClarity and connecting it to a cube 279
Using ProClarity’s MDX Editor 282
Index 283

Erscheint lt. Verlag 29.12.2007
Zusatzinfo XXVI, 310 p. 199 illus.
Verlagsort London
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Datenbanken
Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Theorie / Studium Compilerbau
Schlagworte Data Analysis • Database • Database Systems • Data Warehousing • OLAP • Processing • Rack • Relational Database • SQL • SQL Server
ISBN-10 1-84628-182-2 / 1846281822
ISBN-13 978-1-84628-182-2 / 9781846281822
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 28,6 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
An In-Depth Guide to the Spring Framework

von Iuliana Cosmina; Rob Harrop; Chris Schaefer; Clarence Ho

eBook Download (2023)
Apress (Verlag)
62,99