?
Solved

MDX Script

Posted on 2014-12-16
1
Medium Priority
?
99 Views
Last Modified: 2014-12-17
http://msdn.microsoft.com/en-us/library/ms145515.aspx

Refer to the article, can anyone explain more for the following points ? Tks

1. The MDX script take a layered approach to calculations within a cube through the use of calculation passes.

2. A SCOPE statement is dynamic, but not iterative in nature. The statements contained within a SCOPE statement run once, but the subcube itself can be dynamically determined.
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 2000 total points
ID: 40505645
1. This means that, conspectually, not everything is evaluated at once. In other words, the cube data is calculated first, and then things such as SCOPE can alter previous calculations. You will see that one of the example increases [Amount] by 10% - but what does it increase it from? It has to calculate an [Amount] first in the cube, before then increasing it by 10%.

There's more information in the link beneath the first paragraph of the link you shared.

2. Exactly what it says. The SCOPE statement only runs once - that means that it can't be iterative (so it can't say that its value is based on its value in a previous calculation of itself). However, the part of the cube that it alters does not need to be fixed - you can have a subcube which is not fixed, but is (say) the 10% of the cube by value, as opposed to saying that it alters the value of [Amount] for the countries of the UK, France, and Germany (which is a fixed list).

Hope that helps.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question