Qustion formula Member

Hello

Here is the part of the Member for my cube of bso formula:

IF (((@ISMBR("1234") == #Missing) or (@ISMBR("1234") == 0)))

"5670" = "Income before tax" * 0.32445;
ANOTHER ((@ISMBR("1234") <>, 0) OR (@ISMBR("1234") <>#Missing))
'5670' = #Missing;
End

I mean, if GL 1234 is missing or 0, then GL 5670 is calculated using this. However it doesn't seem to work, 5670 is filled with the value of GL1234 is set.

I want 5670 calculates the value GL1234 is missing or 0

I'm missing here?

Thank you

Published by: Donny 28 Sep, 2012 12:58

Published by: Donny 28 Sep, 2012 13:00

Published by: Donny 28 Sep, 2012 13:00

Published by: Donny 28 Sep, 2012 13:00

No problem! For the latter, again I think this is a case of not having the "@ISMBR". Essbase provides a built-in function for this test, called @ISDESC - see http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/isdesc.html.

So you should do something like this:

IF ((("1234" == 0) OR ("1234" == #Missing)) AND NOT (@ISDESC("HR")))

I was also a little more explicit with the brackets, I know it is not always necessary, but I'm too lazy to memorize the rules of priority etc..  :)

Tags: Business Intelligence

Similar Questions

  • 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

  • Formula member to sum based on a model

    Hello

    I have a question by creating a formula for a sum based on a model member.

    In a cube, OSI, we have 2 sparse dimensions, which contains a hierarchy of alternative with shared members. There is a hierarchy of high maintenance new shared members are added each month.

    I would like to remove this successor to the shared members hierarchy and replace it with a formula of Member.  This hierarchy looks like this

    Entity CC01 Summation

    CC-01-100

    CC-01-101

    CC-01-111

    etc.

    I tried to add a member formula that corresponds to this model @MATCH ('Entity', ' CC-01 * ") and summarizes all CC - 01 *.  My formula looks like this @SUM (@MATCH ('Entity', ' CC-01 * ")).  It does not work.  She added a few other totals which I have not yet studied.

    Any idea is appreciated...

    Thank you.

    Hello

    It is not necessary to take the name of the dimension of the mbrname. @MATCH (mbrName | genName | levName, 'boss')

    Take the parent where the search should begin here. So, without other hierarchies.

    It should work.

    Kind regards

    Philip Hulsebosch

  • Formula Member


    Hi all

    I have the following formula: I created the below member of refrence other formulas that must be rolled: is there an easier way to re write these formulas with the Member?

    IF (@ISMBR ("FY15"))

    'Year '= 16;

    ELSEIF (@ISMBR ("FY16"))

    'Year' = 17;

    ELSEIF (@ISMBR ("FY17"))

    'Year' = 18;

    ELSEIF (@ISMBR ("FY18"))

    'Year' = 19;

    ELSEIF (@ISMBR ("FY19"))

    'Year' = 20;

    ELSEIF (@ISMBR ("FY20"))

    'Year' = 21;

    ELSEIF (@ISMBR ("FY21"))

    'Year' = 22;

    ELSEIF (@ISMBR ("FY22"))

    'Year' = 23;

    ENDIF

    Thank you

    Calvin replied before I could finish typing, but something like this:

    Year = @CalcMgrDoubleFromString (@SUBSTRING (@NAME (@CURRMBR (FYDIMENSION)), 2));

  • Formula Member error: 'unknown member [&amp;] in [function name' - in SubVar SubVar

    I have a called subvar & DriverCrossdim that stores the location of crossdim of our financial drivers, so I need to paste the 8-Member crossdim whenever I have a reference driver. Is one of the members of this crossdim & BudgetYear. It works very well in Calc Scripts, but it is always fails when it is used in a formula of Member. According to me, because I put a subvar in my subvar. Is this a documented restriction of member formulas? Is there a way to get around that I can use?

    & DriverCrossdim value example:

    "NoEntity"-> & BudgetYear-> "NoCurrency".

    Personally, I wouldn't use a subvar for a static selection. But that's just my preference and not your question.

    I'm actually really surprised that you get away with this in in a calc script, so please teach me something.  I thought that the variables have been developed exactly once, so nested subvars would fail anywhere.  Obviously not, although I'm sure that's what happens in the form of Member.

    As a simple solution, maybe move & BudgetYear on the & DriverCrossdim variable, so that instead of...

    DriverMember-> & DriverCrossdim;

    .. .you tell...

    DriveMember-> & DriverCrossdim-> & BudgetYear;

    Still much shorter than eight dimensions.

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

  • formula member to outline

    Hi all

    Can someone guide me on the member formulas in Essbase 11.x sketch. I read somewhere that we cannot have Member forms large contour that has an impact on performance. Can advise you on this and enlighten me to the best optimizations of contour...

    All that must be taken account in the use of the functions of essbase in member formula?

    Thank you for your sharing your ideas.

    Best practice is to use formula of Member on dynamic members in the dense dimensions.  Performance problems more frequently when you make dynamic Calc scattered members.  I don't think it matters how big the formula is.  What is important is the number of blocks needed to perform the calculation.

    Usually very good performance of the dense Dim formula

    Usually of slow performance of the sparse Sun formula

    Cross-Sun formula worse performance, cross dim in sparse dimension is the least desirable option.

  • ASO - formula Member MDX

    Dear,

    In my current requirement that I have cam across, I applied under the formula of dynamic dimension ASO member.

    VC_YTD--(SOMME (PeriodsToDate ([période].))) Generations (2) [period]. CurrentMember), [see]. [VariableCost]))

    FC_YTD - (SUM (PeriodsToDate ([period].)) Generations (2) [period]. CurrentMember), [see]. [FixedCost]))

    FixedCost - SUM ({DESCENDANTS ([Custom1]. (CURRENTMEMBER,10,LEAVES)}, [FC_FIS])

    VariableCost - SUM ({DESCENDANTS ([Custom1]. (CURRENTMEMBER,10,LEAVES)}, [VC_FIS])

    FC_FIS - SUM ({DESCENDANTS ([Custom1]. (CURRENTMEMBER,10,LEAVES)}, [VC_FIS])


    VC_FIS-

    CASE WHEN IsLevel ([account]. CurrentMember, 0) THEN

    IIf (IsAncestor ([A_4000000], [account]. (CurrentMember), (([MTD] * ([BegBalance], [NoLocation], [NoCostCenter], [NoProduct], [UserInput], [Budget], [approuvé], [Local], [aucune Entity],[FY14],[MTD])) / 100), 0)

    on the other

    SUM ({DESCENDANTS ([account]. (CURRENTMEMBER,10,LEAVES)}, [FC_FIS])

    End

    I know this isn't the right way but due to requiremnet I do the same thing.

    Now when I retriev the Member in excel my excel is dying upward and it gives no result.

    In the newspapers, I get below error-

    [FixedCost] member formula is complex. If possible, add a non-empty directive for scattered data optimization.

    The Member [VariableCost] is complex. If possible, add a non-empty directive for scattered data optimization.

    The Member [VC_FIS] is complex. If possible, add a non-empty directive for scattered data optimization.

    Can you suggest me to this.

    Thank you.

    try using NONEMPTYSUBSET()

    "This can help to optimize the queries based on a wide range for which all non-empty combinations is known to be small. NonEmptySubset reduced the size of all the presence of a metric; for example, you can ask the non-empty subset of descendants for specific units.

    NonEmptySubset is used to reduce the size of a set before analytical later retrieval. »

    The thing is once, I got this message and used NONEMPTYSUBSET and the warning does not go far so I found myself just ignore him. Some problems are simply complicated.

  • Calculation of the percentage formula Member

    I have a dimension of data type in an OSI application that is used to calculate adjustments to historical data. It is a dimension Label with only 3 members:

    Historical value

    Adj %

    Calculated Wo (dynamic member)

    Where I placed the following member formula in CalculatedAdj: CalculatedAdj = HistoricalValue * % Wo

    When validating the foregoing formula, I get the following error message "compilation error formula for [] (line 1): invalid assignment."

    I'm guessing that the formula is too simple and other parameters must be included, but I'm at a loss as to what they are. I appreciate your help.

    Hello f. Arabak

    If your synatax is exactly what you have written, then try this

    "CalculatedAdj" = "HistoricalValue" * "Wo % ';

    The special character needs quotation marks.

    He was missing the semicolon.

    Kind regards

    Philip Hulsebosch

  • #Missing formula Member for upper level members should not aggregate?

    I have some senior level members in an application of ASO that shouldn't have grouped in them values. I seem to remember that there is a formula for Member #Missing I can put each of these members to prevent aggregated values. Does anyone know of such a formula of Member? Thank you

    Add a dummy Member under the parent

    Mother ~ (read only)

    Dummy member ~ (store)

    Ordinary child 1

    Ordinary child 2

    Ordinary child 3

    Just make sure that there is no data loaded against the fake member.

    Concerning

    Celvin

  • Formula Member BSO using MDX ASO

    I use the Ref of the Essbase Tech to convert the below formula a calc to MDX member but just short. Help, please.

    IF ((@ISDESC (Cans)) AND (@ISMBR (Gander)))

    Total_Hours / @PARENTVAL (containers, cans-> Total_Hours); ENDIF;

    And my attempt to MDX:

    IIF ((IsAncestor [drums], [drums]. (CurrentMember]) AND (IS [Jars])),

    [Total_Hours] / ([containers], [cans].) CurrentMember.Parent, [Total_Hours]

    Thank you!

    When you use IIF statement you must specify the TRUE and the FALSE instructions.

    Change it as shown below and it should work

    IIF ((IsAncestor [drums], [drums]. (CurrentMember]) AND (IS [Jars])), ([Total_Hours] / ([containers], [cans].)) (CurrentMember.Parent, [Total_Hours]), missing)

    Concerning

    Amarnath

    http://Amarnath-Essbase-blog.blogspot.com

  • Convert member formula Member MDX formula

    Hello

    I'm new to ASO and try to convert the following member formula in a BSO cube to an MDX formula for my ASO cube.  Any help will be greatly appreciated.

    IF (@ISMBR ("Q1"))

    ('TOTALREV' / ((@PRIOR («T4 «->» EOPDomains», 1, @RELATIVE ("exercice", 0)) + "EOPDomains") / 2)) * 4;

    ElseIf (@ISLEV("period",1))

    ("TOTALREV" / ((@SHIFT ("EOPDomains",-1, @ISIBLINGS ("Q1")) + "EOPDomains") / 2)) * 4;

    ElseIf (@ISMBR ("Jan"))

    ('TOTALGREV' / ((@PRIOR («Dec «->» EOPDomains», 1, @RELATIVE ("exercice", 0)) + "EOPDomains") / 2)) * 12.

    ElseIf (@ISLEV("period",0))

    ("TOTALREV" / ((@PRIOR ("EOPDomains") + "EOPDomains") / 2)) * 12.

    ENDIF

    It is a fairly easy calculation using a case statement. It is easiser a Calc script, since you can use Lag on all dimensions and tuples.  Try something like:

    Case When IS([Perioid].currentmember,[Q1]) then

    ([TiotalRev] / (([Q4], [EOPDomains], [Fiscal Year].currentmember.lag (1)) + ([period] .currentmember, [EOPDomains], [Fiscal Year] .currentmember) / 2)) * 4

    When IS ([Period].currentmember.levels (1)) then

    ([TOTALREV] / ((([EOPDomains], [Period].currentmember.lag (1)) + ([EOPDomains], [Period] .currentmember) / 2)) * 4)

    When IS([Period].currentmember,[Jan]) then

    ([TOTALGREV] / (([Dec], [EOPDomains], [Fiscal Year].currentmember.lag (1)) + (Period] .currentmember, [EOPDomains], [Fiscal Year] .currentmember) / 2)) * 12

    When Is ([Period].currentmember.levels (0)) then

    ([TOTALREV] / (([Period].currentmember.lag (1), [EOPDomains]) + ([period] .currentmember, [EOPDomains]) / 2)) * 12

    END

    Notes,

    1. you will need to check the skill parens and members for typos that I made this Freehand

    2 n-tuples as ([period] .currentmember, [EOPDomains]) might be able to simplify just ([EOPDomains]), but I made them full for consistenceny

    3. I suggest to change the order of the statements have the most frequent first, it can make the fastest formula

  • 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

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

  • Formula member syntax of the IF statement

    Hi guys

    Can someone help me with the syntax of the IF statement on a member form.

    The custom of 'Total cost', I want to apply a formula that calls value loaded to a series of other measures (m1, m2, m3, etc.) such that if the number of bags is = 1, then a charged value of M1 is called and if the number of bags is 2, a value loaded to m2 is called.

    Thank you

    I think there may be a better way to do what you are trying to achieve, but here's the syntax of the IF statement

    IF ("number of bags" == 1)
    'm1 ';
    ELSEIF ("number of bags" == 2)
    'm2 ';
    ELSEIF ("number of bags" is 3)
    "m3";
    ...
    ENDIF;

Maybe you are looking for

  • paper loads of pages, then freezes

    all of a sudden, my copy of pages does not load a document that I worked before I use the pages.  It opens then the spinning wheel is displayed and I have no other alternative but to force exit pages.  Does not happen when I send it to my version of

  • HP G62: keyboard

    Hello I have a laptop G62. Some keys on my keyboard in the right corner no longer works when I push on them. As the buttom (House, dollar sign, key F10,...). The other keys always work on my keyboard. I think it all started when there was water on my

  • Cannot install WIndows XP SP3 - wireless adapter does not work with any package of service beyond 2.0

    original title: wireless adapter does not work with any package of service beyond 2.0 I have an AirLiink 101 wireless adapter.  Anyone know how to change the service pack 3.0 for me to update my Windows XP?   Can not install 3.1 without losing wirele

  • This installation package could not be opened. [SOLVED]

    I try to install Java 6 update 18 and get the error message: "This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package. » I uninstalled Mcafee, spybot, and ad-aware.  I als

  • error in config to recovery

    vista 32 OS ibt m8100n System crash-screen black cursor flashing F10 base system checks, all good memory and HD. On the error code - config purple recovery. What does that mean???