Do the custom rollup member formulas work recursively for parent child dimension?

Hi
We have custom rollup set up for Account dimension which is parent child.
It seems to work fine when the custom member formula refers to a base account member i.e. if the formula for MemberKey4 is (MemberKey1 + MemberKey2) then it shows the sum of the underlying members 1 and 2.
But if the formula for MemberKey10 is (MemberKey3 + MemberKey4) then it should evaluate the value for MemberKey4 first and then add to it value for MemberKey3 to come up with final number for MemberKey10.
Do the custom rollup work fine with the recursive calculations? Is this recursion limited to some level?
Thanks
Shailesh

Hi Jorg,
Thanks for your input.
Actually the hierarhcy is more determined by the parent child relationship. So we cannot move the members as per the formula. And further the formulas are not always additive, there are divisions and multiplactions happening also.
Further the calculated members (account members) are used in different places, the usage level of calculated members could be 3 in some cases i.e. MemberKey15 = (calculated using MemberKey10 = (calculated using MemberKey7 = (Calculated using MemberKey4 = (calculated using base members)))). Now inserting the base members in place of a calcuated member becomes more of string manipulation.
And on the top of above complexity, the formulas are not static and they are more user defined, they may change between time periods, which forces us to write a dynamic procedure to translate the 'business formula' into SSAS formula. We expect the custom rollup to work as expected (i.e. if the formula contains a calculation involving the calculated member, it should resolve that first and so on) and we have written generic procedure to replace the Account Code in the 'business formula' with the accont key value with the account hierarchy char string.
In the link http://doc.ddart.net/mssql/sql2000/html/olapdmad/agmdxadvanced_6jn7.htm for AS2000, it talks about the calculation pass deapth, it says:
.......If a cube has custom rollup formulas or custom rollup operators, a second calculation pass is performed to handle the computations needed to calculate these features.......
Now from the above, it is obvious that the OLAP engine will automatically go into recursion if the formula contains a cacluated member and it knows that the calculated member has to be resolved first before calculating the final formula result. The above article also talks about 'Calculation Pass Number' property in the AdvanceCube Editor (AS2000), which can be set to the value depending on the expected number of passes required in a given scenario. I don't find such an equivalent peoperty for SSAS 2005.
Would anybody please throw some more ideas / insights on this issue?
Jorg, thanks  again for your input...
Shailesh

Similar Messages

  • MDX: Selecting specific dimension member and its descendants from parent child dimension where dimension member names can be same in dimension hierarchy

    I'm creating a SSRS report using SSAS cube as a source.
    When creating a dataset for the report, I'm having trouble with MDX to select a specific dimension member and its descendants from parent child dimension where dimension member names can be same in dimension hierarchy.
    Lets say for example that I have an account dimension where,
    In level 02 I have company ID:s 101, 102, 103 and so on...
    In level 03 I have Balance sheet
    In level 04 I have some account groups, Assets, Liabilities and so on... and In level 05 I have individual accounts
    How can I select for example company 102:s Assets from level 04 and its descendants?
    Normally in adventure works I would do this if I've wanted Current Assets and its descendants:
    SELECT NON EMPTY { [Measures].[Amount] } ON COLUMNS, NON EMPTY
    { (DESCENDANTS([Account].[Accounts].[Account Level 03].[Current Assets]) ) } ON ROWS
    FROM [Adventure Works]
    But in my Account dimension at level 04 I have Assets member as many times as I have companies in level 02.
    Tuomo

    Hi Tuomo Helminen,
    To this requirement of yours, I would recommend you use Cascading Parameters in Reporting services, you can refer to this FAQ How do I create cascading parameters when using cube database in Reporting Services at this link
    http://blogs.msdn.com/b/sqlforum/archive/2011/04/11/forum-faq-how-do-i-create-cascading-parameters-when-using-cube-database-in-reporting-services.aspx 
    Thanks,
    Challen Fu
    TechNet
    Subscriber Supportinforum
    If you have any feedback on our support, please [email protected]
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • HT201406 IOS7 installed OK to my iPhone 4S and worked OK for a while but I have somehow managed to completely jam my iPhone 4s. The touch screen won't work except for up and down gestures (some of the time). I can't make or answer calls, I can't even powe

    IOS7 installed OK to my iPhone 4S and worked OK for a while but I have somehow managed to completely jam my iPhone 4s. The touch screen won't work except for up and down gestures (some of the time). I can't make or answer calls, I can't even power if off. I can't access the hardward ID which Apple support seems to require for Chat.
    It might have happened when I was accessing my camera bypassing the lock screen!
    All I know is that the thing is now useless and it looks like I will have to wait for the battery to run down to see if powering it back up afterwards will solve the problem.

    I have since discovered the "hold down home key and power button" together for a few seconds and this seems to have worked .... phew!

  • [svn:fx-trunk] 13089: doctor up the config files so rsls work properly for datavisualization

    Revision: 13089
    Revision: 13089
    Author:   [email protected]
    Date:     2009-12-17 16:54:43 -0800 (Thu, 17 Dec 2009)
    Log Message:
    doctor up the config files so rsls work properly for datavisualization
    QE notes: make sure rsls are functioning properly
    Doc notes: no
    Bugs: no
    Reviewer: nope
    Tests run:
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/air-config.xml
        flex/sdk/trunk/frameworks/flex-config.xml

    Revision: 13089
    Revision: 13089
    Author:   [email protected]
    Date:     2009-12-17 16:54:43 -0800 (Thu, 17 Dec 2009)
    Log Message:
    doctor up the config files so rsls work properly for datavisualization
    QE notes: make sure rsls are functioning properly
    Doc notes: no
    Bugs: no
    Reviewer: nope
    Tests run:
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/air-config.xml
        flex/sdk/trunk/frameworks/flex-config.xml

  • HT1695 Wi-Fi to your iPhone does not work with the knowledge that I have worked Restart for the same purpose network does not work What is the solution please help as soon as

    Wi-Fi to your iPhone does not work with the knowledge that I have worked Restart for the same purpose network does not work What is the solution please help as soon as

    Okay, the Wi-Fi doesn't work.  Turn it on.
    Beyond that, we cannot offer any other assistance as you've failed to provide useful details of the problem.
    When responding, post in your native language as your English makes very little sense.

  • How do I configure the custom external editor to work with Premiere Elements 13

    Situation
    I own Lightroom 5.6 and I'm experienced. I've just bought Premiere Elements 13 and I'm a video-editing virgin (be gentle with me). I've spent a day experimenting, reading, watching videos, I've tried asking my question in Premiere Elements forum, and I'm still stuck (i.e. I've tried reasonably hard to solve my own problem).
    Problem
    I've tried to set up the custom external editor in Lightroom 5 to send photos to Premiere Elements, so that I can incorporate images into movies. Having set it up, when I use it by selecting Photo/Edit In/Premiere Elements 13/, there is an exciting lull as a copy of the image is created and appears in LR, then Premiere Elements launches, then what??? There is no clue as to what has happened to the image regarding its import into Premiere Elements 13. It doesn't appear on the screen, it doesn't appear in the Organizer, it's no-where to be seen, other than in LR!
    Resolution sought
    Can anyone tell me:
    1. Is it possible to use Premiere Elements as an external editor in LR5 ?
    2. What are the precise settings for each field (I've played with the various field options but obviously haven't yet found the right combination)?
    3. If I configure it correctly, what does good look like: what should I expect to see happen in Premiere Elements when I squirt photos over from LR5 via the 'Edit In' option in LR5?
    I don't know if this is relevant: MacBook Pro 16GB 2.8Ghz i7, 750GB SSD (i.e. plenty of space, plenty of horsepower), OS X 10.9.5
    I'm hoping the answer isn't 'sorry, it can't be done' because if it is possible, it would be a real contribution to my video editing workflow.
    Thanks
    Phil

    You don't have to buy an Apple keyboard, but you probably need at least to buy a keyboard that connects via proper USB instead of through some Windoze-world adapter, which probably requires a driver that's not available for the Mac OS.
    The Apple Bluetooth KB and Magic Trackpad make a fabulous combination for use with any MacBook Pro that spends a lot of time in clamshell mode, because the trackpad works exactly like the built-in trackpad. So there's no transition adjustment to make when you pack up your MBP and go portable with it.

  • HELP!!  I am having BIG PROBLEMS getting the Custom Page Sizes to work!!

    I am having a MAJOR challenge working with the Custom Page Size feature in Pages '09. My mom is working on a primer music book for publication, where the page size (for the printer) MUST BE 9" X 12"!! For some reason even though I have set the custom page size to 9" x 12", The document does not appear to have the proper proportions, (i.e. the ration of the width to height IS NOT EQUAL TO THAT OF A 9" X 12" DOCUMENT!!)
    HELP!! PLEASE!!
    Also, for some reason my Vertical Ruler has COMPLETELY DISAPPEARED!! My Horizontal Ruler (on top) is still there but there is no sign of the vertical one which is CRITICAL for aligning the of the content for publication!!
    I took an annotated screenshot of what the document that is +*SUPPOSEDLY 9" x 12".*+ But there is +*NO WAY THAT IT IS ACTUALLY 9"12!!*+
    I have also taken some screenshots of a few other Inspector Panels and other things that might help SOMEBODY to figure out what the problem is!
    _Link Title_ _Flickr Link_
    Front Cover Mock-Up http://www.flickr.com/photos/kmamusic/4085015686/
    Metrics Inspector Panel http://www.flickr.com/photos/kmamusic/4084236829/
    Layout Inspector Panel http://www.flickr.com/photos/kmamusic/4084235497/
    Page Setup Dialog Box http://www.flickr.com/photos/kmamusic/4084990178/
    Document Inspector Panel http://www.flickr.com/photos/kmamusic/4084231449/
    Annotated 9” x 12” Doc. http://www.flickr.com/photos/kmamusic/4084092849/
    I do hope that somebody can answer WHY I am having these problems

    Hi kmamusic
    Welcome to the forum.
    To show your vertical ruler:
    +Menu > Pages > Preferences > Rulers > check Enable vertical ruler in word processing documents+
    You are right the page does look slightly too high.
    The one thing you did not give us was a screen snap of the *Custom Page* you set up in *Page Setup…*
    This is what would dictate the actual page size.
    Peter

  • Add a dropdown field to the task view that determines work hours for that task.

    I'm very new to MSProject.  I'm entering project data for the design, review, implementation, testing and acceptance of many subroutines.  The subroutines can be categorized into an enumeration of types. 1 - direct sub , easy, 2 - direct sub,
    average, 3 - direct sub complex, 4 - supervisory sub easy, 5 - supervisory sub average, 6 subervisory sub complex.
    I would like to create a dropdown field that once the category has been selected, the work hours are locked.  For Example if I have 50 "direct sub, easy", I want to be able to change the work hours assocated with "direct sub, easy"
    in only one place and have all "50 direct sub, easy" tasks automatically use the new work hours.
    Is there a way to do this in MSProject?

    Denis,
    Okay, let's revisit the approach. If you have six defined categories and you want to select from one of those categories for each task, then you need to create a custom field with a lookup table. Let's use the Text1 field.
    1. First add the Text1 field as a column in the view, I assume you're using the Gantt Chart view
    2. Select the heading of that column and go to: Project/Properties group/Custom Fields
    3. That will open the Custom Fields window with Text1 already pre-selected. Hit the "Lookup" button
    4. In the Edit Lookup Table window, enter each of your 6 categories. You can give each a number with a description (e.g. 1 - direct sub, easy), or just put the description in the Value field (e.g. direct sub, easy) with nothing in the description.
    5. Hit close
    Now when you select the Text1 field for any task, the lookup list will appear allowing you to chose of the the entries. Now you can create a filter as I suggested before and go through the process of setting the work value for all like category tasks.
    Hope this helps.
    John

  • Calling a delegate on the UI thread from a work thread inside a child class.

    Hi All,
    I've run into a snag developing a WPF multithreaded app where I need to call a method on the UI thread from my work thread, where the work thread is running a different class.
    Currently I am trying to use a delegate and an event in the 2nd class to call a method in the 1st class on the UI thread. This so far is not working as because the 2nd class is running in its own thread, it causes a runtime error when attempting to call
    the event.
    I've seen lots of solutions referring to using the dispatcher to solve this by invoking the code, however my work thread is running a different class than my UI thread, so it seems the dispatcher is not available?
    Below is as simplified an example as I can make of what I am trying to achieve. Currently the below code results in a "The calling thread cannot access this object because a different thread owns it." exception at runtime.
    The XAML side of this just produces a button connected to startThread2_Click() and a label which is then intended to be updated by the 2nd thread calling the updateLabelThreaded() function in the first thread when the button is clicked.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Data;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Imaging;
    using System.Windows.Navigation;
    using System.Windows.Shapes;
    using System.Windows.Threading;
    using System.Threading;
    namespace multithreadtest
    public delegate void runInParent();
    public partial class MainWindow : Window
    public MainWindow()
    InitializeComponent();
    threadUpdateLabel.Content = "Thread 1";
    private void startThread2_Click(object sender, RoutedEventArgs e)
    thread2Class _Thread2 = new thread2Class();
    _Thread2.runInParentEvent += new runInParent(updateLabelThreaded);
    Thread thread = new Thread(new ThreadStart(_Thread2.threadedTestFunction));
    thread.Start();
    public void updateLabelThreaded()
    threadUpdateLabel.Content = "Thread 2 called me!";
    public class thread2Class
    public event runInParent runInParentEvent;
    public void threadedTestFunction()
    if (runInParentEvent != null)
    runInParentEvent();
    I'm unfortunately not very experienced with c# so I may well be going the complete wrong way about what I'm trying to do. In the larger application I am writing, fundamentally I just need to be able to call a codeblock in the UI thread when I'm in a different
    class on another thread (I am updating many different items on the UI thread when the work thread has performed certain steps, so ideally I want to keep as much UI code as possible out of the work thread. The work threads logic is also rather complicated as
    I am working with both a webAPI and a MySQL server, so keeping it all in its own class would be ideal)
    If a more thorough explanation of what I am trying to achieve would help please let me know.
    Any help with either solving the above problem, or suggestions for alternative ways I could get the class in the UI thread to do something when prompted by the 2nd class in the 2nd thread would be appreciated.
    Thanks :)

    If I follow the explanation, I think you can use MVVM Light messenger.
    You can install it using NuGet.
    Search on mvvm light libraries only.
    You right click solution in solution explorer and choose manage nugget...
    So long as you're not accessing ui stuff on these other threads.
    using GalaSoft.MvvmLight.Messaging;
    namespace wpf_Tester
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    public MainWindow()
    InitializeComponent();
    Messenger.Default.Register<String>(this, (action) => ReceiveString(action));
    private void ReceiveString(string msg)
    MessageBox.Show(msg);
    Dispatcher.BeginInvoke((Action)delegate()
    tb.Text = msg;
    private void Button_Click(object sender, RoutedEventArgs e)
    Task.Factory.StartNew(() => {
    Messenger.Default.Send<String>("Hello World");
    What the above does is start up a new thread - that startnew does that.
    It sends of message of type string which the main window has subscribed to....it gets that and puts up a message box.
    The message is sent from the window to the window in that but this will work across any classes in a solution.
    Note that the receive acts on whichever thread the message is sent from.
    I would usually be altering properties of a viewmodel with such code which have no thread affinity.
    If you're then going to directly access properties of ui elements then you need to use Dispatcher.BeginInvoke to get back to the UI thread.
    I do that with an anonymous action in that bit of code but you can call a method or whatever instead if your logic is more complicated or you need it to be re-usable.
    http://social.technet.microsoft.com/wiki/contents/articles/26070.aspx
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Need to view the customer whose bill amount is constant for three month

    Suppose user will give the month and year (ex: march-2011) then result will show all the customer whose bill amount is same in March,Feb and Jan-2011 and the result will be shown in three lines.
    For these I need to create one view and the corresponding query. Whose combined output should be----
    Cust_id Base_month Bill_amount
    1 Mar-2011 500
    1 Feb-2011 500
    1 Jan-2011 500
    9 Mar-2011 800
    9 Feb-2011 800
    9 Jan-2011 800
    Can anyone help me?

    912751 wrote:
    Suppose user will give the month and year (ex: march-2011) then result will show all the customer whose bill amount is same in March,Feb and Jan-2011 and the result will be shown in three lines.
    For these I need to create one view and the corresponding query. Whose combined output should be----
    Cust_id Base_month Bill_amount
    1 Mar-2011 500
    1 Feb-2011 500
    1 Jan-2011 500
    9 Mar-2011 800
    9 Feb-2011 800
    9 Jan-2011 800
    Can anyone help me?Sorry for my given link at SQL Developer Forum. There was mistake in the link. Here is the correct Link...PL/SQL
    Hope this will help you

  • Modifying the custom tables TBZ* generated by EEWB for BUPA?? Advisable?

    Hi,
    We have added new fields in BUPA using EEWB. The new fields are automatically added in the new section created on screen. Now our requirement is to move these fields to one of the existing sections and delete the new section. Is it advisable?
    I assume that in the EEWB extension wizard, we do not have any option of generating the new fields in existing custom sections. Please correct me if I am wrong.
    As per our current plan, To accomplish this change we are planning to modify the tables TBZ3H, TBZ3I, TBZ3C and TBZ3D for the view--> section --> screen mapping. Will that be enough or some more changes will be required?
    Also, a new BDT application is created for the new section and there are corresponding entries in TBZ0A, TBZ0B, TBZ0C and TBZ1F. Now we are not sure that if we modify/delete these entries, how the system would behave. Any pointers are welcome!!
    Specially for TBZ1F entries, should the new events function modules created for the new application be assigned to the already existing application.
    Please advise.

    http://scn.sap.com/people/rakesh.chugh/blog/2009/12/28/deletion-of-eewb-extensionproject-in-sap-crm-for-bupa
    Just in case you are looking for this info

  • I cannot use face time on 3G my provider is BT is this the problem  wire less is working fine for face time

    I cannot use face time on 3G my provider is BT is this the problem on wireless it works fine
    Regards Malcolm

    Your carrier must support using FaceTime when connected to their cellular network.

  • I can open all of my docs in Pages except for the last one I was working on for some reason. Does anyone know what might be the problem?

    I can open all my docs in Pages except the last one I was working on. Does anyone know what might be the problem?

    The document might be corrupt. If you worked on this particular document at all in the iWorks in iCloud.com beta, that may have caused a problem. If you don't know what I'm talking about, you can rule that out as a possibility.
    In any event, you could try opening the documents in iCloud.com using your computer, and see if you can download it to the computer, edit it there and then upload it again.

  • What does the warning CS6 has stopped working mean for Elements 12?

    What does the warning CS6 has stopped working mean with ElemenT 12?

    Please read this (in particular the section titled "Supply pertinent information for quicker answers"):
    http://forums.adobe.com/docs/DOC-2325
    If you are talking about Photoshop Elements please post over at
    http://forums.adobe.com/community/photoshop_elements

  • Work Order and parent/child relationship

    I have been looking into the vision instance. There is an Asset-Rebuildable relationship, that is Forklif and it's battery. If there is a work order on the forklik "replace battery" can this be done automatically, or is this all manual.
    1. When I pick the new battery from stores the S/N of the battery is associated with the forklif (automatic I tested this)
    2. When I say "remove the old battery" should't the old battery parent/child relationship between the parent be broken and a child work order "charge" for the battery be logged. I could not reproduce that, but queried that this is what happens in vision. Are all these supposed to be manual?
    Regards

    From this plan, we can't easily get the parent child relationship like autotrace. Is there a way to get like autotrace?
    SELECT * FROM table(DBMS_XPLAN.DISPLAY);
    Plan hash value: 3693697345
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | TQ |INOUT |PQ Distrib |
    | 0 | SELECT STATEMENT | | 1 | 117 | 6 (50) | 00:00:01 | | | |
    | 1 | PX COORDINATOR | | | | | | | | |
    | 2 | PX SEND QC (ORDER) |:TQ10003 | 1 | 117 | 6 (50) | 00:00:01 | Q1,03 | P->S | QC (ORDER) |
    | 3 | SORT ORDER BY | | 1 | 117 | 6 (50) | 00:00:01 | Q1,03 | PCWP | |
    | 4 | PX RECEIVE | | 1 | 117 | 5 (40) | 00:00:01 | Q1,03 | PCWP | |
    | 5 | PX SEND RANGE |:TQ10002 | 1 | 117 | 5 (40) | 00:00:01 | Q1,02 | P->P | RANGE |
    |* 6 | HASH JOIN | | 1 | 117 | 5 (40) | 00:00:01 | Q1,02 | PCWP | |
    | 7 | PX RECEIVE | | 1 | 87 | 2 (50) | 00:00:01 | Q1,02 | PCWP | |
    | 8 | PX SEND HASH |:TQ10001 | 1 | 87 | 2 (50) | 00:00:01 | Q1,01 | P->P | HASH |
    | 9 | PX BLOCK ITERATOR | | 1 | 87 | 2 (50) | 00:00:01 | Q1,01 | PCWC | |
    |* 10| TABLE ACCESS FULL | EMP | 1 | 87 | 2 (50) | 00:00:01 | Q1,01 | PCWP | |
    | 11 | BUFFER SORT | | | | | | Q1,02 | PCWC | |
    | 12 | PX RECEIVE | | 4 | 120 | 3 (34) | 00:00:01 | Q1,02 | PCWP | |
    | 13 | PX SEND HASH |:TQ10000 | 4 | 120 | 3 (34) | 00:00:01 | | S->P | HASH |
    | 14 | TABLE ACCESS FULL | DEPT | 4 | 120 | 3 (34) | 00:00:01 | | | |
    Predicate Information (identified by operation id):
    6 - access("E"."DEPTNO"="D"."DEPTNO")
    10 - filter("E"."ENAME"='hermann')
    ---------------------------------------------------

Maybe you are looking for