INTRODUCTION TO MDX. Stick around for RAFFLE and the AFTER EVENT!  All our volunteers and organisers do not get paid for organizing this event – If.

Slides:



Advertisements
Similar presentations
Cache –Warming Strategies for Analysis Services 2008 Chris Webb Crossjoin Consulting Limited
Advertisements

8. Introduction to Spreadsheet CSCI N207 Data Analysis Using Spreadsheet Lingma Acheson Department of Computer and Information Science,
Atlanta.MDF MDX Overview. What Is MDX? MDX is Multi Dimensional EXpressions MDX is the syntax for querying an Analysis Services database MDX is part of.
Chapter 11 Group Functions
INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS Dr. Adam Anthony Fall 2012.
Engineering Solutions Event  Six students will design a solution to an engineering problem.  Students will work as a team to design solutions.  Teams.
Tomislav Piasevoli SoftPro Tetral d.o.o.. Tomislav Piasevoli  Business Intelligence Specialist  SoftPro Tetral company (Croatia)  6 years experience.
Structured Query Language – Continued Rose-Hulman Institute of Technology Curt Clifton.
Using Measures. Types of Measures Additive – A Measure Where the Value of a Member Is the Sum of Its Children At Any Level of Any Dimension Amount Units.
Implementing Business Analytics with MDX Chris Webb London September 29th.
Week 2 Normalization and Queries
SQL By: Toan Nguyen. Download Download the software at During the installation –Skip sign up for fast installation.
Introduction Paul Turley SqlServerBiBlog.com Mentor, SQL Server MVP
SQL Operations Aggregate Functions Having Clause Database Access Layer A2 Teacher Up skilling LECTURE 5.
Enhancements to the GROUP BY Clause Fresher Learning Program January, 2012.
Introduction to Solving Business Problems with MDX Robert Zare and Tom Conlon Program Managers Microsoft.
Concepts of Database Management, Fifth Edition
MSBI online training. MSBI Online Training Course Content : What Is Microsoft BI? Core concept – BI is the cube or UDM Example cube as seen using Excel.
Lists in Python.
Solving Business Problems In OLAP Services Using MDX – Part I Amir Netz – Dev Manager & Architect Ariel Netz – Program Manager SQL Server OLAP Services.
 Continue queries ◦ You completed two tutorials with step-by-step instructions for creating queries in MS Access. ◦ Now must apply knowledge and skills.
1 Single Table Queries. 2 Objectives  SELECT, WHERE  AND / OR / NOT conditions  Computed columns  LIKE, IN, BETWEEN operators  ORDER BY, GROUP BY,
Using Special Operators (LIKE and IN)
Database Systems Microsoft Access Practical #3 Queries Nos 215.
Chapter 21 C OQL Copyright © 2004 Pearson Education, Inc.
DATA RETRIEVAL WITH SQL Goal: To issue a database query using the SELECT command.
Introduction to the Essentials of Excel COMP 066.
Mining real world data RDBMS and SQL. Index RDBMS introduction SQL (Structured Query language)
MDX Overview. What Is MDX? MDX is Multi Dimensional EXpressions MDX is the syntax for querying an Analysis Services database MDX is part of the OLE DB.
Thavash Govender Senior BI Consultant iSolve Business Solutions BIN307.
Mailto : for all Hyperion video tutorial/Training/Certification/Material Understanding MDX with BSO and ASO.
SQL queries ordering and grouping. RHS – SOC 2 SQL query - ordering In a query producing a large result, it may be beneficial to order the result SQL.
MIS2502: Data Analytics SQL – Getting Information Out of a Database.
Advanced MDX Subtitle (Arial regular 20 point) XX Month 200X (Arial regular 16 point)
INTRODUCTION TO MDX. Stick around for SWAG! (Prize drawing at 5.00 p.m)  All our volunteers and organisers do not get paid for running SPS SQLSaturday.
Stick around for SWAG! (Prize drawing at 5.00 p.m)  All our volunteers and organisers do not get paid for running SPS SQLSaturday Cambridge and do.
How to create a Windows app with Project Siena, SharePoint and Office 365 Knut Relbe-Moe Office 365 MVP Chief Technical Architect.
Configure on-premises SharePoint environment for App/Add-in Koncern-it Dias 1.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
Risk Assessment AFFORDABLE SOLUTION USING E XCEL AND P OWER BI.
Advanced Analysis Services Security Chris Webb Crossjoin Consulting Limited.
SQL Server High Availability Introduction to SQL Server high availability solutions.
Shadow prediction: SQL 2014 spatial data types and astronomy well mixed.
SECURING SQL AZURE DATABASE? Boris Hristov SQLSaturday #413 Copenhagen.
Building Tabular Models
An (Advanced) Introduction to DAX
From MDS to SSRS - a short walkthrough
Prof: Dr. Shu-Ching Chen TA: Hsin-Yu Ha
Introduction to SQL Server Analysis Services
6/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
An (Advanced) Introduction to DAX
Efficient Methods for Data Cube Computation
The Database Exercises Fall, 2009.
Group Functions Lab 6.
Use the Power of Analytical Hierarchies in Your Cubes
From Navision Dynamics Nav to Power BI Dashboard in 45 minutes
Introduction to SQL Server Analysis Services
Prof: Dr. Shu-Ching Chen TA: Yimin Yang
Prof: Dr. Shu-Ching Chen TA: Hsin-Yu Ha
A Giving Story: Advanced workflow design
Enhance BI Applications and Simplify Development
Performance tuning Tabular and PowerPivot models
SQL – Entire Select.
Chapter 4 Summary Query.
Prof: Dr. Shu-Ching Chen TA: Haiman Tian
CS122 Using Relational Databases and SQL
Name of Event Name of Event
Query Functions.
Section 4 - Sorting/Functions
Presentation transcript:

INTRODUCTION TO MDX

Stick around for RAFFLE and the AFTER EVENT!  All our volunteers and organisers do not get paid for organizing this event – If you see them, please:  Give them a hug  Shake their hand  Say thank you  Spread the word  Get involved yourself  Don’t forget to thank the sponsors for their support  Thank the speakers for donating their time, energy and expenses

 WHAT  SQL  CUBE BASICS  MDX  HOW  SELECT, FROM, WHERE, SUBSELECT  SETS, MEMBERS  FUNCTIONS -  Q&A

 Jens Vestergaard  Maersk Line IT – MSBI – Engineering  /

 $ GROUP PROFIT 2014 – One Pink Floyd song comes to mind…  CONTAINERS  REFRIGURATED (REEFERS)  LAND BASED EMPL.  AT SEA  600 VESSELS (20 TRIPPLE-E’S) (11 EVEN BIGGER ONES TO COME)  90+ COUNTRIES  1 BI/MDM DEPARTMENT

WHAT!

 SELECT, FROM, WHERE  TWO DIMENSIONAL FORMAT

 SELECT, FROM, WHERE  MULTI DIMENSIONAL FORMAT

 Ordered collection of (at least) one member from one or more dimensions  Simple Tuple  [Date].[Fiscal].[Fiscal Year].&[2005]  If a tuple is composed of members from more than one dimension, the members represented by the tuple must be enclosed in parentheses  ([Date].[Fiscal].[Fiscal Year].&[2005], [Geography].[City].&[Baltimore]&[MD])  A tuple can encompass members in multiple dimensions, as well as multiple members from the same dimension.

 In MDX syntax, tuples are enclosed in braces to construct a set.  A set is an ordered collection of zero, one or more tuples.  {([Date].[Fiscal].[Fiscal Year].&[2005], [Geography].[City].&[Baltimore]&[MD]) , ([Date].[Fiscal].[Fiscal Year].&[2006], [Geography].[City].&[Cincinnati]&[OH])}  A set can contain more than one occurrence of the same tuple.  {[Date].[Fiscal].[Fiscal Year].&[2005], [Date].[Fiscal].[Fiscal Year].&[2005]}  Certain MDX functions accept tuples as parameters, and will raise an error if a single tuple set is passed.  ([Date].[Fiscal].[Fiscal Year].&[2005]) ≠ { [Date].[Fiscal].[Fiscal Year].&[2005] }

HOW?

 CurrentMember  DefaultMember  Anscestor  Cousin  Lag / Lead  NextMember / PrevMember

 SUM / MIN / MAX / AVG / COUNT / DistinctCount  CoalesceEmpty  IIF

 Ancestors  Ascendants  Descendants  SELF, BEFORE, AFTER, BEFORE_AND_AFTER, SELF_AND_AFTER, SELF_AND_BEFORE, SELF_BEFORE_AFTER, LEAVES  Generate  Except  Head / Tail  LastPeriods  MTD / QTD / YTD  Siblings  UNION

 Empty Axis  Minus (-) SET ~ NOT IN  NonEmpty or NON EMPTY  Moving Averages  Date Calculations  IsLeaf  IsAncestor

 Testing Permissions  Testing in Excel  Profiler

Q&AQ&A

 MDX Function Reference:  Stairways to MDX*:  MSDN:  MSSQLTips: learning-sql-server-mdx/ learning-sql-server-mdx/  Literature:  Fast Track to MDX: second/dp/B006V0BNPE/ref=sr_1_2?ie=UTF8&qid= &sr=8- 2&keywords=mdx+fast+trackhttp:// second/dp/B006V0BNPE/ref=sr_1_2?ie=UTF8&qid= &sr=8- 2&keywords=mdx+fast+track  MDX Solutions: ebook/dp/B001KU83FI/ref=sr_1_3?ie=UTF8&qid= &sr=8- 3&keywords=mdx+analysis+serviceshttp:// ebook/dp/B001KU83FI/ref=sr_1_3?ie=UTF8&qid= &sr=8- 3&keywords=mdx+analysis+services  Practical MDX Queries: ebook/dp/B003QP3XGY/ref=pd_sim_351_4?ie=UTF8&refRID=1CNW10TRVP068BDEWJFJ&dpSrc=si ms&dpST=_AC_UL320_SR246%2C320_http:// ebook/dp/B003QP3XGY/ref=pd_sim_351_4?ie=UTF8&refRID=1CNW10TRVP068BDEWJFJ&dpSrc=si ms&dpST=_AC_UL320_SR246%2C320_