Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MDX Script

Posted on 2014-12-16
1
Medium Priority
?
104 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

610 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