HFM 9 Business Rule Calculation missing roll up members

Hi,
I could use some help with this one.
I have a business rule calculation that is simply copying a value from one account to another account with different C4 values.
HS.Exp "A#CFAdjEBITDA.C4#CFCalc = A#AdjEBITDA" & Tops
I have done this type of calculation dozens of times and it always works. Now, this time it does not.
The account AdjEBITDA is a rollup of two accounts that are also rollups. The answer I get is the value of the first base level child in the first account rollup. I took the class on business rules many years ago and I seem to remember that this was a known issue. However, I of course cannot find any notes I made on the problem. I only remember us talking briefly about it and that there was an easy solution. Which of course, I cannot remember either.
Is any one familiar with this problem or has run into it before?
Thanks,
James

I have never seen HFM not pick up values from a parent member. It really should work. This requires a little debugging on your part. If you have ever used "WriteToFile" which most applications do, then you can write out the expected value to a file to get more insight as to why this is failing. Here is an example:
nTheNumberIWant = HS.GetCell("A#AdjEBITDA" & Tops & ")"
Call WriteToFile("This the the number I'm trying to get: " & nTheNumberIWant)
The output of the WriteToFile subroutine should be:
This the the number I'm trying to get: 25
If you get a null, such as
This the the number I'm trying to get:
Then you have a problem with the target intersection.
If you don't already have a WriteToFile subroutine in your rules file, you can see an example in the rules of the Comma sample application that ships with HFM.
--Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Executing Business Rule / Calculation from Excel - Essbase

    Hi All,
    Currently I am trying to run the calculations / Business rules from essbase after locking and sending data. I am using the below code to run the business rule / calculation from essbase.
    Sub RunBusinessRule()
    On Error Resume Next
    X = EssVCalculate(Empty, "AggFlash", False)
    MsgBox "Business Rule executed successfully"
    End Sub
    The issue is that my code gives me a message that the business rule is executed successfully but the rule keeping running in the background for some time. Actually i need a code which will check the status of the process of calculation and when it actually gets completed I should get a message that it's been done. Please expedite.

    Hi,
    I take it you mean calc script and not business rule as really they are separate.
    The reason you get a message straight away is because you have the synchronous parameter set to false, if you set it to true it should not return until it is comple
    e.g.
    X = EssVCalculate(Empty, "AggFlash", True)
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rule / Calculation

    Hi All,
    Need some clarification regarding the essbase calulation.
    Below is the scenario.
    I have the below hierarchy:
    Account XYZ - 500
    Acc1 - 250
    ACC2 - 150
    ACC3 - 100
    Say for example that my calc script/business rule runs for 30 mins. Before previous aggregation Account XYZ has a consolidated value of 500.
    Is there any chance that the account XYZ shows a different value if I try to retreive the data while my calc or rule is running. I haven't changed the values for Acc1, Acc2 and Acc3.
    My calc runs 3 times a day and a users has reported that they have seen the value for XYZ showing different value other than 500 which it ideally should be.
    Is there any such possibility thar essbase displays a diffrerent values at the time of calculation or is this the behaviour of Essbase???

    As I undestand ACC1-3 are level 0 members. And how about other dimensions? Where do your digits are stored (250, 150, 100). Is it a level 0 block?
    Suppose you have ACC1->version1->scenario1->USD->Year1->Entity1->Period1->CustomDim11->..CustomDim1n=250
    Which of above members are aggregated?
    Also look at the transactional property of your Essbase db (which stores your digits). Is it Commited access or uncommited, what is the value for Synchronization point

  • Members on rows, can they be passed to run-time prompt in a business rule?

    Hi!
    I have a input form which has a business rule with properties "Run on Save" and "Use members on Form".
    The business rule has run-time prompts (local variables) as follows (showing only the fix part of br...)
    FIX ([V_Year],[V_Version],[V_Scenario],@LEVMBRS ("Offering", 0),[V_Entity],
    [V_ICP], [V_Account])
    calculation...
    endfix
    Now my accounts are on rows and I would like pass those account members to the [V_Account] variable through run time prompt. The [V_Account] ís a local variable with Type "Members" in Account dimension. I have also selected 0-level accounts as limits. Other dimension members from page/pov seem be passed successfully to run-time-prompts.
    The run-time-prompt does not seem to be able to catch those account members on rows? Is it at all possible to pass members on dataform rows to run time prompts?
    kind regards,
    user637777

    Hi!
    Thanks John!
    I just have live with that and find another way to restrict the calculation regarding those accounts.
    kind regards,
    user637777

  • Business Rules - Selecting Members

    Hope somebody can help me with an issue I am facing.  When I run/validate a Business Rule and when I try to select a member, I encounter the following:
    Some parent level members have a lock symbol and cannot be selected
    Some zero level members have a green lock symbol and cannot be selected
    Other member (parent and zero level) without the lock symbol works with no issues
    The members with locks beside them were created a while back and calculations in those members appear to be correct.  However, why can’t I select them to run?  How can I fix the issue?
    Thank you

    John,
    The prompt is for  @IDESCENDANTS( [GeoPrompt] ) so it should include everything in the GEO dimension. Additionally, I am logged on as ADMIN so I think it should not be limited by security.  Also, using the same credentials, I can access all members through smartview and the webforms.  Is there a standalone module in Business Rules that can be causing the issue?
    Thank you.

  • Error Validating Business Rule in Calculation Manager (@_AT) ?

    I have migrated an 11.1.1.3 business rule and two macros (templates) into Calculation Manager 11.1.2.2. When I validate the script I get the following error. Has anybody seen this before or have any guidance? The script syntax checks ok.
    "An error occurred in: Rule:FCO_3YrBud_DGAlloc Error:Error parsing formula for [FIX STATEMENT] (line 24): Expected [(] found [@_AT] after function name Rule FCO_3YrBud_DGAlloc "
    Line 24 is the first FIX statement in the script show below:
    SET UPDATECALC OFF; SET AGGMISSG OFF;
    %Template(name:="FCOm_TargetSection",application:="FCO",plantype:="FCO",dtps:=("parm1":=([["Three Year Budget"]]),"parm2":=([["DGAllocation"]]),"parm3":=([[{FCOrtpYears}]]),"parm4":=([[Mar]])))
    %Template(name:="FCOm_TargetAgg",application:="FCO",plantype:="FCO",dtps:=("parm1":=([["Three Year Budget"]]),"parm2":=([["DGAllocation"]]),"parm3":=([[{FCOrtpYears}]]),"parm4":=([[Mar]])))
    First template:
    SET UPDATECALC OFF; SET AGGMISSG OFF;
    FCOm_TargetSection
    parm1 = scenario
    parm2 = version
    parm3 = years
    parm4 = periods
    The purpose of this macro is to translate Target input to GBP and copy to Curr NA and aggreggated. Step1: Copy inputs to Total Section to I/P Total Section and No Project Step1: Copy inputs to Converted Currency - no need to translate as all inputs are in GBP Step2: Copy Input GBP values to Curr NA
    FIX(([["Three Year Budget"]]),([["DGAllocation"]]),([["FY15"]]),([[Mar]]),@IDESCENDANTS("BH - T"), "Curr NA", "Baseline","Entered Currency","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Total Section" TO "Input_Total Section";
    DATACOPY "Total Section" TO "No Project";
    ENDFIX
    FIX(([["Three Year Budget"]]),([["DGAllocation"]]),([["FY15"]]),([[Mar]]),@IDESCENDANTS("BH - T"), "Curr NA","Total Section", "Input_Total Section", "No Project","Baseline","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Entered Currency" TO "Converted Currency (GBP)";
    ENDFIX
    FIX(([["Three Year Budget"]]),([["DGAllocation"]]),([["FY15"]]),([[Mar]]),@IDESCENDANTS("BH - T"), "Total Section","Input_Total Section","No Project", "Baseline", "Entered Currency","Converted Currency (GBP)","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Curr NA" TO "Input GBP";
    ENDFIX
    Second template:
    FCOm_TargetAgg
    parm1 = scenario
    parm2 = version
    parm3 = years
    parm4 = periods
    The purpose of this macro is to  aggreggate Target data Step2: Aggregate data
    FIX(([["Three Year Budget"]]),([["DGAllocation"]]),([["FY15"]]),([[Mar]]),"Baseline","Entered Currency","Converted Currency (GBP)")
    CALC DIM("Account","BudgetHolder","Input Currency","SectionProjects");
    ENDFIX

    Actually
    I have just been re thinking about your post. My comments above may not be correct for your situation. The Syntax above is correct if you are talking about the code "within" the template itself (So if you open the template and look at the code). But if the code you posted in your messages was from the script window of the rule (When in script mode) then your problem is something different potentially.
    So the first thing is to make sure that in the template itself (template open) the DTPs are defined in the global range or member range as [Parm1],[Parm2] etc (Or fix, depending on how the template is shown) as I said in my first response above, the template only defines the DTP, not the members and should be enclosed in square brackets, like [Parm1}. That will make sure the DTP as defined in your template correctly. Then we need to look at how you are defining those DTPs in the rule itself. Normally this is a lot easier if your rule is in graphical view, as you just click on the template and your can enter the values. As you have your rule in Script mode you need to be very careful in how you define the DTP values. Each DTP 'type' has different syntax in script mode.
    On looking at your script again I can see another problem potentially. When defining the values in the DTP's, the value needs enclosing with double square brackets, like so  [["Three Year Budget"]]. In your script you also have parenthesis. Which isn't always correct. There are times having parenthesis and double brackets is correct, but that is only when your DTP is type "Members", and by default I think old business rule macros will be translated into templates with the DTP types of "Script"
    So if you also amend your business section where the templates are defined to as below; (as you can see, no parenthesis around the DTP values).
    SET UPDATECALC OFF; SET AGGMISSG OFF;
    %Template(name:="FCOm_TargetSection",application:="FCO",plantype:="FCO",dtps:=("parm1":=[["Three Year Budget"]],"parm2":=[["DGAllocation"]],"parm3":=[[{FCOrtpYears}]],"parm4":=[[Mar]]))
    %Template(name:="FCOm_TargetAgg",application:="FCO",plantype:="FCO",dtps:=("parm1":=[["Three Year Budget"]],"parm2":=[["DGAllocation"]],"parm3":=[[{FCOrtpYears}]],"parm4":=[[Mar]]))
    The end game should be that when you open your rule and view in script mode and then select script tab down the bottom your templates should look as below, as you will see, all that should be shown in the script are the values substituted from the template definition, key point is that there are no brackets or Parenthesis. The script should show "pure" script. ( I have highlighted and underlined how those 4 DTPs should translate in the script view)
    First template:
    SET UPDATECALC OFF; SET AGGMISSG OFF;
    FCOm_TargetSection
    parm1 = scenario
    parm2 = version
    parm3 = years
    parm4 = periods
    The purpose of this macro is to translate Target input to GBP and copy to Curr NA and aggregated. Step1: Copy inputs to Total Section to I/P Total Section and No Project Step1: Copy inputs to Converted Currency - no need to translate as all inputs are in GBP Step2: Copy Input GBP values to Curr NA
    FIX("Three Year Budget","DGAlocation",FY15,Mar,@IDESCENDANTS("BH - T"), "Curr NA", "Baseline","Entered Currency","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Total Section" TO "Input_Total Section";
    DATACOPY "Total Section" TO "No Project";
    ENDFIX
    FIX("Three Year Budget","DGAlocation",FY15,Mar,@IDESCENDANTS("BH - T"), "Curr NA","Total Section", "Input_Total Section", "No Project","Baseline","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Entered Currency" TO "Converted Currency (GBP)";
    ENDFIX
    FIX("Three Year Budget","DGAlocation",FY15,Mar,@IDESCENDANTS("BH - T"), "Total Section","Input_Total Section","No Project", "Baseline", "Entered Currency","Converted Currency (GBP)","A - 6111","A - 6112","A - 6113","A - 65","A - 66","A - 620905")
    DATACOPY "Curr NA" TO "Input GBP";
    ENDFIX
    Thanks
    Anthony

  • When we use calculation script and when we use business rule

    when we use calculation script and when we use business rule can anyone please tell me

    Re the OP's question, here is an excellent introduction to Calculation Manager and business rules. It was the first hit when I googled "calculation manager hyperion".
    http://ranzal.wordpress.com/2010/06/11/oracle-hyperion-calc-manager-%E2%80%93-part-1/
    You can also go to odtug.com -- the Tech Resources section has a series of presentations on Calculation Manager, from beginner to intermediate.
    The added benefit with business rules are that you can use variables and runtime prompts. You can also link planning with business rules and pass information from a web form into a business rules.^^^Only with Planning. There are no runtime prompts with Essbase in 11.1.2.2 but I hear it is coming back in 11.1.2.3
    We can use Business Rule for all applications and it is GUI.^^^Doesn't have to be GUI-based. You can (depending on version) flip back and forth between GUI and script. I have not tried writing (nor can I actually think why you would want to do this) a Calc Mgr rule for multiple apps. Maybe you are thinking of a script object that can be called multiple times?
    To check whether a calc script is executed or not you have to use the Essbase application database log file (Plan1.LOG)^^^As business rules are, sooner or later, translated to BSO (and hey, ASO too and HFM and Fusion and HPCM and they can differ, a lot, so this is not always true) calc script language, you can always check in the application log to see what is run if Planning or BSO Essbase.
    Regards,
    Cameron Lackpour

  • Can members in business rule prompts be sorted

    Hi,
    we have business rules with prompts in accounts as Level 0 of a parent. the users are complaining that these leaf level members in the prompts selection window are not sorted. Is there a way we can display the selection list in prompts alphabetically?
    thanks

    Hello,
    the users see the alias or ID?
    When it is the ID, then I can agree what Sree said. If it is the alias, you have a bigger challenge. Sorting the children on Alias.
    I would recommend to use a relational table for creating the dimension files in EPMA or OutlineLoad.
    Regards,
    Philip Hulsebosch

  • How do I FIX members in a Business Rule to those set in outline security?

    Let's say..
    - I've granted write access to one user a branch of members in one dimension.
    - I include a Level 0 selection of that dimension in a data form in the Page view, which correctly allows input only to those members for that user.
    How can my BR fix only on those bottom level members appearing in the dataform?
    J

    Hi,
    one possibility is to create RTPs in your Business Rule, insert these (global variables) in your fix statement, connect the Business Rule to your dataform and check in business rule properties tab the boxes for "Run on Save", "Use Members on Data Form" and "Hide Prompt".
    Then your users can only select members in pages for that they have access rights and the business rule calculates the selected member combination.
    Kind regards
    André

  • Business rules in calculation manager

    Hi experts,
    I'm currently working with Hyperion Fusion Edition 11.1.1.2.
    In calculationmanager I created 10 business rules for an application.
    I then deleted all of them in one step (marked all then right click "delete").
    The intenet explorer browser freezed showing "DELETE".
    I then closed the browser and logged back in, imported the new 10 business rules to the application and deployed them.
    It is very wierd that I still have the old 10 business rules which I deleted plus the 10 new business rules.
    The old business rules are not to be found either in system-,deployment-, or list-view.
    Is there workaround to delete the 10 old business rules which I cannot see in calculation manager and still exist in planning?
    Many thanks
    Ed

    There are 2 ways to deploy rules to planning from calc manager.
    Option 1. When you select a bunch of rules and deploy, the old ones are not deleted from planning.
    Option 2. Go to the deployment view, select the rules you want to deploy. Go back to the system view and do a deploy at the application node.
    When you deploy at the application level, planning will erase all the existing ones and replaces it with the new ones.
    -SM

  • Business rules and calculation manager

    Hi ,
    Could anyone pls tell me the difference between the calculation manager and business rules?

    Calculation manager is a web component that is designed to manage business rules from a web interface. It is enabled to build calculations also using a graphic interface, although this mode is more suitable for simple calculations than for complex ones. Calculation manager allows you also to use complex templates that you can customize with prompts in order to adapt them to each rule without being force to change the code. Basically it is an evolution of the essbase business rules macro function. Once a business rule is created it has to be deployed in order to be used with planning applications. The deploy activity copies the rule on the database, both in the calculation manager tables in and the planning tables.
    Business rules are instead essbase artifacts. They aren't available any more from version 11.1.2.2 on.
    In versions older than the 11.1.2.2 you were forced to use calculation manager for epma applications, while essbase business rules were used in classic applications. In terms of calculations there is no difference between the two technologies, they behave exactly in the same way. There is only a small difference in the prompts syntax, {} in calculation manager and [] in essbase business rules.
    Although i find the calculation manager web editor quite slow and imprecise to use, I anyway advice to use it in order to make eventual release upgrades easier.

  • Business rule for Essbase cube calculations in 11.1.1.3?

    Hi,
    Can we use business rules to use @XREF from data transfer from one cube to other cube.Why I went for business rule is, I can put set of business rules in a Sequence and any new user can run this Sequence on demand and even we need prompt also in that.
    So, I want to clarify whether I can use the business rules for Essbase calculations along with calc scripts??
    Appreciate the response.
    Thanks

    Right,
    Actually, Business rules are running essbase cubes in every case.
    Remember planning and BRs are adding extra layers like prompts, forms, security, processes...
    Think Business rules are extended version of calc scripts with some more functionality. They are ultimately running on essbase cubes...
    Regards,
    Ahmet

  • How to add access to business rule in calculation manager?

    Hi all,
    I would like to add access to each business rule in calculation manager. Is it the same method used like in 9.3.1? I can't find any document talking about that.
    Thanks
    Gary

    Hi,
    I thought it goes on the rule security, so say you had two rules in a ruleset, if you give access to both the rules to a user then the user will also see the ruleset.
    If you gave access to one of the rules then the user would not see the ruleset.
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules apparently locked in Calculation Manager

    We have encountered an issue with the 11.1.1.2 version of Calculation Manager where Business Rules are apparently becoming locked when a user edits a rule and exits improperly (i.e. when Workspace times out). When this happens the rule can be opened by other admins but cannot be edited. The only way we have found to correct this is have the same user log in and close the rule properly. However, we have one rule locked by a user who is no longer active and with the company. Does anyone know of a way to unlock the rules in Calc Manager? Our Calc Manager is being used with EPMA applications.
    Thank you.

    I remember coming across this problem about 1 year ago and like you, the recycle the server wasn't an option / didn't work
    I don't remember the exact steps but try this
    Export the calc to an xml file. Delete the calc. Re-import the calc. If I remember correctly the master admin can delete the calc even if it's checked out. If that doesn't work try just exporting and importing ontop of the calc. One of those worked if I remember correctly but it was almost 1 year ago that we did this (so my memory is getting a bit hazy).
    This was also in version 11.1.1.3 not 11.1.2 so there is a chance that 11.1.2 it won't work.

  • Migrate Business Rules to Calculation Manager

    Hi Friends,
    we have Hyperion Planning v11.1.1.3 Application (Classic Application). I want to migrate from Business Rules to Calculation Manager.
    Please let me know the procesure.
    Thanks & Regards
    Sai.

    In EAS go to export, select the rules, make sure "for calc mgr" is ticked.
    Import the rules into calc manager.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Query about TABSTRIP Control within Sub screen

    Hi Expert, I have requirement like follows: In IW32->Enhancement Tab screen is as subscreen and No: 0900. Now I want to have 2 different sub screen say 0910 and 0920 each of this for different purpose according to Order Type as per clients requiremen

  • Ipod classic won't restore error 1439 appears in itunes

    my ipod classsic has entred disk mode after dropping it but it won't restore an error 1439 appears in itunes. what can i do or would buying another ipod be better

  • What are the differences between trigger and constraints?

    what are the differences between trigger and constraints?

  • Where to Install ODI for ERPI

    I have the following on 11.1.2: Box1: Foundation, Planning Box2: ERPI I want to load data from the GL into Planning using ERPI. My question is where do I install ODI ? On Box3, the ERPI box? or Box 1, the Planning box? Also can I use an ODI Server wh

  • Core usage

    Hi alI, i have a questione about cpu usage on my Power Book. It appears to be using  only odd core so 4 core instead of 8, is it normal ? Thanks in advance . MM