Business Rule - Filtering based on dimension

Hi,
I am trying to copy data from one scenario/version to another scenario/version based on account member(smartlist) value.I am currently unable to achieve this result.
/* Copy the data from Begin Scenario to Final Scenarioo
based on the vendor status*/
FIX(@Relative(Year))
"Begin Scenario"
IF (("Vendor Status" == [[VENDOR_STATUS.NEW]]) OR
("Vendor Status" == [[VENDOR_STATUS.ACTIVE]]) OR
"Begin Scenario"->"Working Version" = "Final Scenario"->"Working Version";
ENDIF
ENDFIX
In this example,"Vendor Status" is an account member of the type smartlist. I would like to filter data based on "Vendor Status" as I copy from
one scenario/version to another scenario/version. The above rule is not copying any data.
Kindly advice.
Thanks,
Cz

Hi,
Try out the following way
FIX(@Relative(Year,0))
"Begin Scenario"
IF (("Vendor Status" == 1) OR
("Vendor Status" == 2) OR
"Begin Submission"->"Working Version" = "Final Scenario"->"Working Version";
ENDIF
ENDFIX
/* Assuming Smart List Value of Vendor_Status.New=1 & Vendor_Status.Active=2 */
As in backend ( i.e Essbase) the smart list values are stored in numerical.
Cheers!!

Similar Messages

  • Business Rules Security based on work flow

    Hello,
    How can we enable security on Business Rules, based on the workflow,
    for example,
    we have Business rule, that is attached to one input form, which opens a window for entering run time prompts for entering
    new asset details, and after entering he saves and the planning unit is promoted to next level,
    but on the input form, the Business rule is still visible, where by he can enter the the details though the planning unit is promoted,
    Is there any way that makes the Business rule access disables/hides as the planning unit is promoted?
    Thanks,
    murali.

    There is currently no out-of-the-box integration between workflow and business rule security.
    This thread may help with some alternatives:
    Workflow Problem
    - Jake

  • Unable to use DIMLIST property in business rules

    Hi Team,
    We have updated Account dimension with TYPELIM(10), DIMLIST(20) properties and in AUTOMATIC ADJUSTMENT DETAILS in the SOURCE ACCT when we update it with valid account ID or TYPELIM property value, it validates sucessfully.But, when we update it with Valid DIMLIST property value, it throws an error <Property Value>  value does not exists in ID,TYPELIM of Account dimension. We are able to see the DIMLIST property values in the list of available options.
    We are unable to use the DIMLIST property in other business rules and for FLOW dimension also.
    Server Details : BPC MS 7.0 SP3 patch level 2
    Appreciate if you can give your inputs on this.Please let me know if I need to provide any other information.
    Kranthi

    Hi Kranthi,
    Based on my observation the source account column specification in the Automatic Adjustment Details business rule allows only to specify a member of either account id or TYPELIM property from account dimension. Other properties not available for the selection.
    Hope this helps.
    Regards,
    Badrish

  • Using Y-T-D values in Business Rules

    Hi All,
    I am using Hyperion Planning 11.1.1.1.0.
    I have enabled Y-T-D dynamic time series in the application.
    I need to calculate YTD variance% , the formula to be used is :
    (Y-T-D(Oct)Budget - Y-T-D(Oct) Actual) / Y-T-D(Oct)Budget * 100.
    I have a business rule(created in EAS) that does the other variance % calculations which are pretty simple like Budget-Actual/Budget*100.
    The formuls for the normal variance Percentage works but i get an error when writing a formula for :
    "Variance%(YTDActual&YTDBudget)"
    ("Variance%(YTDActual&YTDBudget)"="Y-T-D(&CurrentMonth)"->Budget - "Y-T-D(&CurrentMonth)"->Actual / "Y-T-D(&CurrentMonth)"->Budget *100;)
    The error that comes up is as follows:
    Detail:Cannot calculate. Analytic Server Error(1200497): Error compiling formula for [Variance%(YTDActual&YTDBudget)] (line 2): unknown member name ["Y-T-D(&CurrentMonth)"] in function [operator @X]
    Can somebody please advice as how to use Y-T-D values in the formulas?
    Kind Regards.
    Mirka

    Here are a couple of tips that may help:
    1) You cannot directly reference dynamic-time-series members in a business rule or a member formula. These are "virtual" members. This is a common misconception.
    2) Even if you could reference these members in a formula, you couldn't store a value in them anyway, as they are dynamic.
    3) It usually doesn't make a lot of sense to calculate variances like these in a business rule. I would recommend making them dynamic, two-pass member formulas (not business rules) in your Scenario dimension. They don't need to be "Two pass" in the typical sense (eg. recalculating a ratio at the quarters), but they need to fire last, so set them as two pass. (otherwise you will end up with order of calculation issues where other calculations fire after the variance and you get incorrect results).
    In looking at your requirement, you don't really need a variance that calls out dynamic time series members. Simply create a variance scenario with a formula like @VARPER("Budget", "Actual");. If you have "Y-T-D(Oct)" selected as your time period in your form or spreadsheet, and "Bud vs Act %" (this is your new variance scenario) selected, it will calculate the YTD variance for October, or whatever time period you have selected.
    Just to recap:
    1) Create a new scenario called "Bud vs Act %". Make it dynamic and two-pass. Give it a formula of @VARPER("Budget", "Actual");
    2) Scrap your business rule. Add other variance scenarios as needed.
    3) Add your YTD member and your variance scenario to a form, and test.
    Hope this helps,
    - Jake

  • User Variable in Business Rule or Global Variable

    I wanted to call the User Variable value of Planning application under the Globel Variable of Default Value. Example I have created one Globel variable under the Default value the user varible value need to pickup so any thought how I can do this.
    I know in the Form if you use &UsrVar this will show the user variable value in the Data form but it is not showing the User Variable value in global variable or inside the Business rule.It is giving an error message there is no substitution variable has been defined. Please explain.
    Thanks in Advance,
    Irsh
    Edited by: 818693 on 17 May, 2011 7:22 AM

    Hi,
    User variables are meant to be used in web forms and web forms only. You can certainly pass their values to business rules when you used them in POV or page section of the form during save. All you need to do is to create another business rule (local or global) variable in business rule on the corresponding dimension and use it in your business rule. If you enable running the business rule on save and using the form values for variables options in form properties, business rules would replace the values of business rule variables with the values that are set in user variables.
    Cheers,
    Alp

  • Based on dimension aggregation

    I have a fact table with 2 sources. One of these sources has only one measure and I am having problems with it.
    This measure must use based on dimension aggregation, but it don't work. When I set this option, the measure shows a blank value in Answers, but when I switch to a default aggregation rule (not based on dimension), like sum or max, the value is shown correctly in Answers.
    My doubt is: is it necessary any other configuration on dimensions or fact tables in order to use based on dimensions aggregation? I just change the value in the aggregation tab of the measure, is there any other step necessary?
    Thanks

    I found this text on the help, but I didn't understand, because when I check the "based on dimensions" check box, I can choose aggregation rules for each dimension, not only the time dimension.
    Also, I found in the help menu:
    "In the Aggregation tab, select the Based on dimensions check box.
    The Browse dialog box automatically opens.
    In the Browse dialog box, click New, select a dimension over which you want to aggregate, and then click OK.
    In the Aggregation tab, from the Formula drop-down list, select a rule."
    I did the same steps suggested by the text above, but it didn't work.

  • Can I pass the selected member at page dimension to form business rule?

    I have a business rule which will be executed when the form get loaded, the business rule is very complex, so I want to narrow down the calculation by passing the selected member at page dimension to the business rule.
    For example, I have year as page dimension, and I only want to calculate the selected year at one time? How can I do it?
    I know runtime prompt, but I don't think it's a good way, since you need to select again.
    Thanks
    Tony

    You can use a variable and a run time prompt.
    You can set the business rule options in planning to "Use Members on Form" and "Hide Run time prompt"
    This way the page/pov member will be passed into the business and into the variable.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Aggreation Based on Dimensions - Aggregation rule: Evaluate_Aggr

    Hello Experts,
    Can any of you explain to me how do you use the Logical Column Aggregation based on dimensions?. If you can set up a simple example would be great. Also, what is the definition of the aggregation rule : Evaluate_Aggr?, please give a simple example
    Thanks for your time
    Pablo.

    And it's not the same than a level based measure :
    The definition of a level based measure :
    http://gerardnico.com/wiki/dat/obiee/bi_server/design/fact_table/level_based_measure_calculations
    An example with evaluate (lag analytic function)
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_period_to_period_lag_lead_function
    Check the two and you will see the difference in the definition.

  • Calling a ILOG JRule based business rule from ABAP

    Hi,
    JRule is a BRMS product from ILOG. I have few business rules maintained in JRule and exposed as JAX Web Service. I was wondering if it is possible to call those rules from ABAP using client proxy similar to the technique used to call Enterprise Services or any other SOAP based web services. Any help is highly appreciated.
    Thanks in advance
    Nilay

    Yes you can. Once you have deployed your rule app to the ILOG Rule Execution Server, you can get login to the RES and get the WSDL and then use the WSDL to invoke the rules.

  • Use of other dimension filter in business rule

    Hi,
    I have a requirement to create two eliminations and adjustment business rules, one of which should only run for a specific category and the other should run for all other categories. I thought I could use the other dimension filter for this and on the first rule CATEGORY=ACTUAL is accepted by the system. However, on the second rule I entered CATEGORY<>ACTUAL and when I save the rule I get an error saying that CATEGORY<>ACTUAL is not a valid logical expression.
    As we have a number of categories I really do not want to create a rule for each one, so does anyone know a way to create a rule for all but one of my categories?
    Thanks,
    Arnold

    Hi Vadim,
    we currently have around 20 categories (plus ACTUAL) and we get two new every year for multi year plan/forecast. If only = works I would have to create one very long string for the second rule and add to it very year.
    I will try it though and if you are correct I might have to open a note with SAP.
    Thanks,
    Arnold

  • Not able to access the web based RuleAuthor of Oracle Business Rules

    Hi ,
    I have Installed Oracle SOA Suite (11g) version from here .
    I have followed the steps in the Installation guide .
    I was able to install it successfully. At present I need to Work on the oracle Business Rules.
    As per the documentation I have tried to access the Rules author at the following URL
    http://localhost:7001/ruleauthor/
    But I was not able to access it.
    Please let me know if I need to install any other component to access Rule Author. please let me know if you need any more information.
    Thanks in advance for your time,
    Raja Kumar

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

  • How to create Business Rule?

    Hi All,
    i am new to Hyperion, can any one help me on the following issue.
    i want to crate a business rule to aggregate data from level 0 to parent level for one partcula data form and aloso have to calculate the data for the following member
    Cost per Unit = Total Revenue/Unit
    i have already have the member formula in outline for cost per Unit as follows
    Cost per Unit = Expense/Unit
    How i can create the business ruleto calculate the data for cost per Unit (Total Revenu/Unit) and the aggregation of data to the parent level in data form
    I have 12 dimensions and i am using 9.3.1 Version
    Thanks in advance
    Ram
    Edited by: Ram on Sep 2, 2011 2:36 AM

    i want to crate a business rule to aggregate data from level 0 to parent level for one partcula data form^^^These are oldies but goodies:
    http://camerons-blog-for-essbase-hackers.blogspot.com/2009/06/why-i-hate-and-love-business-rules-part.html
    http://camerons-blog-for-essbase-hackers.blogspot.com/2009/06/why-i-hate-and-love-business-rules-part_17.html
    Cost per Unit = Total Revenue/Unit^^^Are you asking if it makes sense to calculate this ratio at all levels of the database or only at the top level? If you mean that it only makes sense at level zero, you could use a FIX statement to select all level zero members and then perform the calculation. Based on the formula, I would think you could get away with a dynamically calculated member formula, assuming Total Revenue is dynamically calculated as well. Generally, level zero calcs in a business rule are only required if there's a percentage involved; if the formula is valid at aggregated levels, make it dynamic unless reporting performance (I have seen dense formulas that go across many, many blocks -- bad idea) falls off a cliff.
    Regards,
    Cameron Lackpour

  • Generalise business rule to fetch common inputs region wise

    Hi,
    Our entity dimension is changed to program(Which means projects) dimension which will include the location as a parent and under that are the list of programs specific to that location. our legal entity is a custom dimension. This change is done to enable the workflow program wise. Now there are certain planning assumptions which are common across programs in a country. The common inputs are captured against a member in entity and legalentity dimension. The member names are something like IND_Prog_assumptions in entity dimension and India_Assumptions in Legalentity dimension. The hierarchy is something like below
    LegalEntity,India,Chennai,Location1
    LegalEntity,India,Chennai,Location2
    LegalEntity,India,India_Assumptions
    Entity,IND_Programs,Prog1
    Entity,IND_Programs,Prog2
    Entity,IND_Programs,IND_Prog_Assumptions
    There are sone calculations which will involve pulling the data from these common inputs. I have written a business rule by fixing each and every location separetely. Is there a way to generalise this? i.e. Check what the current location is. And then get the corresponding member like IND_Prog_assumptions for that location. Basically one fix statement which will do the calculation based on the selected entity and legalentity dimension.
    FIX(@DESCENDANTS(India),@DESCENDANTS(IND_Direct))
    "Shrinkage %" = @ROUND(((India_Assumptions->IND_Prog_Assumptions->"Holidays in a year")/(India_Assumptions->IND_Prog_Assumptions->"Total working days in a year"))*100,2);
    ENDFIX
    FIX(@DESCENDANTS(USA),@DESCENDANTS(USA_Direct))
    "Shrinkage %" = @ROUND(((USA_Assumptions->USA_Prog_Assumptions->"Holidays in a year")/(USA_Assumptions->USA_Prog_Assumptions->"Total working days in a year"))*100,2);
    ENDFIX
    Edited by: ragavhere on May 8, 2010 4:59 PM
    Edited by: ragavhere on May 8, 2010 5:07 PM

    Hi msandrews,
    Thanks for your response. Your suggestion worked well.
    But now the problem is different coz the requirement has changed. The common inputs are captured against the members like IND_Prog_Assumptions,US_Prog_Assumptions,Phillippines_Prog_Assumptions in the Entity dimension and India_Assumptions,USA_Assumptions,Phillippines_Assumptions in the Legalentity dimension. These common inputs have to be pushed to the other programs in the entity dimension as well as in the location dimension region wise. For eg. the value captured against IND_Prog_Assumptions and India_Assumptions have to be copied to the programs which run in india and the value captured USA_Prog_Assumptions and USA_Assumptions have to be copied to the programs running in USA. The hierarchy of LegalEntity and Entity dimension is here again for your reference.
    LegalEntity,Global,APAC,India,Chennai,Location1
    LegalEntity,Global,APAC,India,Chennai,Location2
    LegalEntity,Global,APAC,India,India_Assumptions
    LegalEntity,Global,APAC,Phillippines,City1,Location1
    LegalEntity,Global,APAC,Phillippines,City1,Location2
    LegalEntity,Global,APAC,Phillippines,Phillippines_Assumptions
    LegalEntity,Global,North_America,USA,City1,Location1
    LegalEntity,Global,North_America,USA,City1,Location2
    LegalEntity,Global,North_America,USA,USA_Assumptions
    Entity,Global_Direct,IND_Direct,SD_IND,Prog1
    Entity,Global_Direct,IND_Direct,SD_IND,Prog2
    Entity,Global_Direct,IND_Direct,BD_IND,Prog1
    Entity,Global_Direct,IND_Direct,BD_IND,Prog1
    Entity,Global_Direct,IND_Direct,IND_Prog_Assumptions
    Entity,Global_Direct,US_Direct,SD_US,Prog1
    Entity,Global_Direct,US_Direct,SD_US,Prog2
    Entity,Global_Direct,US_Direct,BD_US,Prog1
    Entity,Global_Direct,US_Direct,BD_US,Prog1
    Entity,Global_Direct,US_Direct,USA_Prog_Assumptions
    Entity,Global_Direct,Phillippines_Direct,SD_Phillippines,Prog1
    Entity,Global_Direct,Phillippines_Direct,SD_Phillippines,Prog2
    Entity,Global_Direct,Phillippines_Direct,BD_Phillippines,Prog1
    Entity,Global_Direct,Phillippines_Direct,BD_Phillippines,Prog1
    Entity,Global_Direct,Phillippines_Direct,Phillippines_Prog_Assumptions
    I tried to do something with DATACOPY. But nothing worked out. I am confused in proceeding.
    Your help is highly appreciated.
    Regards,
    Ragav.

  • IC data/booking - business rule

    Hi BPC masters,
    I am new with BPC and I have a couple of questions about IC data/booking and its business rule. I am sorry if it seems too basic.
    1) In the guide BPC440 and other guides available on the internet, we could see they are using ICDIFF01 in debit account in the IC business rule (see picture). What is that account ? Its hierarchy/parents ? Is there any screenshot to see what is its structure ?
    2) How does ICDATA retrieve records ? Does it simply find data for AR/AP and P&L where an intercompany dimension is recorded ?
    3) ICBOOKING posts the difference between IC for AR/AP. What about P&L ?
    Thank you in advance for any reply !
    Dat

    Hi Dat,
    1. ICDIFF01 is the specific dimension base member user need to create to store the result data of ICBOOKING.
    2. ICDATA calculate the results based on the business rule you defined and the source data in intercompany.
    3. You can create your owne business rule & dimension members to meet your specific requirement(P&L). BPC440 is simply an example.
    The guide BPC440 is simply an example. You need to customize all the dimension/business rule and logics according to your customer's fact business. So I suggest you not focus on the financial meaning of the account name or rule name too much in the example.
    Best Regards,
    Arjen

  • RTP not working with Business Rule

    I am trying to create a buisness rule that fixes on a member in a custom dimension based on a run time prompt using Calc Manger (11.1.2.2).  I created the variable at the cube level, set it to 'Member' and selected the appropriate dimension, and selected RTP.  The FIX statement is very simple FIX("Current",{Contract}).  The rule validates and deploys with no problem.  When running the rule either on form save or through Business Rules I receive the error: "error parsing formula for [FIX STATEMENT] (line 2): invalid object type.  If I change the variable to uncheck 'RTP' and place the same member used previously as the Default value the rule runs no problem.  Is there any reason why the rule appears to not be able to read in my RTP selection?
    Thanks,
    CS

    Though this is not a calc manager issue, I am sure the member that Planning is picking up is a member that is set tyo dynamic calc.
    You cannot use a member that is set to dynamic calc in a fix.
    -Sree Menon

Maybe you are looking for

  • Error while offsetting a variable

    Hello Experts I want to display the data for last 5 years in my query. So I tried using the SAP exit variable Current Calendar Year (0CYEAR) and the offset it by 5. However, I am getting the following error message for the query "System error in prog

  • Toneport UX2 not working with new MacBook Pro 10.6.2 Snow Leopard

    I do some casual recording using a Line 6 Toneport UX2. Previously i was recording on an older Mac Mini. Recently i upgraded to a new Macbook Pro (Snow Leopard 10.6.2) The new Macbook is not responding at all when i plug in my toneport, all the softw

  • IPAD WONT OPEN SOME WEBSITES!!?!?!?

    My ipad 3 never had this problem before. A few days ago i went on one of my favorite websites, hetalia.wikinet.org.(dont ask) it gave my info about characters from my favorite anime. So yesterday i tried going on it. But it wont open. It just loads t

  • Overcharged for music.

    I was charged  $1.00 on several songs that I purchased which were priced at $0.69. I was ****** to discover that iTunes overcharged me, and if I could, I would return the songs on principle. I want to know why I was overcharged.

  • Javax.naming.NameNotFoundException: Unable to resolve 'jppsacntrQ' Resolved: ''

    Hi,           I have written a simple client to receive messages from a 'jppsacntrQ'           queue,           The jms server which keeps this queue is already targetted at the           server I am running.           I have closed my command prompt