Attributes in member formula

I want to run a simple member formula but fix it on only entities that have a certain attribute: "Comp".
I have a BSO cube partitioned with an ASO cube with the following member formula:
================================================
In BSO:
IF("Received In Qty" > 0 )
@ROUND("Received In $" / "Received In Qty",2) ;
Else
#missing;
ENDIF
In ASO:
IIF(([Received In Qty] > 0),
ROUND([Received In $] / [Received In Qty],2),MISSING)
================================================
I need to have the member return the rolled up value of the entities that have the Comp attribute only.
So the logic in the formula would be something like this:
============================================================
In BSO:
IF(ISMBR(WITHATTR(Comp)) AND IF("Received In Qty" > 0 )
@ROUND("Received In $" / "Received In Qty",2) ;
Else
#missing;
ENDIF
In ASO:
IIF(IS(WITHATTR [Comp])) AND IIF(([Received In Qty] > 0),
ROUND([Received In $] / [Received In Qty],2),MISSING)
=======================================================================
The system doesn't allow me to save this due to syntax issues.
I don't want to pursue this if returning values for this is not even support.
Do you know how to do this. If it is a quick answer I would appreciate the help.
Thanks.

Wouldn't the fact you used the attribute in your retrieve affect the results of your query? I'm not sure if I am misunderstanding your requirement, but the formula is global, if you only want to see it applied to members with the attribute 'Comp', then run your report with that attribute selected.

Similar Messages

  • @ATTRIBUTESVAL works properly in Calc script but not in Member Formula.

    We are using Essbase 11.1.2 –
    "Global_Period" is a Dynamic Calc Member. Below is its Member Formula:
    "ProjType " is an attribute (text) dimension.
    "Global_Period" ="ValidAccount";
    IF (@ISLEV ("Total_Expenses", 0) AND @ISMBR("HSP_InputValue") AND @ISLEV ("Version",0) AND
    @ISMBR("No_GL_Account") AND @ISLEV ("Scenario",0) AND @ISLEV ("Years",0) AND @ISMBR ("Local")
    AND @ISLEV("Tot_Org",0) AND NOT @ISIDesc ("Service_Division") AND @ISLEV("Tot_PRJ",0) )
    "Global_Period"->"No_GL_Account"-> @CURRMBR ("Projects") =
    1* "ValidAccount"->"Global_Version" ->"Global_Scenario"->&Budget_Year->"Global_Entity"->
    "No_GL_Account"->"HSP_InputValue"->"Local"->
    @MEMBER(@NAME(@CONCATENATE ("Proj_",@ATTRIBUTESVAL("ProjType"))));
    ENDIF
    The above Member- Formula is failed to work when opening a Data Form that contain "Global_Period".
    The error messages in the log file are as follow:
    [Thu Mar  1 16:55:39 2012]Local/Projects/Plan1/admin@Native Directory/1122748736/Error(1200370)
    Error executing formula for [Global_Period] (line 1): attempt to cross a null member in function [@X]
    [Thu Mar  1 16:55:39 2012]Local/Projects/Plan1/admin@Native Directory/1122748736/Error(1200370)
    Error executing formula for [Global_Period] (line 0): attempt to cross a null member in function [@_VAL]
    When converting the "Global_Period" to be a Store member.
    The Calc Script below is exactly equivalent to the Formula, and run perfectly with no Errors.
    "Global_Period" ="ValidAccount";
    FIX ("HSP_InputValue", "Local","No_GL_Account", @RELATIVE ("Total_Expenses", 0),
    @RELATIVE ("Version",0), @RELATIVE("Scenario",0), @RELATIVE ("Years",0),
    @REMOVE (@RELATIVE ("Tot_Org",0),@IDESCENDANTS ("Service_Division")),
    @RELATIVE ("Tot_PRJ",0))
    SET CREATENONMISSINGBLK ON;
    "Global_Period"
    ("Global_Period"->"No_GL_Account" -> @CURRMBR ("Projects")=
    1* "ValidAccount"->"Global_Version" ->"Global_Scenario"->&Budget_Year->
    "Global_Entity"->"No_GL_Account"->"HSP_InputValue"->"Local"->
    @MEMBER(@NAME(@CONCATENATE ("Proj_",@ATTRIBUTESVAL("ProjType"))));
    SET CREATENONMISSINGBLK OFF;
    ENDFIX
    For many reasons we prefer to use the Dynamic Calc Formula for "Global_Period".
    As result of some checking I discover that the problem is with the function @ATTRIBUTESVAL,
    because the formula has worked fine when I replace the @ATTRIBUTESVAL with a string.
    Please help, what is the right way to write the formula in order to make it work.
    Thanks
    Tami Kedem

    Dear Cameron Lackpour,
    Thank you very much, for your reply.
    I'd given it a try, but it didn't help.
    The purpose of this formula is as follow:
    We holds 1's (ones) for allowable combinations of "Project_Type and Accounts", namely, each project type has different list of accounts that are allowed for input.
    I need to populate the input 1's to all projects (and their children) according to its "ProjType".
    The Data forms has periods in columns, thus by putting "Global_Period" (Hide) as the first column, and use "Suppress Missing rows" - for each project (on the "Page") , the form will show just the allowable Accounts in rows.
    (we have around 300 Accounts, 50,000 members in Project dimension and around 25 Types of projects).
    Please help.
    Thanks!
    Regards,
    Tami Kedem

  • Essbase 11.1.2.1 - Converting BSO Member Formula to ASO MDX Formula

    Hi all,
    I'm quite new at Essbase and I'm currently using Essbase 11.1.2.1. I have 2 cubes: one is a BSO cube and the other is an ASO cube.
    In the BSO cube, I have an account that has member formula:
    IF(@ISATTRIBUTE("US"))
    ("Sales"->"Budget"->"USD")-("Sales"->"Actual"->"USD");
    ELSEIF(@ISATTRIBUTE("EU"))
    ("Sales"->"Budget"->"EUR")-("Sales"->"Actual"->"EUR");
    ELSEIF(@ISATTRIBUTE("UK"))
    ("Sales"->"Budget"->"GBP")-("Sales"->"Actual"->"GBP");
    ENDIF
    Notes:
    - Sales is an account
    - US, EU, and UK are members of Country attribute dimension
    - Budget and Actual are members of Scenario dimension
    - USD, EUR, and GBP are members of Currency dimension
    I understand that the member formula for BSO and ASO are different. Can anyone please advise me on what the formula should be in ASO cube as MDX formula?
    Thank you very much!

    CASE [Currency].CurrentMember.[Country]
         WHEN "US" THEN ([Sales], [Budget], [USD]) - ([Sales], [Actual], [USD])
         WHEN "EU" THEN ([Sales], [Budget], [EUR]) - ([Sales], [Actual], [EUR])
         WHEN "UK" THEN ([Sales], [Budget], [GBP]) - ([Sales], [Actual], [GBP])
         ELSE 0
    END
    *Note that I am assuming Country is an attribute of Currency based on the information provided.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • IF Statement in Member formula V11 -EPMA

    Hi,
    As any one used IF and ENDIF statement in the member formula on EPMA V11? I am using the same but it fails to deploy and I have no clue whatsoever.
    Does it require an expression OpenInputvaluebox and closedInputvaluebox
    Thanks in advance

    Hi,
    This is the member formula formula I am trying to load:
    IF (@IsMbr("Local"))
    IF (@IsMbr(Hsp_InputValue))
    IF (@IsMbr("No Year"))
    IF (@IsMbr("BegBalance"))
    IF (@IsMbr("Forecast"))
    "RTD" = "Apr"->"Periodic" ->&FcstYear1: "Mar" ->"Periodic"->&FcstYear1;
    ELSEIF (@IsMbr("RF1"))
    "RTD" = ("Jul"->"Periodic" ->&FcstYear1: "Mar" ->"Periodic"->&FcstYear1) + ("Apr"->"Periodic"->&FcstYear2 : "Jun"->"Periodic"->&FcstYear2);
    ELSEIF (@IsMbr("RF2"))
    "RTD" = ("Oct"->"Periodic" ->&FcstYear1: "Mar" ->"Periodic"->&FcstYear1) + ("Apr"->"Periodic"->&FcstYear2 : "Sep"->"Periodic"->&FcstYear2);
    ELSEIF (@IsMbr("RF3"))
    "RTD" = ("Jan"->"Periodic" ->&FcstYear1: "Mar" ->"Periodic"->&FcstYear1) + ("Apr"->"Periodic"->&FcstYear2 : "Dec"->"Periodic"->&FcstYear2);
    ENDIF;
    ENDIF;
    ENDIF;
    ENDIF;
    ENDIF;
    Is there a syntax error here?
    Cheers

  • Help needed in BPC 10 Member Formula

    Hello Experts,
    We are in BPC 10 NW SP 11.
    Facing below error in report for Ratios hierarchy after
    member formula is built.
    Formulas is related to ratio
    IIF([ACCOUNT_GL].[RE_IREV]=0, NULL, [ACCOUNT_GL].[RE_IAADJ]/[ACCOUNT_GL].[RE_IREV]);SOLVE_ORDER=10
    RE_IREV is Income node
    RE_IAADJ is expense node.
    I have tried formula by removing square brockets for ACCOUNT
    DIM member. Still no success.
    Surprisingly, same formula, same hierarchy works fine in
    another Model.
    I have also compared measures in both the models, both are
    identical.
    Error in the report as below.
    Server message:
    code: UJO_READ_EXCEPTION_018
    severity: error
    description: MDX statement error: Value RE_IREV
    /CPMB/WADNXJI for characteristic /CPMB/WADNXJI unknown
    log id: KoFXP08mHM3X08002fJHZW
    DATAVALUE: Value RE_IREV /CPMB/WADNXJI for characteristic
    /CPMB/WADNXJI unknown
    MDX: WITH  MEMBER
    [Measures].[PERIODIC] AS 'IIF([/CPMB/WADNXJI               
    PARENTH2].[2/CPMB/ACCTYPE]="INC",-[Measures].[/CPMB/SDATA],IIF([/CPMB/WADNXJI                 PARENTH2].[2/CPMB/ACCTYPE]="EXP",[Measures].[/CPMB/SDATA],IIF([/CPMB/WADNXJI               
    PARENTH2].[2/CPMB/ACCTYPE]="AST",([Measures].[/CPMB/SDATA],
    CLOSINGPERIOD([/CPMB/WADBQQD               
    PARENTH1].[LEVEL02])),IIF([/CPMB/WADNXJI                 PARENTH2].[2/CPMB/ACCTYPE]="LEQ",-([Measures].[/CPMB/SDATA],
    CLOSINGPERIOD([/CPMB/WADBQQD               
    PARENTH1].[LEVEL02])),-[Measures].[/CPMB/SDATA]))))' SOLVE_ORDER=3  MEMBER [/CPMB/WADNXJI                 PARENTH2].[RE_ALAE_RATIO] AS
    'IIF([/CPMB/WADNXJI               
    PARENTH2].[RE_IREV                         /CPMB/WADNXJI]=0,
    NULL, [/CPMB/WADNXJI               
    PARENTH2].[RE_IAADJ                      
    /CPMB/WADNXJI]/[/CPMB/WADNXJI                 PARENTH2].[RE_IREV                         /CPMB/WADNXJI])'
    SOLVE_ORDER=10  SELECT NON EMPTY  {[/CPMB/WADBQQD                 PARENTH1].[2013.Q1                         /CPMB/WADBQQD]
    ,[/CPMB/WADBQQD               
    PARENTH1].[2013.Q2                         /CPMB/WADBQQD]
    ,[/CPMB/WADBQQD                 PARENTH1].[2013.Q3                         /CPMB/WADBQQD]
    ,[/CPMB/WADBQQD               
    PARENTH1].[2013.Q4                         /CPMB/WADBQQD]
    ,[/CPMB/WADBQQD               
    PARENTH1].[2013.TOTAL                      /CPMB/WADBQQD] } * {[/CPMB/WADNXJI                 PARENTH2].[RE_ALAE_RATIO]
    ,[/CPMB/WADNXJI               
    PARENTH2].[RE_ALL_RATIOS                   /CPMB/WADNXJI] ,[/CPMB/WADNXJI                 PARENTH2].[RE_COMBINED_RATIO]
    ,[/CPMB/WADNXJI               
    PARENTH2].[RE_EXPCOMM_RATIO] ,[/CPMB/WADNXJI                 PARENTH2].[RE_LOSS_RATIO]
    ,[/CPMB/WADNXJI               
    PARENTH2].[RE_OTHERCOMM_RATIO] ,[/CPMB/WADNXJI                 PARENTH2].[RE_STAT_COMB_RATIO]
    ,[/CPMB/WADNXJI               
    PARENTH2].[RE_STAT_EXP_RATIO] ,[/CPMB/WADNXJI                 PARENTH2].[RE_TOT_EXP_RATIO]
    ,[/CPMB/WADNXJI               
    PARENTH2].[RE_TOT_LOSS_RATIO] ,[/CPMB/WADNXJI                 PARENTH2].[RE_ULAE_RATIO] } ON
    0  from
    [/CPMB/WAMSZKS/!!O/CPMB/WAMSZKS]
    WHERE ( [Measures].[PERIODIC] ,[/CPMB/WAD3OFZ                 PARENTH1].[ACTUAL]
    ,[/CPMB/WAD0VHV               
    PARENTH1].[ALL_CHANNELS                    /CPMB/WAD0VHV] ,[/CPMB/WAD021F                 PARENTH1].[LEGAL                           /CPMB/WAD021F]
    ,[/CPMB/WADME7W                 PARENTH1].[ALL_DATASRC                     /CPMB/WADME7W]
    ,[/CPMB/WAD0DZ0               
    PARENTH1].[FGI                           
    /CPMB/WAD0DZ0] )
    V1:Value RE_IREV /CPMB/WADNXJI for characteristic /CP
    V2:MB/WADNXJI unknown
    V3:
    V4:
    Thanks,
    Senoy

    Hello Vadim,
    Thanks for the reply.
    I am able to process ACCOUNT_GL dimension.
    Also, I am using standard TIME dimension.
    I found that the virtual provider(created by using source of data for my model) too is showing the error, when I place above member formula.
    I am attaching the error messae when I try to do list records in the virtual provider.
    When I remove the member formula, everything is fine
    Thanks

  • Which is faster -  Member formula or Calculation script?

    Hi,
    I have a very basic question, though I am not sure if there is a definite right or wrong answer.
    To keep the calculation scripts to a minimum, I have put all the calculations in member formula.
    Which is faster - Member formula or calculation scripts? Because, if i am not mistaken, FIX cannot be used in member formulas, so I need to resort to the use of IF, which is not index driven!
    Though in the calculation script,while aggregating members which have member formula, I have tried to FIX as many members as I can.
    What is the best way to optimize member formulas?
    I am using Hyperion Planning and Essbase 11.1.2.1.
    Thanks.

    Re the mostly "free" comment -- if the block is in memory (qualification #1), and the formula is within the block (qualification #2), the the expensive bit was reading the block off of the disk and expanding it into memory. Once that is done, I typically think of the dynamic calcs as free as the amount of data being moved about is very, very, very small. That goes out the window if the formula pulls lots of blocks to value and they get cycled in and out of the cache. Then they are not free and are potentially slower. And yes, I have personally shot myself in the foot with this -- I wrote a calc that did @PRIORS against a bunch of years. It was a dream when I pulled 10 cells. And then I found out that the client had reports that pulled 5,000. Performance when right down the drain at that point. That one was 100% my fault for not forcing the client to show me what they were reporting.
    I think your reference to stored formulas being 10-15% faster than calc script formulas deals with if the Formulas are executed from within the default calc. When the default Calc is used, it precompiles the formulas and handles many two pass calculations in a single pass. Perhaps that is what you are thinking of.^^^I guess that must be it. I think I remember you talking about this technique at one of your Kscope sessions and realizing that I had never tried that approach. Isn't there something funky about not being able to turn off the default calc if a user has calc access? I sort of thing so. I typically assing a ; to the default calc so it can't do anything.
    Regards,
    Cameron Lackpour

  • Which is faster - Member formula or Calculation scripts?

    Hi,
    I have a very basic question, though I am not sure if there is a definite right or wrong answer.
    To keep the calculation scripts to a minimum, I have put all the calculations in member formula.
    Which is faster - Member formula or calculation scripts? Because, if i am not mistaken, FIX cannot be used in member formulas, so I need to resort to the use of IF, which is not index driven!
    Though in the calculation script,while aggregating members which have member formula, I have tried to FIX as many members as I can.
    What is the best way to optimize member formulas?
    I am using Hyperion Planning and Essbase 11.1.2.1.
    Thanks.

    The idea that you can't reference a member formula in a FIX is false. Here's an example:
    - Assume you have an account that has a data storage of Stored or Never Share.
    - This account is called Account_A and it has a member formula of Account_B * Account_C;.
    - You would calculate this account within a FIX (inside of a business rule) something like this:
    FIX(whatever . . . )
    "Account_A";
    ENDFIX
    If you simply place the member named followed by a semi-colon within a business rule, the business rule will execute the code in the in that member's member formula.
    Why would you want to do this instead of just putting ALL of the logic inside the business rule? Perhaps that logic gets referenced in a LOT of different business rules, and you want to centralize the code in the outline? This way, if the logic changes, you only need to update it in one location. The downside to this is that it can make debugging a bit harder. When something doesn't work, you can find yourself searching for the code a bit.
    Most of my applications end up with a mix of member formulas and business rules. I find that performance isn't the main driving force behind where I put my code. (The performance difference is usually not that significant when you're talking about stored members.) What typically drives my decision is the organization of code and future maintenance. It's more art than science.
    Hope this helps,
    - Jake

  • Member Formula Verifies in EAS but not Planning.  Error [1200497]

    All I am trying to construct a member formula with multiple IF statements. The formula will verify and work in EAS but when we try to refresh the database from planning we receive the error 1200497. We are on version 11.1.13. The offending member formula is below. Any help with what may be wrong is appreciated.
    If (@ismbr("020 Pallet","020 Case","020 Each"))
         If ("Tier 2 Low" == #missing)
              "Tier 1 Price";
         Elseif ("Volume"->"020 Bulk Fulfillment"<"Tier 2 Low")
              "Tier 1 Price";
         Elseif ("Volume"->"020 Bulk Fulfillment"<"Tier 3 Low")
              "Tier 2 Price";
         Elseif ("Volume"->"020 Bulk Fulfillment"<"Tier 4 Low")
              "Tier 3 Price";
         Elseif ("Volume"->"020 Bulk Fulfillment"<"Tier 5 Low")
              "Tier 4 Price";
         Elseif ("Volume"->"020 Bulk Fulfillment"<"Tier 6 Low")
              "Tier 5 Price";
         Else
              "Tier 6 Price";
         Endif;
    Else
         If (@ismbr("014-003","014-004","014-034","014-035"))
              If ("Tier 2 Low" == #missing)
              "Tier 1 Price";
              Elseif ("Volume"->"014 QA"<"Tier 2 Low")
              "Tier 1 Price";
              Elseif ("Volume"->"014 QA"<"Tier 3 Low")
              "Tier 2 Price";
              Elseif ("Volume"->"014 QA"<"Tier 4 Low")
              "Tier 3 Price";
              Elseif ("Volume"->"014 QA"<"Tier 5 Low")
              "Tier 4 Price";
              Elseif ("Volume"->"014 QA"<"Tier 6 Low")
              "Tier 5 Price";
              Else
              "Tier 6 Price";
              Endif;
         Else
              If ("Tier 2 Low" == #missing)
              "Tier 1 Price";
              Elseif ("Volume"<"Tier 2 Low")
              "Tier 1 Price";
              Elseif ("Volume"<"Tier 3 Low")
              "Tier 2 Price";
              Elseif ("Volume"<"Tier 4 Low")
              "Tier 3 Price";
              Elseif ("Volume"<"Tier 5 Low")
              "Tier 4 Price";
              Elseif ("Volume"<"Tier 6 Low")
              "Tier 5 Price";
              Elseif ("Volume"<"Tier 7 Low")
              "Tier 6 Price";
              Elseif ("Volume"<"Tier 8 Low")
              "Tier 7 Price";
              Elseif ("Volume"<"Tier 9 Low")
              "Tier 8 Price";
              Elseif ("Volume"<"Tier 10 Low")
              "Tier 9 Price";
         Else
              "Tier 10 Price";
         Endif;
    Endif;
    Endif;

    Is it being applied to plan types that don't include all the members being referenced in the formula, it could be that it validates on one plan type but not another.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Member formula in Essabse

    Hi,
    Its basic question I am looking for clarification.
    For any member with Member formula need to be Dynamic.
    I mean if that member formula needs to be considered that particular member needs to be Dynamic. is that correct. I am really confused.
    Any help will be greatly appreciated

    Not necessarily, you can have a formula member as "stored" in which case the member will be calculated when a default (non intelligent) calc all, or when you run a calc script that explicitly or implicitly calcs the member.
    In the DBAG take a look at Understanding Formula Calculation

  • If Conditon in Hyperion Member Formula

    Hi All,
    I am developing a classic planning Hyperion Application using EPM 11.1.2.2.
    I came across a situation where i need to use an "IF Condiotn" inside a member formula. I am not sure of its syntax, can some help me with that.

    Hi
    There is a slight difference when using IF statements in member formulas. You don't need to specify the member block association in a member formula
    In a calc script
    "Account"(
                    IF(@IMBR(Jan))
          "member1" * "Member2";
                     ENDIF)
    In a member formula
                 IF(@IMBR(Jan))
                    "member1" * "Member2";
                     ENDIF
    Thanks
    Anthony

  • Member formula IF statement syntax

    Hi guys
    Can someone assist me with the syntax of the IF statement on a member formula.
    On the measure "Total Cost", i would like to apply a formula which calls value loaded to a series of other measures (m1, m2, m3, etc) such that if the Number of bags is = 1, then a value loaded to M1 is called, and if the Number of bags is 2, a value loaded to m2 is called.
    Thanks

    I think there may a better way to do what you are trying to achieve but below is the syntax for IF statement
    IF("number of bags" == 1)
    "m1";
    ELSEIF("number of bags" == 2)
    "m2";
    ELSEIF("number of bags" == 3)
    "m3";
    ENDIF;

  • How to use user variable in Member Formula

    Hi All
    I have to write a member formula for %linearity quarter for a weekly application.This member will be used in reports and we do not want to do this calculation in reports, hence need to write member formula. The formula is
    Week1 of Q1 forecast / Q1 Total Forecast , Week2 of Q1 Forecast/ Q1 Forecast.............,Week15 of Q2 forecast/ Q2Total Forecast.......and so on.
    According to me it should work in the below mentioned manner , but need help in improvising the formula.
    If(@ismbr("Weeks1") or @ismbr("Weeks2") or @ismbr("Weeks3") or @ismbr("Weeks4") or @ismbr("Weeks5") or @ismbr("Weeks6") or @ismbr("Weeks7") or @ismbr("Weeks8") or @ismbr("Weeks9") or @ismbr("Weeks10") or @ismbr("Weeks11") or @ismbr("Weeks12") or @ismbr("Weeks13") or @ismbr("Weeks14") )
    "Current_Forecast"/"Q1"->"Current_Forecast";......
    If anybody can help in suggesting how can i use user variable in this formula to achieve the required result.
    Thanks

    Hi
    Thanks for the suggestion and it would be a better idea to use ISIDESC as compared to ISMBR.
    I also wanted to ask if in the below mentioned formula if the result of first line is true than will the second line pick the current_forecast value of the respective member of Q1 and divide it by the current_forecast value of Q1.
    IF(@ISIDESC("Q1"))
    "Current_Forecast"/"Q1"->"Current_Forecast";
    Also i need to know how can i write a member formula for week YOY% using user variables.The general formula is
    Week 1 of FY13 - Week 1 of FY12/Weeks 1 of FY12
    Week 2 of FY13 - Week 2 of FY12/Weeks 2 of FY13 and so on till week 53.
    Thanks

  • How to use local variable in member formula?

    Hi Expert,
    We would like to use a {local variable} in a member formula, so that it can pick up the prompt from webform upon save. Would like to know if it is possible to do? If so, what is the correct syntax?
    We attempted to use brace {scenario}, blacket [scenario], blacket with quote ["scenario"]. None of these work.
    We are using 11.1.2.1 version, EPMA, Hyperion Planning.
    Thanks in advance for your help!

    One other pointer. Where did you define your variable? Hopefully you went into Calc Manager and selected <Tools>, <Variables>. From there, navigate to your application or database. Right-click on your application or database and select "New". In the bottom panel, you'll need to select your Variable Type. Make sure you select "Member", and not "Members". You cannot pass "Members" (plural) to a web input form. Also, if you want to define a variable for a custom dimension, you'll need to do it at the database level. Standard dimension member variables can be defined at the app level. (Not sure why this is the case, especially when my custom dimension exists in all plan types . . . . )
    Anyway, hope this helps,
    - Jake

  • Block creation problem in member formula

    Hi,
    I have a member formula as below :
    IF(.....)
    x = a/b;
    ENDIF
    where a,b have their own member formulas.
    There is no issue with the calculations of x,a or b, but I am facing an issue with block creation of x.
    Is there a way to handle block creation through member formulas? I know the way out through calc scripts, but i am trying to limit the use of calc scripts.
    Thanks!
    Note:The storage property of all three members is store. Also, a and b lie in the same intersection (same block), and x lies in another intersection.

    In the following section of the dbag: http://docs.oracle.com/cd/E12825_01/epm.111/esb_dbag/frameset.htm?dcaoptcs.htm...
    Under the sub-section: In Equations in a Dense Dimension...
    It states as follows:
    In Equations in a Dense Dimension
    When you use a cross-dimensional operator in an equation in a dense dimension, Essbase does not automatically create the required blocks if both of these conditions apply:
    Resultant values are from a dense dimension.
    The operand or operands are from a sparse dimension.
    You can use the following techniques to create the blocks and avoid the performance issue.
    Ensure that the results members are from a sparse dimension, not from a dense dimension. In this example, the results member Budget is from a sparse dimension:
    FIX(Sales)
    Budget = Actual * 1.1;
    ENDFIX
    FIX(Expenses)
    Budget = Actual * .95;
    ENDFIX
    Use the DATACOPY calculation command to create and then calculate the required blocks. See Using DATACOPY to Copy Existing Blocks.
    Use a member formula that contains the dense member equations:
    FIX(Sales, Expenses)
    Budget (Sales = Sales -> Actual 1.1;*
    Expenses = Expenses -> Actual .95;)*
    ENDFIX
    The phrasing of that last part would lead me to believe that block creation via a member formula is possible. Though I'm not sure of the member to which that formula should be applied. Furthermore, the code looks funky in that we're fixing on Sales and fixing on Expenses, and them on the left side of the equation within the fix.
    Thoughts anyone?

  • Need help in member formula

    Hi All,
    i need a help in memberformula
    i've two sparce dimenions as below:
    Dim1:
    A
    --B
    --C
    Dim2:
    a
    ---b
    ---c
    d
    ---e
    ---f
    i need to write member formula on C from Dim1 if member is parent level member from dim2 then its to sum up with its childen values against B from dim1.
    If member is parent level memer from dim2 ex:d
    C->d = B->e + B->f
    Thanks in advance,
    Kiran
    Edited by: kirannch on Oct 16, 2012 4:16 PM

    Hi Tim,
    Thanks for your response.
    I'm using all HFM dimensions in Essbase Except Cust2 and Cust4.
    In my outline Account, Period and Year are dense dimensions and rest are Sparse.
    i'm comparing the data at parenttot with usdtot, contr as we are using flat members.
    Below script is not updating any parent level value of USDTOT combination. i'm running the aggregation with exclude elim data before executing this calc script.
    USDTOT,Contr are sparse dimension members and Entity also sparse.
    Please can you help on the below scripts.
    SET CALCPARALLEL 3;
    SET AGGMISSG OFF;
    SET FRMLBOTTOMUP OFF;
    SET CACHE HIGH;
    SET LOCKBLOCK HIGH;
    EXCLUDE ( "Elim")
    /Calculation "USDTOT" at Parent level of Entity Dimension with sum of children same parent entity with Contr member */
    SET UPDATECALC OFF;
    FIX("ACT","FY12")
    "USDTOT"(
    IF(NOT @ISLEV("ENTITY", 0));
    "USDTOT" = @SUM(@CHILDREN(@CURRMBR("ENTITY"->"Contr")));
    ENDIF;);
    ENDFIX;
    ENDEXCLUDE;
    Thanks in advance,
    Kiran
    Edited by: kirannch on Oct 24, 2012 7:38 PM

Maybe you are looking for