Aggregation of a member of ASO with the formula of the IIR

Hello

I have a cube ASO has six dimensions. Based on the requirement, I need to have a calculated member (MBR1_CL) by taking the data from two members of entry (MBR2_IN & MBR1_IN) from specific intersections.

I have written a formula of ASO member to the dimension of accounts MBR1_CL using IIR member below:

IIF (IsAncestor ([West], [entity]. CurrentMember) AND IsAncestor ([ProdLine1], [Product]. CurrentMember) AND is ([years]. CurrentMember, & CYear) AND

(Is ([period]. CurrentMember, [Jan]) OR ([period]. CurrentMember, [February]) OR ([period]. CurrentMember, [Mar])) AND

IsAncestor ([CustCat1], [customer]. CurrentMember), [accounts]. [MBR2_IN]. Value, [accounts]. [MBR1_IN]. Value)

The formula checks and working at level 0, but my request is related to the aggregation of month in the quarterfinals. MBR1_IN members & MBR2_IN gave responsible for all months, i.e. from Jan to Dec and when it is retrieved to Qtr levels it shows correct aggregated data, however for Member MBR1_CL which data takes the MBR2_IN for Jan, Feb, Mar months it does not show the correct aggregation in Qtr1 shows rather value of Member MBR1_IN in Qtr1. I set value of order of resolution as '2' for MBR1_CL, 3 'for Qtr1 and all other members being default ' 0'. Could you please help and suggest a solution to have correct data aggregated to all levels for Member MBR1_CL.

Thank you

AK

Hi, AK,

It's also what you say Essbase to do...

(Is ([period]. CurrentMember, [Jan]) OR ([period]. CurrentMember, [February]) OR ([period]. CurrentMember, [Mar]))

You don't say what it should do to T1. I just need the, [accounts]. [MBR1_IN]. Value

Why should he aggregate the months?

You will need to add all the logic of aggregation to the MDX. Yes, it will be a long script.

It is perhaps easier to load the data into the appropriate location.

Kind regards

Philip Hulsebosch

Tags: Business Intelligence

Similar Questions

  • Formula Member Essbase ASO (the order of resolution)

    Hello everyone,

    I was hoping to get some opinions on how they would handle a calc question I have.  I built a cube ASO (my first) for the loan on the housing data. A few fields I'm loading are a "Eff Int rate" and "Rate Eff Trans" (below) which are then used to calculate the 'interests Inc. or Exp' and 'transfer Inc. or Exp.

    Interest Inc or Exp =.

    CASE

    When IS ([account]. CurrentMember, [loan account]) THEN 0

    ON THE OTHER

    (([Avg Bal Mth] * ([taux d'Int Eff] / 100)) / [days per year]) * [days]

    END

    Transfer Inc. or Exp =.

    CASE

    When IS ([account]. CurrentMember, [loan account]) THEN 0

    ON THE OTHER

    (([Avg Bal Mth] * ([taux de Trans Eff] / 100)) / [days per year]) * [days]

    END

    Capture.JPG

    The challenge I'll have and don't know how to manage in essbase is in what regards running sums.  I have a dimension labeled "Loan account" with about 15,000 members of individual accounts. For all the accounts of members, it works fine however when it gets to the cumulative of the 'loan account' it calculates incorrectly because of the aggregation.  To test, I tried isolating the different ways to make this work with my current solution (as seen in the above Calc) is to reset just the update rollup for now.  However, the ultimate goal would be to have this dimension of 'Loan account' always aggregate the information accurately.  Here's an example to help explain in more detail:

    Capture.JPG

    For example, if I were to use the size of the attribute "Loan officer" and then drill at the low level of the 'loan account' it would recover 4 accounts and then those subtotal as stated above.

    I hope someone is able to give me some ideas or outline.  If this isn't the case, I can just try to accomplish in SQL before load my data.

    Thank you in advance,

    Bret

    Bret, I think what you see is a fundamental limitation of ASO.  Stored hierarchies are ALWAYS grouped together in front of a member formulas.  The only real workaround in Essbase is to use a procedural calc of the ASO - this would actually save results to the cube as input data that can then be wound the stored size.

  • BSO to the conversion of the ASO - helps the formula of Member

    We have a BSO cube and it is converted to ASO. The account dimension has the attribute SOLDETEMPS properties, and therefore the time dimension cannot assign to either dynamic or multiple hierarchies because of which I'm not able to define formulas for Member in the time dimension to ASO, this requires the dimension to be either dynamic or more hierarchies to have member formulas. MDX scripts is the way to go I'm not very familiar with the scripts, MDX and its use. Please advise and also I would like to know if there is another way to solve this problem.

    do not use the properties of balance.

    You will need to take the time to be dynamic, created shared hierarchy similar to

    FOR A YEAR
    Jan shared
    Feb shared
    ......

    Then mark up your TB accounts with udas as TBFirst, TBLast, TBAverage.

    You have two options where you can join the MDX formula of time CDA/QTD or attach the MDX formulas to members of the account saying IIF YTD then make first/last/moy.

    You can choose between the two, if you have less number of accounts of TB, so I would say that set the formula to members as well as other members can obtain the value of CDA Member rolls.

    Concerning

    Celvin

    http://www.orahyplabs.com

    Please check the answers as useful/correct as appropriate

  • Router Cisco Small business with the functionality of the link aggregation

    Hi all!

    can someone tell me if there is a router from Cisco Small business with the functionality of the link aggregation? (I want to connect two 4 Mbps SDSL for flow)  The RV082 can do?

    Best regards

    You would need a RV016, who takes in charge up to 7 WAN ports. RV082 has only two WAN ports.

  • OQL + Member distributed with the REPLICATE_PROXY regions

    Hello

    We have defined two caches. That contains the data and SAID regions and another that acts as a gateway with the REPLICATE_PROXY regions.

    The problem now comes with the client (used applications) linking well Locator. Sometimes the request goes to the bridge (with the REPLICATED_PROXY regions) memebr and receive all the data of the Member. Of course because he has no data and is the only PROXY. However according to documentations should work:

    REPLICATE_PROXY
    A REPLICATE_PROXY has no local State and transmits all operations to an ADAPTATION or a REPLICATE_PERSISTENT who are his peers.

    But not like all operations covers the OQL as well. Select * FROM /MYREGION.

    (a) what is the expected behavior or a bug?

    (b) how can we prevent a customer form does not connect to this specific Member? cache-server-port does not work as it is just a work around and we have paritioned area mixed with replicated regions, so do not specify a port?

    (c) also set level is-server cache = "false" doesn't work? What is the use of this tag. The default value is 'false' anyway.

    This looks like a bug, based at least on what documentation and of the observed behavior.

    Because you don't want this node to a cache server, is that you want not clients can connect to it, you can start this node without the server component that listens for client connections. If you use the cacheserver script to start your cache nodes, you can set the parameter - disable-server-default to achieve. If you have GemFire 7.0 and use gfsh to start your nodes, 'start server' command has the same setting.

  • How to compare a Date with the current year data and member of period on FIX

    Hi experts,

    I have a Sun project that each Member is a project (P01, P02,...)
    and account IMGs who stores the information of each project (name, Start date, finished...)
    Finished Date member is of data type Date

    So how can write an IF condition below in order to be able to compare the end Date of the project with the members of the current year and period on FIX
    DIFFICULTY (@Descendants (Projects), Descendants (year-round), Descendants ("year Total")...)
    IF (@CURRMBR (Period)-> @CURRMBR (Year) < Project > - FinishedDate)
    Do something...
    On the other
    Do something


    Please help me on this. Sorry for my bad grammar. Please ask if there is something not clear

    Thank you very much
    Van Huy.

    Published by: Van Huy on 29 January 2013 01:14

    Published by: Van Huy on 29 January 2013 02:24

    Published by: Van Huy on 29 January 2013 02:25

    Published by: Van Huy on 29 January 2013 18:04

    Here's what I did. Post for which may later cover

    VAR FM; / * End of month of the project.
    VAR EXERCISE; / * Year of the project terminated * /.
    VAR CM; / * Capture the current month on FIX declarations * /.
    VAR CY; / * Capture current year on FIX declarations * /.

    DIFFICULTY (@RELATIVE ('year', 0), @RELATIVE ('period', 0), @IDescendants ("core projects")...)

    FY = @ROUND ('TGHT'-> ' NA contract "-> 'FY06'-> ' NA period" / 10000, 0);
    FM = @MOD (@ROUND ('TGHT'-> ' NA contract "-> 'FY06'-> ' NA period" / 100, 0), 100);
    / * For FY13 back 13... */
    CY = @JgetDoubleFromString (@CONCATENATE ('20', @SUBSTRING (@NAME (@CURRMBRRANGE (year, Lev, 0, 0, 0)), 2)));
    / * Value CM set based on perceived period on the DIFFICULTY of statement * /.
    IF (@ISMBR ("Jan"))
    CM = 1;
    ELSE IF (@ISMBR ("February"))
    CM = 2;
    .....
    ELSE IF (@ISMBR ("Dec"))
    CM = 12;
    ENDIF

    IF (CY< fy="" or="" (="" cy="=" fy="" and="" cm=""><>
    Do something...
    ON THE OTHER
    Do something...
    ENDIF
    ENDFIX

    Published by: Van Huy on 19 February 2013 23:10

    Published by: Van Huy on February 20, 2013 19:46

  • Need help with the query using the aggregation

    If I have a table, defined as follows:

    CREATE TABLE range_test
    (
    range_id NUMBER (20) NOT NULL,
    rank of char (1) NOT NULL,
    lower_bound_of_range NUMBER (5.2) NOT NULL,
    upper_bound_of_range NUMBER (5.2) NOT NULL,
    received_date_time_stamp SYSTIMESTAMP NOT NULL DEFAULT TIMESTAMP
    );

    And I wanted to query the table to find the range associated with the last line inserted for each 'class' (for example 'A', 'B', 'C', etc.), how would I go about this?

    I want something like the following, but I know that it will not work right:

    SELECT
    grade,
    lower_bounding_of_range,
    upper_bounding_of_range,
    Max (received_date_time_stamp)
    Of
    range_test GROUP BY received_date_time_stamp;

    Thanks for your help... I am frustrated with this one and I think that it should be possible without having to use the PL/SQL (i.e. the functions of SQL aggregation or subqueries should work).

    Perhaps something along the lines of...

    SQL> ed
    Wrote file afiedt.buf
    
      1  select deptno, empno, ename, hiredate
      2  from emp
      3* order by deptno, empno
    SQL> /
    
        DEPTNO      EMPNO ENAME      HIREDATE
    ---------- ---------- ---------- --------------------
            10       7782 CLARK      09-JUN-1981 00:00:00
            10       7839 KING       17-NOV-1981 00:00:00
            10       7934 MILLER     23-JAN-1982 00:00:00
            20       7369 SMITH      17-DEC-1980 00:00:00
            20       7566 JONES      02-APR-1981 00:00:00
            20       7788 SCOTT      19-APR-1987 00:00:00
            20       7876 ADAMS      23-MAY-1987 00:00:00
            20       7902 FORD       03-DEC-1981 00:00:00
            30       7499 ALLEN      20-FEB-1981 00:00:00
            30       7521 WARD       22-FEB-1981 00:00:00
            30       7654 MARTIN     28-SEP-1981 00:00:00
            30       7698 BLAKE      01-MAY-1981 00:00:00
            30       7844 TURNER     08-SEP-1981 00:00:00
            30       7900 JAMES      03-DEC-1981 00:00:00
    
    14 rows selected.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  select deptno, empno, ename, hiredate
      2  from (
      3        select deptno, empno, ename, hiredate
      4              ,row_number() over (partition by deptno order by hiredate desc) as rn
      5        from emp
      6       )
      7  where rn = 1
      8* order by deptno, empno
    SQL> /
    
        DEPTNO      EMPNO ENAME      HIREDATE
    ---------- ---------- ---------- --------------------
            10       7934 MILLER     23-JAN-1982 00:00:00
            20       7876 ADAMS      23-MAY-1987 00:00:00
            30       7900 JAMES      03-DEC-1981 00:00:00
    
    SQL>
    
  • Member of ASO Cube formula

    Hi all

    Work on Cube ASO (Version Hyperion 11.1.2). I am in need of suggestions with my formula of Member

    My Look of main lines as:--

    Account
    -Profit
    -Sales
    -GABLES

    CChannel
    -A001
    -A001-201
    -A002
    -A002-202

    Time
    -2010
    -QTR1
    -------------Jan
    -------------Feb
    -------------Mar



    Versions
    -Latest Version
    -V-003
    -V-002
    -V-001

    Now want to see my business is the current Version i.e.

    Let's say that

    Sales
    V-003 A001-201 100 Jan
    V - 002 Jan A001-201 #Missing
    A001-201 V-001 Jan 2000
    Current version A001-201 100 Jan

    V-003 here's my last and current V Version.If - 003 is missing, then v-001 will be my current version (IE Version = 2000)

    I wrote a current Version member member formula and the formula is


    * CoalesceEmpty([Current Version].) FirstChild.Lead (0), CoalesceEmpty ([Version]. FirstChild.Lead (1), [Version]. FirstChild.Lead (2))) *.

    Which works very well.

    Now, I came to know that the dimension Version 1000 members of level 0. The formula worked very well, but for 1000 members I must use the CoalesceEmpty function 1000

    That I don't want to do.

    Please
    Could someone help me with the code.


    Thank you in advance

    Kind regards
    RSG

    Published by: SG on January 26, 2011 11:12

    Published by: SG on January 26, 2011 11:15

    Published by: SG on January 26, 2011 11:15

    Published by: SG on January 26, 2011 11:25

    You can use 'NonEmptySubset' to the kids back just not empty, then use 'Head' to return the first of this set. In a quick test cube, it works:

    Sum (Head (NonEmptySubset (Children ([CurrentVersion])))

    Not quite clear why this "sum" is necessary, given that the 'head' without optional parameter must return only a member.

    This maintains the simple formula and requires no updates when schema changes, but the performance could be a problem because it will check all the children for the non-missing values fill the NonEmptySubset. May be a more elegant solution out there.

    Also to note that I am assuming that "NonEmptySubset (Children([CurrentVersion]))" always returns the subset in the pecking order - if this isn't, it won't work!

  • Music Apple 1 year for $99 with the gift card

    I was a member since they started now give a discount if you purchase a gift card and register. I want the same discount, I'd gladly pay a year in advance for a similar discount. Who's coming for members? Come on give Apple your loyal customers the same option without having to cancel and sign up again with the card. I want an initial discount of one year! Oh and I also pay family plan be sure to include this plan.

    Apple is not read here.

    Submit your Apple requesting such a thing here:

    http://www.Apple.com/feedback

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • With the help of the family sharing or itunes game

    I have iTunes game and sharing of family. Everything seems to work with the iTunes game for my equipment. My question is how do I set up my wife's iPhone to access our iTunes music game? My wife is my; Member of the family there.

    Is your iTunes glad owen Match you want to share? Maybe that's a problem: What are the types of content can I share with sharing family?-Apple Support

    What you can't share

    • Songs added to iTunes game who have not bought on the iTunes Store.
  • TOSHIBA Power Saver does not work with the limited user account

    Hello
    This same question has been posted in 2006 - not by me - with no successful response. I try again.
    If you create a user with the account of restrictions (member of the local USERS group) under XP, it cannot manage or power options Windows embedded and the Toshiba Power Saving tool.
    I managed, working on the file and registry permissions, to have power options Windows works. But I can not yet launch the Toshiba Power Saving tool, it always skip - rises the box 'you have no rights. "

    Is there really anything I can do to work around this problem?

    Thank you

    Yes:

    Log in as administrator
    Run the Toshiba Power Saver
    Go to "configuration Options".
    Check "Allow Limited user to change settings"

  • What are the causes of error - OR-XNET: the NOR-XNET driver is no longer can communicate with the device.

    Hello

    I use X-NET-PCI8512, OS: Windows 7, C++ (middle of the QT interval).

    I'm pooling of card data (StreamIn member function) to ~ 100 Hz. card reading time (ReadStatus) to ~ 100 Hz.

    After about 40 min (depends on the amount of data in) I get this error:

    (Hex 0xBFF630B2) The NOR-XNET driver cannot communicate with the device. Solution: Make sure that the device was not removed from the computer.

    What are the causes of this error?

    Thanks in advance,

    Aviad

    Hello aviadCielo,

    When you get this error, what does do to make it work again? If you restart your program, start all this work?

    Secondly, what version of NOR-XNET do you use? It's maybe a software problem that could be resolved by upgrading to NOR-XNET 1.6.

    Finally, can you reproduce this problem with a simple program? If so, you can join the program you use?

  • a bug with the structure that contains bit fields?

    using CVI 8.5. I tried to set up a structure that contains bit fields. Although the structure compiles, I encounter strange behavior when you access individual fields, while the value of the overall structure seems ok. Here is the structure:

    typedef struct
    {
    Union
    {
    struct
    {
    unsigned int Flag1: 1;
    unsigned int dummy: 3;
    unsigned int Flag2: 4;
    unsigned int Indicateur3: 4;
    unsigned int dummy2: 4;
    };
    unsigned short;
    } flags;
    } flagset;

    When you set the Member 'all' to a value so that one or more indicators, but not all, are false, I still read the individual like real flags, until all flags are set to false.

    I missed something? This definition is really legal?

    Please find attached a file showing the problem.

    The same issue is at stake with or without the ternary operator. It turns out the problem was not specifically with printf, but rather a bug in the compiler that is related to the evaluation of the members of anonymous internal structures. If several internal anonymous struct members are evaluated before the compiler actually do anything with the result - which is the case when passing arguments to a function-, so they will all be evaluates the value that was evaluated last.

    A. Mert

    National Instruments

  • Computer infected with the virus. USB drives no longer appear in Windows Explorer.

    Original title: attack viruses, help...

    My friend has a computer that is running windows XP. She asked for help on what to do when several virus has infected his computer.

    I tried my best, but the virus has turned off. The Task Manager, msconfig are impossible to perform. the computer had a virus which is the reason why it continues to be infected. The last scan I made from a usb key which has been infected to leave the computer has revealed five different viruses and worms, each of them spread through usb drives. It's the worst case of infection, I had ever seen.  I tried to scan with the scanner but it did not work. The computer crashed, and when I turned it on things have become much worse. USB drives no longer appear in the Explorer, the computer reads no more and the old xp theme has disappeared, his running today on classic. Help me please.

    Please follow the steps below:

    On a friend or a member of the family computer, download the files installation and update Malwarebytes from the links below, copy them to a CD or a flash drive, then transfer the files on the problem machine and use them. If you cannot start the computer in 'normal' windows, try to install, update and running AFTER the computer scans are started in Mode safe... I use the sites below to download the installation file and the manual update:

    Once downloaded and before moving the machine to the problem, rename the Setup file "mbam - setup.exe" to something like "Gogetum.exe", and then copy the installation file and the update on a CD or a flash drive file... Transfer the file to the problem machine, install the "Gogetum.exe" file, and then run the update for the current program... After that, run a full system scan and delete everything it finds.

    Install Malwarebytes-download link (by clicking the links below will immediately start the download dialog window.)

    http://www.Malwarebytes.org/products/malwarebytes_free>

    Then download the SuperAntispyware program and the manual update of the links below. After you run the Malwarebytes tool that above, if you still cannot download and install directly from the problem machine, download it to a friend or a family member computer as well. After installation and update SuperAntispyware, run a full system scan and delete everything it finds as well. As before, you may need to rename the Setup file for the Setup program. :

    SuperAntispyware

    http://SUPERAntiSpyware.com/superantispywarefreevspro.html>

    Update of the manual of SuperAntispyware

    http://www.SUPERAntiSpyware.com/definitions.html >

    ____________

    Power Eraser

    http://security.Symantec.com/nbrt/NPE.aspx?lcid=1033>

    Stinger

    http://www.McAfee.com/us/downloads/free-tools/how-to-use-Stinger.aspx>

    UTC/GMT is 05:20 Monday, April 2, 2012

Maybe you are looking for

  • [Feature Request] "Duplicate tab" in the drop-down tab

    I know now that you can duplicate a tab control-click or middle-mouse-button the button reload, or by dragging the control from the tab above. But what would have been more intuitive, it is if there was an option to do this in the drop down tab. I'm

  • Drive DVD M305D-S4830 satellite disappears

    I just bought M305D-S4830 during the visit to the United States, 3 days ago, but for some reason, the DVD drive disappears. No error message does not appear, according to the system event viewer is "disconnected". The drive light flashes, but it cann

  • Lost 2 USB ports on Satellite M series

    2 USB ports on the back of the laptop to refuse to work, I tried various devices, but they are not counted. I ran the recovery disc and the problem is still present. I ran Acronis to return the machine as it was before, but I have only the USB port o

  • dv7t-6100cto: which improved processors will work in this notebook

    I'm getting a new computer in the near future or upgrade the one I have. I don't know which processor upgrade path has this computer. Here are the specs: Chipset HM65, taken G2 (rPGA988B), 165 m, I7-2720QM card mother HP. On the Intel websitethere ar

  • Costco Motorola Xoom

    I bought a Xoom at Costco and it is not a model for Verizon. Can I get the upgrade of the LTE 4 G when it comes out? Thank you