Formula Member: IF... OTHERWISE describe the aggregation

Hi experts,

How to write a formula for a member parent entity as follows:
IF (@ISMBR ("Member"))
do something
ON THE OTHER
default hierarchical aggregation of his descendants
ENDIF

I want to just the 'do something' to run to some account in. If there is no ELSE statement, the formula will replace the hierarchical aggregation by default. The problem is that I can't find any manually default aggregate function.

Please ask if my question is not clear.

Thank you very much!

Hello
I got approach it slightly differently. I would not on the Member parent himself, instead I create another dynamic member in the same dimension and write the formula here.
If (@ismbr (@list (list of accounts)))
Parent1;
On the other
#missing;
Endif

Another alternative to write this in Parent1 would eventually end up with a formula too costly and complicated.

See you soon,.
Alp

Tags: Business Intelligence

Similar Questions

  • 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

  • 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.

  • 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/

  • Questions on the aggregation of data for parents

    Hi guys,.

    I have two questions.

    One, once I have enter data in the leaf level, values aggregate to their parent except period dimension. The aggregation method is elsewhere, conservation never share type and data type is currency. Should provide the member formula to calculate the value for high level members?

    Two, some nonleaf members need their own values. For example, a business in the entity dimension unit has some departments. Apart from the consolidation of departments, the BU needs a budget for itself. But members nonleaf cells are read-only. How to deal with my situation?

    Thank you

    You can't, not in a release from the bottom up. You can allot of bu1_ to his brothers and sisters. Or you can use the version of up and down, to parents of input values and allocate up to nonleaf members.

    See you soon,.
    Alp

  • Data (date Math) Member text 1 less the text of 2 members

    Help!  I'm building something as an "age of the auditor.

    > > I'm looking to subtract dates

    I have a text called "DateToday" -is today's date

    and a member of text called "DateYouTyped" -indexed by the user (first YEAR then MONTH, DAY) using the format YYYYMMDD

    How 'pull' the text of members and use as part of the formula?


    And that the formula would look like

    I used Director help and found

    myBirthday = date (19650712)

    YourBirthday = date (19450529)

    You would do something like

    Date1 = .text ("DateToday" member)

    day 2 = (member("DateYouTyped).text

    and then

    set date1 - date2?  I want the result to go in a text member lets call it 'finalanswer '.

    You got an answer that, admittedly, I didn't spend too long picking apart - mainly because it seemed too complicated.

    I approach what you describe by first making sure there are enough numbers entered to create a valid date - this includes leading zeros in the case of the day and the month. Either that, or provision of input fields separate year, month and day that can be validated individually. However, go with your 8-digit imagined the 'trick' entry is to enter the first 4 characters of the year, the month and the last 2 as day 2 and compel them to strings to integers. Something like:

    sDateToday = member("DateToday").text
    tYear = value(sDateToday.char[1..4])
    tMonth = value(sDateToday.char[5..6])
    tDay = value(sDateToday.char[7..8])
    dToday = date(tYear, tMonth, tDay)
    
    sDateEntered = member("DateYouTyped").text
    tYear = value(sDateEntered.char[1..4])
    tMonth = value(sDateEntered.char[5..6])
    tDay = value(sDateEntered.char[7..8])
    dEntered = date(tYear, tMonth, tDay)
    
    -- this gives the number of days between the 2 dates
    -- it's not clear how you want the result formatted, so ...
    nDifference = dToday - dEntered
    member("finalanswer").text = "There are" && string(nDifference) && "days between the two dates entered"
    
  • Import of member account form to the library of EPMA

    Hi all

    I have a member account form and this form of file import flat source (ads) to EPMA Shared Library of Dimension.

    Ex:

    Expense account

    Admin Calc - Calc (formula member) dynamic, is at level 0 and I specified it dynamic Calc.

    When Iam posting this formula Member, ' the 'Admin Calc' not found for the validation of the formula.

    Am I missing something here?

    Kind regards

    Stally.

    Hello

    I guess that you import the dimension using the import profile in EPMA. During the creation of this format, you had map properties in your flat file and in the shared library.

    Have you checked this setting?

    Kind regards

    Ilias

  • Formula member of Smart View

    Hello

    Can someone tell me how to see memebr smartview formula 11.1.2.1.?
    I have opened the online form and select the Member that formula and clicked on the formula of Member under "more."
    The page has just made a nod, I couldn't see anything other than...

    Thank you very much

    Is ownership of "Member formula" activated for dimension with the formula in the form design, if it is not then in theory you should not be able to view the formulas in Smart View.

    See you soon

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

  • Question - formula Member

    Based on past requirements for 'Suffering' (a member dynamic calc) is the formula of Member

    Suffering = before year-> year Total + @SUM (& CurrYear->(Jan:&Priormonth));

    The logic above will work well from next month, i.e. February, but fails to work when the current month is the month of January.The problem now is that & Priormonth = decrease, so the formula is the addition of Jan: Dec values for the current year, which shouldn't be the case. For the current month, i.e. January suffering should just be the total value of the previous year. How this formula member could be changed in a way that it satifies irrrespective requirements of which it is?

    I can change to -.

    Suffering = & title-> YearTotal + @SUM (& CurrYear->(Jan:&Currmonth)) - & Currmonth;

    Please let me know.
    Thank you.

    A very quick thinking would be to consider applying if conditional. OR | ON THE OTHER. ELSEIF | ENDIF logic.

    Thank you

    Todd Rebner

  • Can I do a free reference of a protected member MDX formula member account?

    My problem is:

    I need to make a free reference a member account.
    and the track is:
    -Cube Essbase ASO 11.1.1.3.
    -Accounts dimension has a member of level 0, called 'check '.

    The structure of the hierarchy is:
    Account
    -Level2 (+)
    -Level1 (+)
    -Balancesheet (+)

    I'm putting it under the formula of Member MDX on the 'check '.
    --------------
    CASE ([year]. CurrentMember)
    WHEN [FY10]
    Then
    Case ([period]. CurrentMember)
    When [JAN]
    Then
    < some logic here, pulling another Member here and works great >
    ON THE OTHER
    ([Balance sheet], [period].) CurrentMember.PrevMember) / * this is also working fine * /.
    END
    ON THE OTHER
    [Balance sheet] _ / * ERROR * / / * this IS WHERE it IS DEFAULT AND MAKING THE VALUES '0' for and year except FY10 * / _
    END
    -----------------


    Basically what I'm trying o realize is that I want ASO balance logic I write above ONLY for FY10 and don't do anything for any other year.
    When I don't write the last part "else", it makes the values zero for any year except for FY10. so I tried to put the logic above in the last part "else", but it is also not not and send me the "recursive [31] limit reached error»

    Any help on this appreciated.

    Thank you
    Ankit

    I'm still not clear on what you say, it seems that you say in a model of the ASO you can take a level 0 Member that has data in it, add a member formula he and Essbase will retain stored data that was there before the formula being added, but from now on he will use the result of the MDX formula.

    If that's what you say, it is not true. If you find that it is, then it seems to me be a bug. In my tests, it doesn't work that way, nor should it.

    Think about the consequences of not knowing if it's stored data or calc. by data. What do you do if you must reload the data? You cannot load the data of a member with a member formula, so you will have to remove the front form to load, then load and then add the formula back?

    There is something else here who is not be clearly explained.

    The solution is probably to create another stored for historical data and have then the Member with the formula reference this one for the periods you want and calculate for other periods.

  • I'm having a problem with the FireFox browser. I have attached two files that describe the problem. I have marked their A &amp; B. A is the way it should lo

    I'm having a problem with the FireFox browser. I have attached two files that describe the problem. I have marked their A & B. A is how it should look like and B what happens once I have, I opened several tabs. I can get it back to normal if I click VIEW, click Customize. When the window customize appears that Firefox returns to its normal state. I have to click on the done button and go back to what I did. I tried to reset FireFox back to the default settings, but that has not fixed the problem.
    It started happening a month. Is there a way I can fix this? Thanks for your help. I don't know how to fix my 2 attachments that shows the problem I'm having.
    [email address removed to protect your privacy and security]

    Try disabling hardware acceleration in Firefox.

  • Unfortunately I couldn't find another option in Firefox to describe the problem. I use Windows 7. Since the Firefox update (now I use 16.0.2) when I

    Unfortunately I couldn't find another option in Firefox to describe the problem.
    I use Windows 7.
    Since the Firefox update (now I use 16.0.2) when I use the Google Translator in Firefox, I can't copy and paste into Microsoft Word.
    But when I use it in Internet Explorer, I can't use the copy paste it to Microsoft word (MS Word 2010).
    my e-mail address: [email protected]

    Hello
    Thank you very much for quick help
    It's work with the instruction of Ctrl + C.
    perditer

  • How can I make a cell formula will apply for the entire column? For example D2 appears B2 - C2. How can I copy this formula for each cell in the column?

    How can I make a cell formula will apply for the entire column? For example D2 appears B2 - C2. How can I copy this formula for each cell in the column?

    If you want the formula is the same (B2 - C2) in the cell of each column you must change it as ($B$ - 2$ C$ 2). Then copy it, select the whole column and paste.

  • Creation of formula help: how to find the percentage of increase or decrease

    Hello community,

    I am trying to create a formula that will find the percentage increase or decrease in sales from one year to another. For example, cell B1 is my sales for 2014. C1 represents my sales for 2015. How can I write the formula in D1 to find the percentage increase or decrease of sales between 2014 and 2015?

    Thanks in advance!

    You can try this:

    The formula in D1: = C1/B1−1

    Then set the Data Format of D1 to percentage:

    SG

  • Does Windows natively support the aggregation of links?

    There are some descriptions on the aggregation of links in Wikipedia.

    http://en.Wikipedia.org/wiki/Link_aggregation

    "Note that Microsoft Windows does support not natively the aggregation of links (at least until Windows Server 2008)."

    I was wondering if this description is accurate? And what about the new windows operating system, such as Windows Server 2012 edition?

    Windows xp, Windows 7 and Windows 8 natively supports the aggregation of links? If the answer if not, anyone know why? I know, Linux and other operating systems support the aggregation of links.

    Hi, Peacegump,

    For NIC teaming or link aggregation support, you will need to contact your provider network adapter or an OEM (for example, Dell offers a driver of consolidation).  They provide you with a driver that allows the grouping of NETWORK adapters, because Windows does not offer this feature in the core of the operating system.

    http://social.technet.Microsoft.com/forums/en-us/winserverPN/thread/f200b747-d9fb-4632-b6a4-aaf89c3dcc9b

    Grouping network adapter and clustered servers

    http://support.Microsoft.com/kb/254101

    How to use matching with Advanced Networking Services (YEARS)?

    http://www.Intel.com/support/network/sb/CS-009747.htm

    Windows 7 - aggregation of links to double bandwidth: 2 p., 2 network cards of each

    http://www.SevenForums.com/network-sharing/124720-link-aggregation-bandwidth-doubling-2pcs-2-NICs-each.html

    If you need more information, transfer your question on the Forum on TechNet.

    http://social.technet.Microsoft.com/forums/en-us/winserverPN/threads

Maybe you are looking for

  • Tecra M11-103 - no sound on TV with HDMI

    Hello worldI really need your help, Until today, that I used a mini adapter displayport to HDMI to connect my Tecra M11-103 to the TV while doing something today that happened and all of a sudden, I got video with no sound on the tv when I tried to u

  • How can I send a trig to my PXI system

    I have a 4072 Flexdmm and PXI-2532 switch box and 2640 terminal block. The switch is configured as a 4 * 128 matrix and is connected to an external pacemaker current. The pacemaker requires an input trigger and synchronize precisely the system that I

  • HP Touchsmart 320-1030 does not turn on

    Product: HP Touchsmart 320-1030 Product #: QP788AA #ABA OS: Windows 7-64 bit Bought the: 07/11/2011 Problem occurred: 21/06/2013 My HP Touchsmart has worked almost flawlessly for a year and a half, until today when I tried it alarm off mode 'sleep'.

  • will there be new games of lips or the dlc?

    I have speny of hundreds on a collection which now collects dust. News please

  • Spectrum X 360 15 t: entry pen

    So after getting my new 15 t I'm disappointed to find that the entrance of stylus does not work I spent 9 hours on the phone with the support and the short version is I get another new computer, but it will be about 30 days to get because it is custo