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!

Tags: Business Intelligence

Similar Questions

  • Member to the ASO cube formula

    Hi all
    I'm trying to calculate the month member when a cube of ASO.
    This formula applies; ([CDA], [and CurrMonth])-([CDA], [et PrevMonth]) but this means that the substitution variables must be defined each month. Is there a better way to make this more dynamic formula? Maybe using the CurrentMember in the formula?

    Hello

    Yes, use CDA, CurrentMember - CDA, CurrentMember.Lag (1)

    Or & CurrMonth .lag (1) for a YEAR, & CurrMonth - CDA, depending on what you want to calculate exactly.

    Used on the period dimension, Lag (1) will return the previous month.

    Thank you
    JM

    Edited by: J.M. on January 7, 2013 12:04 AM

  • Work problem on the Member in the ASO cube formulas

    Hello

    I was asked to convert a planning cubic request in a single cube ASO BSO. I managed to convert a BSO Cube ASO through the Regional service console and added members in another cube throgh rulesfile OSB.

    Now, I must write formulas for Level0 member account dimension members. These are very simple as formulas

    If (@ISMBR ("New_Seats"))
    'Value '=' active Total Cost assets';
    on the other
    'Value '=' Asset_Value assets ';
    endif;

    and


    'Empty_Seats '= (("New Seat Additions"+"Available_Seats") -"Required_Seats");


    This is the first time that I'm working on ASO. I get this error when writing these formulas
    "Syntax Error error (1260052) in an mdx query to enter on line 1 to token '=' Empty_Seats... '. »

    Help me to write these formulas and also in the choice of appropriate member properties.

    Try something like

    CASE
    When IS ([%{dimname/}]. CurrentMember, [New_Seats]) THEN [assets Total cost]
    Else [Asset_Value]
    END

    and

    ([New headquarters] + [Available_Seats])-[Required_Seats]

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Double quotes in ASO cube formula Member UDA

    I have double-quotes in ASO MDX UDA.
    But when loading using the rules, the quotes file double are get deleted.
    Any suggestion how to fix this problem?

    Formula in file dim biuld
    --------------------------------------------------------------------------------------
    CASE
    WHEN (NO ISUDA ([scenario]. CurrentMember, 'VARSCN'))
    THEN ([CRNBS] / [CLRVT]) * 100
    END


    After dimbuild formula in become a Member
    --------------------------------------------------------------------------------------

    CASE
    WHEN (NO ISUDA ([scenario]. CurrentMember, VARSCN))
    THEN [589018] + [MGTI_EXC_AFF] + [GIT_ALLOC_PUR]
    END



    It is simple to remove the quotes on UDA VARSCN


    Thank you

    You need an escape character before each quote so that it can be passed through that the escape character is a backslash if your code should look like \"UDA\"

  • Member of ASO formula - Concat

    Hi all

    First of all, please forgive me because it is my first stab at MDX ever.  My experience is only with BSO.

    I'm trying to concatenate a part of a member name and a string in a member of a cube ASO formula.  The dimension that I'm referencing is 'DATE' and I'm trying to concatenate the first 15 characters of the Member with a '01 '.  For example, the member name ' DATE. Day.20110115' really has to come as a "DATE. Day.20110101' because I am concatenating ' DATE. Day.201101 'and '01'.  The member formula that I have written includes the following elements do not validate:

    STRTOMBR (concat ([DATE].) (([CurrentMember.Member_Name, '01']))

    I'm trying to fix the first day of the month after the user is the recovery and cross (tuple) dim with a reporting line

    Thanks in advance!

    You will need a command of substring to get the 15 character and then concatenate something like STRTOMBR (concat (substring ([DATE].)) (CurrentMember.Member_Name,1,15) '01'])).

    Another way is to add an attribute to these members and get their value from the attribute for you tuple.

    Concerning

    Celvin Kattookaran

  • Conversion formula member of the BSO to ASO MDX formula

    Hello

    Can you please help me in converting the BSO formula ASO. Here the formula below was written "gg/Su Mths" Member who is a member of the dimension 'account '.

    If (@isuda ("versiter", en))
    ' gg/Su Mths ";


    in above formula UDA 'en' was entitled on members level of dimension 0 'versiter '.

    Thanks in advance for your help.

    Kind regards
    Prabhakar

    Try,

    CASE
    WHEN (IsUda ([versiter]. CurrentMember, 'fr'))
    THEN [gg/Su Mths]
    END

    Still, you don't score your last message data export from calc dynamic member BSO and load the ASO cube data , don't forget to do.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Codes of Member to the ASO cubes property

    Hi all

    In ASO cube, I have a dimension that is defined as multiple hierarchy

    Dimension-(multiple hierarchy Enable)
    Member1 (Stored)
    A1
    A2
    Member2 (Stored)
    B1
    B2
    Member3-(Dynamic)
    C1
    C2
    Member4-(Dynamic)
    D1
    D2

    I am trying to use X to define dynamic members in my source file (.) CSV format). I took this member property referance codes Table 40 http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/frameset.htm?dotrules.html#dotrules_2

    I think there at - it a chart like this for ASO or we can use the same table.

    Thanks in advance.

    VIC

    Published by: Vrockz on 16 January 2013 09:39

    You can find the information on this link http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/frameset.htm?alocare.html

    You can get more information at the http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/frameset.htm?ainaggr.html

    You should use was '-hope it helps

    Thank you
    Sunil

    Published by: sunil k on January 16, 2013 10:05

    Published by: sunil k on January 16, 2013 10:15

  • BSO Member conversion to ASO MDX formula

    Hi guys,.

    I am trying to convert the following Member BSO formula to ASO.

    FORMULA MEMBER BSO
    --------------------------------
    IF (@ISLEV ('TP', 0))
    @SUMRANGE ("TDI"->"feat"-> "ETC."->"PC NA Exch"->"", @ILSIBLINGS (@CURRMBR ("TP")));
    ELSE IF (@ISLEV ("TP", 1))
    "TDI"->"feat"-> "ETC."->"PC NA '->' Exch ';
    ENDIF;

    Conversion of the ASO
    ----------------------
    CASE
    WHEN
    IsLevel ([TP], 0)
    Sum (Sum (CrossJoin ({[TDI], [exploit], [ETC.], [PC NA], [Exch]}) THEN))
    MemberRange (([TP]. CurrentMember). FirstSibling, [TP]. Lag (1))
    )
    ON THE OTHER
    WHEN IsLevel ([TP], 1) THEN
    [TDI], [exploit], [ETC.], [NA PC], [Exch]
    )

    Can someone please help me with this? I came with the converstion above but it is not through.

    Thank you
    Mickael

    You have ADI, Feat, etc, PC NA, Exch wrapped in parens? (TDI, Feat, etc, PC NA, Exch)? You can also add .currentmember on behalf of each Member

    ([TDI].currentmember,[Feat].currentmember,[ETC].currentmember, [PC NA].currentmember, [Exch].currentmember) 
    
  • How to add a new dimension in the ASO cube without losing all the data

    Hello

    I have an ASO cube with 18 dimensions and I want to add a new (regular). When I add this new dimension he asked me that data all have cleared out before the restructuring can take place. If I click Yes then I would lose all data, regardless of the fact if I export Level0 or not. Because when I tried to reload the export in the cube, he gave me a cause of error all the sides were not present export. Does anyone know how I would be able to accomplish this task?


    Thank you
    Mickael

    You can try this work around solution.

    (1) export data from Lev0
    (2) delete the cube
    (3) add the new regular dimension.
    (4) add a default member Reg00 in the new dimension and save.
    (5) open Lev0 data in a text editor, insert 'Reg00' at the beginning of the file and enter.
    (6) Lev0 file will first record 'Reg00' and the remaining export file will be of the second disk.
    (7) load the file changed with a rules file.

    You can check all your history data will be loaded w.r.to the Reg00 of the new regular dimension.

  • Loading the data into the ASO cube

    Hello

    Is it possible to load data to a member in the structure where there is a related formula?

    For example:

    Account - interest paid:

    Budget must be charged to members
    Real must be a calculated field

    I tried something like:

    CASE
    WHEN [scenario]. CurrentMember IS [real] THEN-[finance costs (IFRS)]
    END

    but it does not work?

    Is this possible?

    Thank you

    Hello

    ASO, you cannot load data to a member who has a formula attached to it. One option is to have 3 accounts, 2 accounts system and an original. Load data for accounting system: VAC - Bud and VAC - law and then to set a formula to the original account to get the values of 2 accouts of system based on the scenario.

    Let me know if it helps.

    However, you can do it in ASF, loading the data to the Budget and have a calculation script calculate the value of actual expenditures to the Member of the account.

    See you soon
    RS

  • Report of script in the ASO cube data

    question like this:

    ASO cube with dimensions, dimension is used.

    and we put a dimension attribute PayType to the dimensions of the employee with the value of the exempt /NonExempt attribute.

    now the question is: not all employees are good with attribute values, there are some employees without these PayType values.

    and we want to create a report script to extract data from these PayType No. employees.

    We tried to put

    Selection and output options for dimension rules: 'employee '.

    < WITHATTR ('PayType' free '<>')

    < WITHATTR ("PayType' '<>' rampart)

    but it did not work.

    I don't know if there are other controls can help to do.

    Can anyone help?

    Try:

    See you soon... !!
    Rahul S.

  • shared members disappear automatically after the deployment of the ASO cube

    Hello

    What we were doing as below:


    the memerbers dimension are loaded by source for epma odi, and then, we deploy the aso and epma bso cubes.

    and the process type in the profile to load dimension members is defined as "merge as primary.


    the question as below:

    (1) initially, the hierarchy of the dimension as it:

    size AA:

    A

    A1

    A2

    A3

    This dimension is aso and aso cube deployed successfully.

    (2) the users change the hierarchy of the source table.

    changed to below: (just add a parent for A1 and A2 under A initial parent.

    A

    A'

    A1

    A2

    A3

    AFTE, this changes, and members are responsible for epma once again, the hierarhy of dimension in epma is as below:

    A

    A'

    A1

    A2

    A1 (Shared)

    A2 (Shared)

    A3

    and this process of loading and applications deploy processes run automatically overnight pocess.

    I thought that I delete the A1 A2 shared hierarchy and deploy the cube again after overnight charge and deploy processes.

    But what I saw in the structure of the aso cube after the party deployed the process is also that:

    There no common A2 A1 in the sketch, but just below members in the cube hierarchy in essbase.

    A

    A'

    A1

    A2

    A3

    It's really weird, why shared members disappear automatically after deploy and make different hierarchy between epma an essbase outline

    can you help me?

    I have no idea...

    EPMA is ASO-> size is set to "multiple hierarchies enabled" otherwise please turn on and then try to deploy.

    Thank you

    ~ KKT ~.

  • Extract the ASO cube data slices

    Hello

    For Essbase version 11.1.1.2, is there a way (using scripts) to extract data slices in a text file?  We understood how the data in the ASO cube zero slices, but have none managed to extract the data.  Please keep in mind, we have no reporting tools for this, we use Excel to our reporting needs

    Thanks as always!

    There are pretty much two different (well, there are also a third way) ways to get out Essbase data:

    (1) write a report script

    (2) write an MDX query

    (3) buy Star Integration Server (now owned by IBM) and point to the comic in question.

    Not surprisingly, there is no quick fix with these choices.  I wrote a blog about report vs MDX scripts, and the answer is (i.e. that one is the best)... depends on:

    http://camerons-blog-for-Essbase-hackers.blogspot.com/2013/07/what-makes-Essbase-data-extraction-fast.html

    I hope to put some of the trials above against a box of Star Integration Server (no, I don't work for them) to see if he can better the time extracted in the near future.

    Kind regards

    Cameron Lackpour

  • Partition of several source BSO cubes to a single target ASO cube

    All,

    I want to use Essbase 11.x to create a partition strategy which has several sources (all with the same number of dimensions) BSO cubes partitioned in a single target ASO cube, which has the extra dimensions that source BSO cubes. Is this possible?



    Thank you

    Yes, you can certainly extend servers.

  • Recovery of ASO cube

    Hello

    I just deploy ASO cube with 32 dimensions, the total size is now 2 GB on the default folder. 32 dimensions, 31 are stored size, 1 dimension of measures is account and dynamic comparession (approximately 20 measurements). More great dimension has 1000 members, most of them have fewer than 50 members.

    I use SmartView to retrieve data, and it seems very slow. I check Compression, Measures "Level0 Mb" dimension is 1081 Mb, the rest of average size 2000 MB Level0.

    Total fact table data are about 14 record capture.

    I wonder what I can do to recover faster from Excel. Should I change some of the dynamic dimension Stored? My measure dimension is the latest in the outline, it helps it move measure up? (I know for BSO, hierarchical order is important).

    Thank you very much

    The other thing you ask is on the order of the dimension. Unlike the BSO cubes, the order of measures does not make a difference, what brand did a differrence is dynamic sides of stroed vs. You say that you only have a single dynamic dimension. It's good, dynamic side slow recovery and cannot be materalized in aggregations. I'm going back to my first post, this should help you a lot. Regarding the recommendation of TimG on the cache, it would not hurt to increase, 32 meg is usually good for about 2 gig of data entry.

Maybe you are looking for