Formula member with the attribute

I can't get a member formula to work. It's an account dimension. I tried a number of things simply divide two accounts if they have a "Division 3 Cranberry" attribute in the attribute productpool. I get the error message "Error (1200337) - compilation error formula for [CRN PLR barrel] (line 11): [)] without [()].
This formula works, but give me just Cranberry: "CRN PLR per barrel" = "ProductLineReturn" / "TotalNSB";

I tried many things and would be really grateful for the help,
Thank you, Donna

Here are some of my tests:

(1) "ProductLineReturn", @ATTRIBUTESVAL (@NAME ("Cranberry 3 Division")) / "TotalNSB";


(2) FIX (@ATTRIBUTESVAL (@NAME ("Cranberry 3 Division"))
'ProductLineReturn' / 'TotalNSB ';
ENDFIX

(3) FIX
(@ATTRIBUTESVAL (ProductPool) 'is' 'Cranberry 3 Division')
"CRN PLR / barrel" = "ProductLineReturn" / "TotalNSB";

ENDFIX

When I have a problem like that, I try to post a little a time until it works.

What I mean is, you have this formula: "ProductLineReturn" / "TotalNSB";

It is not valid.

Is a formula that looks like: "ProductLineReturn";
validate?

Is a formula that looks like: "TotalNSB";
validate?

This seems silly and obvious, but I've used this technique several times - when I finally found the problem, it's a moment of palm-de-main-a-face--quelque thing I thought unless it is generally not.

Kind regards

Cameron Lackpour

Published by: CL on March 19, 2010 09:58
Oops, I wanted to add that the formula of Gary, or mine, changed a bit:

IF(@ISATTRIBUTE("3 Cranberry Division"))
"CRN PLR per Barrel" = "ProductLineReturn"/"TotalNSB";
ENDIF

in the member formula should work. As you pointed out, you don't need the "DPP CNR per barrel' = bit as it is implied by the Member of the formula is in.

Tags: Business Intelligence

Similar Questions

  • problem update to bind a member with an attribute using the rule of load

    Hi - I'm trying to update an existing Member with another attribute of the dimension of the attribute by using a load rule. In the properties to build the dimension, I have the name of the selected member where it says size. Underneath, I field Type, here, I have the dimension of the selected and then attribute below I have the number 0, to match with the child member, I'm trying to update for.

    I am able to validate the rule, no problem, but when I run the update plan, my attributes for this member does not update. This happens to all of my attributes.

    I'm on Essbase 7.0.


    Thank you

    You should (at least) two columns in your rule of load. The first column with the names of members of the basic members you want to associate attributes to and in the second column of the attribute member name.
    If the dimension build properties for the first column, you set the name of the dimension and type of build level or generation (I suggest level) and set the number of levels. (Do not forget the dimension properties build to build level or you will get an error)
    The second column, select the dimension then go down and select the dimension of the attribute that is associated with this dimension of the base

    For example for the Basic sample, you may have a line that looks like

    100-10 can

    For the first column, you would select Dimension = product, value of Type level = 0
    The second column would Dimension = product Type = attribute dimension Pkg Type

    In the dimension settings, make sure product is set to build level and can associate attributes and allows you to change the link.

  • The OID of the Migration of OUD, hitting the problem with the attribute pwdhistory OUD

    The OID of the Migration of OUD, hitting the problem with the attribute pwdhistory OUD

    I use sync DIP at the end of migration of data from OID for target OUD. Everything seems great so far, I have found that pwdhistory being migrated is not being validated by OUD password policy

    I do import ldif for OUD and find this pwdhistory field is populated with the same OID value. When I reset password in OUD-DOHAD with the word in the history of password,.

    Expected Behavior: Error Message from the OUD "" LDAP: error code 20 - already the value of specified password exists in the user input " "

    Course Behavior: OUD is what allows to reset the password in the password history

    Also found that when I try again with the same password, then it throws the error 20 code. OUD replaces the old values in pwdhistory after the password resets and written new values with stamp of password.

    It is a Blocker for us for migration in the history of password, I would like to join the forum and check if someone had the same problem and how they managed it?

    Thank you

    Satya

    Support of Oracle confirmed that DIO history for the OUD password migration is not supported. The OID and OUD records and validates the pwdhistory differently

  • Member with the substitution variable formula

    Hi all

    I gave member formula 'Budget'-(& Forecast); one of the members of the scenario Dimension. When I update the database of planning, in Essbase, I saw the following message

    !! UNLOADED FORMULA.

    But the formula came to that Member as * 'Budget'-(& 'Forecasts'); * Why quotes came around my substitution variable.

    Thank you and best regards,
    Konrad.

    Hello

    You have certainly set up a variable substitution in EAS called forecast that is assigned to the planning application.
    You can test it by manually by first creating the formula in environmental assessments and checking the outline.

    See you soon

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

  • [UN] control HTML checkbox with the attribute

    I am trying to check and uncheck aby adding and removing the checked = 'checked' attribute using javascript (jQuery).  Does not work; nothing happens. It works very well in desktop browsers, well.  Adding and deleting disabled = "disabled" works perfectly.  I've seen other posts on this topic on the internet, but not answers.

    I am writing in XHTML 1.0 Strict, where the checked = "checked", but I have tried all around switching to HTML 4.1 and just using checked no equal sign or value, and it still doesn't work.

    I'm working on Eclipse with the BlackBerry 4.6.0.200904091609 Simulator - 212.

    Any ideas? Thank you.

    It works, but I had to do it this way:

    document. MyForm.thecheckbox.Checked = false;

    Thank you!

  • XQuery against XML audit will fail with the attributes XMLNS are specified

    I'm working on a school project, which a party requires the demonstration of some XQuery queries. For my project, I install a database 11.2.0.2 and set the audit_trail of XML, to EXTEND and to have written a few audit reports of XQuery. I run XQuery queries using oxygen XML 14.0. My queries work great except for the fact that they always return the following error 'empty sequence' due to the attributes xmlns to the element of verification:

    Élément Audit sample:
    < audit xmlns = "http://xmlns.oracle.com/oracleas/schema/dbserver_audittrail-11_2.xsd."
    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xsi: schemaLocation = "http://xmlns.oracle.com/oracleas/schema/dbserver_audittrail-11_2.xsd" >

    Error message:
    Name of the engine: XQuery Saxon-HE 9.4.0.3
    Severity: WARNING
    Description: Your query returns an empty sequence.

    If I remove the xmlns and xsi attributes such that the opening will simply be < Audit >, thin executed queries. Does anyone have suggestions on how to get my Xquery statements to run correctly without having to remove the xmlns attributes XML?

    Any suggestion would be appreciated. Here's a simple XQuery that returns to that database user and host name for all audit XML files.

    Thank you
    Matt

    Example of XQuery:

    XQuery version "1.0";
    for $a in collection
    ('file:///C:/Project/AuditXML?select=*.xml;recurse=yes')//Audit/AuditRecord)

    Let $users: = $a/DB_User
    where (some $user in $users satisfies ($a/DB_User = "GÉNÉRAL"))
    return
    < result >
    {$a/DB_User}
    {$a/Userhost}
    < / result >

    Output:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < result >
    < DB_User > DBSNMP < / DB_User >
    localhost.localdomain < Userhost > < / Userhost >
    < / result >
    < result >
    < DB_User > DBSNMP < / DB_User >
    localhost.localdomain < Userhost > < / Userhost >
    < / result >

    Add the namespace declaration in your xquery as

    'xquery version "1.0"; (: :)
    declare default element namespace "http://xmlns.oracle.com/oracleas/schema/dbserver_audittrail-11_2.xsd"; (: :)
    for $a in collection
    ....
    

    See also http://www.liberidu.com/blog/2008/02/20/howto-namespace-use-with-xmlquery/

  • I have a problem in Internet Explorer with the attribute of alignment as embedded tag but mozilla it works very well.

    Hi team,

    I have a problem with the shockwave-flash alignment attribute. Need to display the data as a right of the page. This style "align: right" it works fine in firefox, but IE does not not as expected. can you please share any reference for this get worked in IE?

    Hey Nancy,.

    Thanks for the reply. The problem solved by placing the tag incorporated

    separate DIV and styles applied to this div according to the requirement.

    Thank you

    Obireddy

  • Conversion formula member of the BSO to ASO MDX formula

    Hello

    Can you please help me in converting the BSO formula ASO. Here the formula below was written "gg/Su Mths" Member who is a member of the dimension 'account '.

    If (@isuda ("versiter", en))
    ' gg/Su Mths ";


    in above formula UDA 'en' was entitled on members level of dimension 0 'versiter '.

    Thanks in advance for your help.

    Kind regards
    Prabhakar

    Try,

    CASE
    WHEN (IsUda ([versiter]. CurrentMember, 'fr'))
    THEN [gg/Su Mths]
    END

    Still, you don't score your last message data export from calc dynamic member BSO and load the ASO cube data , don't forget to do.

    See you soon

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

  • FXML: &lt; fx: include / &gt; with the attribute of resources. How does it work?

    Hello

    I am trying to understand FXML and I struggle with the help of ResourceBundles / internationalization.

    I did a common component, which relies on its own resources file, let's say the package 'fxml', I have:

    Control.fxml

    Control.Properties

    Control_de. Properties

    Another FXML includes this one:

    <? import javafx.scene. *? >

    <? import javafx.scene.control. *? >

    <? import javafx.scene.layout. *? >

    < fx:root type = "javafx.scene.layout.VBox" xmlns:fx =" " http://JavaFX.com/fxml ">

    < fx:id TextField = "textField" / >

    "< fx: include source="/fxml/Control.fxml ' resources = "fxml. Control"/ >

    < / fx:root >

    If I load only through:

    LoginView parent = FXMLLoader.load(getClass().getResource("/fxml/Login.fxml"), ResourceBundle.getBundle ("fxml. User name'));

    I get the following exception:

    Caused by: java.lang.NullPointerException

    at java.util.ResourceBundle.getBundle(ResourceBundle.java:1026)

    to javafx.fxml.FXMLLoader$ IncludeElement.processAttribute (FXMLLoader.java:897)

    to javafx.fxml.FXMLLoader$ Element.processStartElement (FXMLLoader.java:180)

    to javafx.fxml.FXMLLoader$ ValueElement.processStartElement (FXMLLoader.java:563)

    at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2348)

    at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2164)

    at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2061)

    at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2778)

    at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2757)

    at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2743)

    at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2730)

    to fxml. JavaFXApp.start (JavaFXApp.java:19)

    What's not here? fxml. Control.Properties there permanently.

    If I remove the < fx: include / > element, everything works fine.

    Is it possible to include resources directly in a FXML, so that I don't have to specify them again in each include?

    I'm guessing that this is the problem that you run in:

    How is used with fx i18n resources: include?

  • Error with the attribute declarion to excel

    Here is the error I get when compiling the excel document.

    1. "customer" is not in the scope. You may need to use an alias for "the type of customer flight."

    In fact, I'm trying to set other rates tables, inthat rates will be based on the client (entity1) as well as of the transaction (entite2) so I'm attributes of two different entities reference.

    It would be appreciated if you can help us to sort as soom as possible.

    Published by: Vincent k. on December 20, 2010 16:04

    You can not simply refer to these attributes, you must indicate that the customer and what transactions the attributes belong to.

    The rate has been defined in which entity? In this entity, you probably have a relationship both a customer and a transaction (or the rate actually belongs to one of these entities). Wherever there are, you specify which client or the transaction you are talking.

    For example, instead of:

    >
    the number of orders placed by the customer > 5
    >

    You would write:

    >
    (Customer of the purchase order, the number of orders placed by the customer > 5)
    >

    If you want a condition related to an attribute column, so you can simply write '> 5' as the condition rather clearly stating the condition complete every time, then I suggest you pull the attribute in the entity using a rule of the intermediary, for example (it is a rule of Word not a rule of excel):

    >
    order quantity for the customer in the purchase order = (customer of the purchase order, the number of orders placed by the customer)
    >

    Then use "quantity of customer order" under the heading in the condition column.

    Published by: Stephen French December 21, 2010 16:22

  • LDAP on SAA with the attribute-card problem openldap

    Hello, everyone:

    I have a camera of the asa. the software version is 9.1. I have an openldap server, I want asa to use the ldap database to the anyconnect vpn authentication user. I've already finished. I have a problem now, I want to different groups assign different '-user group policy. " I use internal group policy on asa. I want to know how to get this attribute through LDAP group policy.

    Note: I differentiate 'OR' user on openldap. for example, or = manager, ou = sales, OU = engineer.

    Thank you, everyone.

    Hello.

    Here's what... .you're looking for ;)

    Use of AAS of the LDAP Configuration attribute example cards

    Kind regards.

    #Rohan

  • LDAP on SAA with the attribute-map

    Hi all

    I have problems to set up authentication of VPN clients on a LDAP server.  The main problem is when the ASA needs to decide a strategy group for users of the non-compliance.

    I use the LDAP attribute cards in the SAA to map the parameter memberOf attribute group Cisco-policy, can I associate the ad group that the user must belong to a VPN and rigth memberOf Group Policy access.  This method works correctly.

    But the problem is when the remote user is not in the correct group AD, I put a group by default-policy - do not have access to this type of users.  After that, all users (authorized and unauthorized) fall into the same default - group policy do not have VPN access.

    There are the ASA configuration:

    LDAP LDAP attribute-map
    name of the memberOf Group Policy map
    map-value memberOf "cn = ASA_VPN, ou = ASA_VPN, OU = my group, dc = xxx, dc is com" RemoteAccess

    AAA-Server LDAP protocol ldap
    AAA-Server LDAP (inside) host 10.0.0.3
    or base LDAP-dn = "My group", dc = xxx, dc is com
    LDAP-scope subtree
    LDAP-naming-attribute sAMAccountName
    LDAP-login-password *.
    LDAP-connection-dn cn = users, ou = "My group", dc = xxx, dc = com
    microsoft server type
    LDAP-attribute-map LDAP

    internal group NOACCESS strategy
    NOACCESS group policy attributes
    VPN - concurrent connections 0

    internal RemoteAccess group strategy
    Group Policy attributes RemoteAccess
    value of server DNS 10.0.0.3
    Protocol-tunnel-VPN IPSec
    field default value xxx.com

    tunnel-group RemoteAccess type remote access
    attributes global-tunnel-group RemoteAccess
    address-pool
    LDAP authentication group-server
    NOACCESS by default-group-policy
    tunnel-group ipsec-attributes RemoteAccess
    pre-shared key *.

    As you can see, I followed all of the examples available on the web site to solve the problem, but I can't get a good result.

    Does anyone have a solution for this problem?

    Kind regards

    Guzmán

    Guzman,

    It should work without a doubt, that is the part to refuse already works well and the user who has the correct memberOf attribute should certainly are mapped to Allow access policy and should therefore be allowed in.

    I think that's a bug as well, but I had a quick glance and see nothing correspondent, and if it was a bug in 8.2.3. so I'm not expecting you to be the first customer to discover this, so I'm still more inclined to think that it's something in the config that we neglect (I know frome experience typo can sometimes be very difficult to spot).

    Could you get "debug aaa 255 Commons", so please, maybe that will tell us something.

    BTW, just to be sure: you don't don't have anything (such as vpn - connections) configured in the DfltGrpPolicy, did you? Just double check since your access policy Allow would inherit that.

    Maybe another test, explicitly configure a nonzero value for this parameter in the policy allow access, i.e.

    Group Policy allow access attrib

    VPN - 10 concurrent connections

    Herbert

  • Type of custom with the attribute of the collection object

    Hello

    I am a beginner in PL/SQL, although I have a lot of experience in MSSQL.  I try to get a stored procedure to return a type of complex object in .NET code that runs it.  This object contains 3 standard attributes and a varchar2 data collection (12).  I've seen several examples of creating tables that have a complex data type, but none on what I want to do. I tried several variations on what follows, without success so far:

    CREATE OR REPLACE TYPE BoxNumberTable AS TABLE OF THE VARCHAR2 (12);

    create or replace TYPE GETBOXNUMBER_RESULT AS OBJECT

    (/ * TODO enter statements attribute and the method here * /)

    Success of char (1),

    BoxNumber VARCHAR2 (12),

    ErrorMessage, VARCHAR2 (4000).

    DuplicateBoxNumbers BoxNumberTable

    );

    Keep syntax errors. Any help would be greatly appreciated.

    Thank you

    David

    Example:

    SQL > set serverout on
    SQL > ed
    A written file afiedt.buf

    1 create or replace FUNCTION GETBOXNUMBER return (currentlocation varchar2) is GETBOXNUMBER_RESULT
    2. PRAGMA AUTONOMOUS_TRANSACTION; -WHY USE IT?  IT IS RARELY NECESSARY, AND USUALLY ONLY FOR THE CONTROL/MONITORING
    3 BoxNum_Result GETBOXNUMBER_RESULT: = new GETBOXNUMBER_RESULT (null, null, null, null);
    4 Begin
    5. SELECT deptno
    In BULK 6 GATHER IN BoxNum_Result.DuplicateBoxNumbers
    7 FROM emp;
    8 return BoxNum_Result;
    9 * end;
    SQL > /.

    The function is created.

    SQL > ed
    A written file afiedt.buf

    1 declare
    2 BoxNum_Result GETBOXNUMBER_RESULT;
    3. start
    4 BoxNum_Result: = GETBOXNUMBER ('DUMMY');
    5 because I in 1... BoxNum_Result.DuplicateBoxNumbers.Count
    6 loop
    7 dbms_output.put_line (' value: ' |) BoxNum_Result.DuplicateBoxNumbers (i));
    8 end of loop;
    9 * end;
    SQL > /.
    Value: 20
    Value: 30
    Value: 30
    Value: 20
    Value: 30
    Value: 30
    Value: 10
    Value: 20
    Value: 10
    Value: 30
    Value: 20
    Value: 30
    Value: 20
    Value: 10

    PL/SQL procedure successfully completed.

    Although in bulk, collection of data in collections in memory is not usually a good idea as PGA memory is expensive, and you would not do that just to process the data and re - write to the database.

    What are you actually trying to achieve in the end?

  • Help with pointing to the ATTRIBUTES - Calc Script

    Hi all

    I have a question about pointing to the attributes in the calc script:

    I want to calculate members (level 0) associated with the attribute 'A', but their parent attribute must be tied to the attribute 'B '.

    So if my Sun structure looks like:

    LVL 1: mbr 1 (ATTR = 'B')

    LVL 0: mbr 2 (ATTR = 'A')

    0:MBR lvl 3 (ATTR = 'C')

    lvl1: mbr 4 (ATTR = "D")

    0:MBR lvl 5 (ATTR = 'A')

    0:MBR lvl 6 (ATTR = 'A')

    According to the above example, the calculated member list should be: "mbr 2.

    I don't know how to do in my script to the PARENT of the CURRMBR its attribute is equal to "B."

    The problem is oriented to the PARENT attribute with the IF statement while you run level 0.

    I also tried to FIX it, but it was not effective, you can not write FIX (@CHILDREN (@ATTRIBUTE ('B'))).

    I'll be happy if someone could share their ideas,

    Thank you

    Really?  Documentation (which I corrected not always, I admit) indicates that the parameter mbrList can be 'a comma-delimited list of members grouped together using @LIST or set function member (for example @DESCENDANTS) that returns a list of members.'.

    I created an additional attribute of 'MarketSize' with 'GRL' and 'Sml' members in Sample.Basic, then labeled 'East' and 'Central' as "LRG" and found that it works very well:

    DIFFICULTY (@EXPAND ("@CHILDREN", @ATTRIBUTE ("Lrg")))

    "Sales" = 999;

    ENDFIX

  • CFLDAP with hyphen in the name of the attribute

    Hello people,

    I came across a problem where an AD attribute has hyphen in its name.

    Thus, the code would be something like:

    < name = "MyQuery" action = "query"... cfldap attributes = "one, two, this - hyphen" >

    How would I be able to retrieve the value of attributes for the "this-hyphen" in the code?

    I tried:

    < cfset MyVar = MyQuery.this - trait of Union >

    < cfset MyVar = Variable ['MyQuery.this - trait of Union '] >

    < cfset MyVar = MyQuery ['this-hyphen"] >

    None of them works!

    This comes to the following conclusion:

    1 CFLDAP gets not attribute this trait-to Union correctly due to hyphen in its name

    2. "this link" does not exist in AD.

    For point 1, I would thought that it is OK to put the hyphen in the list of attributes because it is by passing the string.

    I can't guarantee how the remote directory will react to be invited for an attribute that does not exist... one would need to read than the LDAP specification for that I guess.  I'm not ;-)

    But how the System Center manages is not relevant, to a point.  Your code must itself busy with what is handed to you.  If you don't even know if your returned queries even has this column inside?  Would not be a good place to start?  Do you have the query on the subject of dumping and verified?

    I know that itself has no problem with the attributes with names of hyphen.  Well when I went through all the what a few years ago (following the steps similar to what we do here ;-), the data comes back fine.)

    For point 2, I just tried to bring in the RANDOM attribute that does not exist in AD (for example ASWEQ), and it does not seem to throw an error when I try to access this attribute in CFSET.

    So what exactly is happening here?

    OK, well I guess that answers my question above.  ADS will be return any attribute (?) you ask, with just a value empty if it does not exist.  I doubt he would act differently for hyphenated names, but it's easy to answer in dumping on your query and seeing what you have.  Is this what?

    What happens if find you an attribute valid with a hyphen in the name?  I don't know there is a lot of merit asking for stuff that does not exist...

    --

    Adam

Maybe you are looking for

  • lack of creating windows 7 install usb

    This boot camp does not at all. I have two menu options- 1. install windows 7 2 Download drivers After doing all this of course at the end of the download there is an error - "installation disc is not found." I tried to put the ISO on the USB with th

  • Progress bar of loading inside the address bar

    Hello! How to disable this bar: http://IMG-Fotki.Yandex.ru/get/5809/6553771.0/0_56d33_d3e95b2c_L Thank you

  • Problems of memory of bike E

    Pre-installed applications are pretty much limited to those developed by Google and Motorola, but yes, there are some bloatware. I don't have really any use for Google Chrome or migrate, but they are preinstalled.

  • A virus makes shortcuts automatically in the USB

    When I plug my USB on my computer, a virus hiding my files and creates a shortcut called. Movies and. Photos of the USB.  So what should I do to solve this problem?

  • Is nano Transceiver controller of xbox 360 compatible whit PlugAnd Go wireless?

    Hi, I would like to know if the nano Transceiver that comes whit more mouse and wireless keyboards, is compatible or may be used instead of the receiver for the xbox 360 controller wireless game, thanks in advance.