Solved

MDX Script

Posted on 2014-12-16
1
88 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
1 Comment
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sql Audit table 3 48
find all columns in a database with name like... 4 31
Problem with SqlConnection 5 121
STDEVP in SQL 2 38
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now