Solved

MDX Script

Posted on 2014-12-16
1
94 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 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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

     When we have to pass multiple rows of data to SQL Server, the developers either have to send one row at a time or come up with other workarounds to meet requirements like using XML to pass data, which is complex and tedious to use. There is a …
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 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