MDX in SQL Server 2008 Szymon Wilk (na podstawie materiałów przygotowanych przez Krzysztofa Dembczyńskiego) TWO, 2009/10.

Slides:



Advertisements
Similar presentations
Business Intelligence Simon Pease. Experience with BI Developing end-to-end BI prototype for Plan International Developing end-to-end BI prototype for.
Advertisements

Introduction to ETL Using Microsoft Tools By Dr. Gabriel.
January 6. January 7 January 8 January 9 January 10.
SQL Server Accelerator for Business Intelligence (SSABI)
Introduction To MDX Dustin Ryan. A little bit about me…  Business Intelligence Consultant, Pragmatic Works  Technical editor for the many authors at.
OLAP Cubes and Pivot Tables Leveraging the Power of a Microsoft EPM Solution EPM Customization Series Part 1 February 21 st, 2007 Brendan Giles, PMP, MCP.
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.
Given Connections Solution
Introduction to OLAP cubes My name: ZULFIQAR SYED Holds BSEE from Illinois Institute of Technology, Chicago, ILLINOIS. Holds BSEE from Illinois Institute.
Introduction Paul Turley SqlServerBiBlog.com Mentor, SQL Server MVP
Designing OLAP Dimensions. Enabling Various Views Finance Operations Profit by Division by Country by Month by Actual/Budget Revenue by Product by Region.
SQL Server Management Studio Introduction
Understanding Analysis Services Architecture. Microsoft Data Warehousing Overview OLTP Source DTS DW Storage Analysis Services Clients OLE DB for OLAP,
Sayed Ahmed Logical Design of a Data Warehouse.  Free Training and Educational Services  Training and Education in Bangla: Training and Education in.
IST722 Data Warehousing Business Intelligence Development with SQL Server Analysis Services and Excel 2013 Michael A. Fudge, Jr.
Chapter 3 Files/Folders needed: \Chapter3\Samples \Chapter3\Labs.
SQL HW1 Turn in as a hardcopy at the start of next class period. You may work this assignment in groups.
Solving Business Problems in OLAP Services Using MDX - Part II Amir Netz – Dev Manager & Architect Ariel Netz – Program Manager SQL Server OLAP Services.
IMS 6217: Data Warehousing / Business Intelligence Part 3 1 Dr. Lawrence West, Management Dept., University of Central Florida Analysis.
What is SQL and Who uses it? Presented by: John Deardurff Global McOWL Internal Sales Training October 24, 2014.
Solving Business Problems In OLAP Services Using MDX – Part I Amir Netz – Dev Manager & Architect Ariel Netz – Program Manager SQL Server OLAP Services.
Vidas Matelis, Toronto SQL Server User Group November 13, 2008.
Part 04 – Preparing to Deploy to the Cloud Entity Framework and MVC Series Tom Perkins NTPCUG.
1 Databound Controls. 2 Objectives You will be able to use design time data binding to display and update SQL Server database data without writing any.
OLAP Cubes and Pivot Tables Leveraging the Power of a Microsoft EPM Solution EPM Customization Series Part 1 February 21 st, 2007 Brendan Giles, PMP, MCP.
HDNUG 27-March-2007 SQL Server 2005 Suite as a Business Intelligence Solution.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 30 – Bookstore Application: Client Tier Examining.
Chapter 6 SAS ® OLAP Cube Studio. Section 6.1 SAS OLAP Cube Studio Architecture.
Database Unit Test MSSQL 2008 & VS 2010 Aung Kyaw Myo.
Building the cube – Chapter 9 & 10 Let’s be over with it.
BI Terminologies.
1 Given the following data, calculate forecasts for months April through June using a three- month moving average and an exponential smoothing forecast.
Introduction Lesson 1. Skills Matrix Relational Database Management System (RDBMS) Installing and configuring SQL Server. Implementing high availability.
In this session, you will learn to: Use functions to customize the result set Summarize and group data Objectives.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
Presented By: Khalid Nour Muhammad Rizvi Raghuram Vempali Surekha Vemuri.
Simulation.  A simulation takes a set of data and project it over time using a formula. Sales for Customer A Sales for Customer B TIME TodayNext YearTwo.
Sales Dim Date Dim Customers Dim Products Dim Categories Dim Geography The data warehouse is a simple and standard one, after all we.
02 | Data Flow – Extract Data Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons Great.
Centre of Competence on data warehouse Workshop Helsinki Database Cube and Browsing the Cube Mark Rantala.
SunSatFriThursWedTuesMon January
DAT 378 SQL Server 2000 Bringing The Best of Reporting Services and Analysis Services Together Sean Boon Program Manager, BI Systems
SQL Server Analysis Services Understanding Unified Dimension Model (UDM)
Or How I Learned to Love the Cube…. Alexander P. Nykolaiszyn BLOG:
7 Copyright © 2006, Oracle. All rights reserved. Defining a Relational Dimensional Model.
ACIS Introduction to Data Analytics & Business Intelligence Business Intelligence Logical Functions Part 2.
Review DATA VISUALIZATION WITH TABLEAU ONLINE TUTORIAL Training Guide Fundamentals.
Extending and Creating Dynamics AX OLAP Cubes
All DBMSs provide variations of b-trees for indexing B-tree index
Pass4itsure Microsoft Dumps
SQL Server Analysis Services Fundamentals
How to Start SQL Server and SSDT BI in Local
Building Tabular Models
Module III: Business Analytics
6/16/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
SQL/OLAP Sang-Won Lee Let’s e-Wha! URL: Jul. 12th, 2001 SQL/OLAP
ROLAP partitioning in MS SQL Server 2016
Download Free Verified Microsoft Study Material Exam Dumps Realexamdumps.com
Assignment 2 Due Thursday Feb 9, 2006
Introduction to SQL Server Analysis Services
Buy Valid Microsoft Exam Study Guide Dumps Questions Answers Realexamdumps.com
SQL Server Analysis Services Fundamentals
SQL Server Analysis Services Fundamentals
Implementing Data Models & Reports with Microsoft SQL Server
Week 7 March 8 SQL: Chronological Sort, SUBSTRing, ROUND
Module 12: Implementing an Analysis Services Tabular Data Model
Let’s Build a Tabular Model in Azure
Analysis Services Analysis Services vs. the Data Warehouse vs. OLTP DB
Module 5: Creating Multidimensional Databases
Presentation transcript:

MDX in SQL Server 2008 Szymon Wilk (na podstawie materiałów przygotowanych przez Krzysztofa Dembczyńskiego) TWO, 2009/10

Preparation 1. Download the data cube (project from the last tutorial) winter_2009/ 2. Introduce necessary changes to the project configuration 3. Deploy the data cube 4. Connect to the data cube (Analysis Services) 5. Create and execute specific MDX queries

Changing the Project Configuration Change the connection string Verify the impersonation settings

Changing the Project Configuration Change the project properties (  deployment settings)

Connecting to the Data Cube Connect to Analysis Services (not Database Engine)

Connecting to the Data Cube Navigate to the deployed data cube (OLAP Tutorial  Analysis Services Tutorial) and open a new query window

Query 1 Show the sales amount in March 2002 and April 2002 (Due Date dimension; rows) grouped by gender (columns)

Query 1 – Solution

Query 2 Show the sales amount between February and November 2002 (rows) grouped by gender (columns)

Query 2 – Solution

Query 3 Show the sales amount for all months (rows) grouped by gender (columns)

Query 3 – Solution

Query 4 Show the sales amount for all 2002 quarters (rows) grouped by gender (columns)

Query 4 – Solution

Query 5 Show the sales amount for all years and product lines (rows) grouped by gender (columns)

Query 5 – Solution

Query 6 Show the sales amount (total over all years) for these product lines, for which the total sales in 2001 exceeded 600,000$ (rows), grouped by gender (columns)

Query 6 – Solution

Query 7 Show the sales amount (total over all years) for all products (Product Name) from the Road product line (rows), grouped by gender (columns). Products should be ordered by the order quantity.

Query 7 – Solution

Query 8 Show the sales amount and the order quantity over all products (columns) in 2001 and 2002 (rows). Also calculate in an additional column the average order value (sales amount / order quantity) Calculate in an additional row the difference between 2002 and 2001 for all reported measures/values

Query 8 – Solution