Conditional formula?

I have a financial report that allows users to choose an account and display the values of all products for this specific account. At the bottom of the form is a line called Total formula. Some accounts must be added into the total. Some accounts must be averaged.

Is it possible to create a "conditional formula" using IfThen? I was thinking something in the sense of the following:

IfThen (MemberName(Grid1,A,Account) = GRSALES, sum([1]), avg([1]))

But something tells me that this is not the correct syntax. Can anyone help?

If I remember correctly, IfThen works only on the figures. What you are trying to accomplish is to check if the member name is GRSALES which does not work

One way to do it is to have two rows. with the AMOUNT and the other with AVG and apply a conditional format to hide / display according to the your criteria such as GRSALES

Hope that helps

Concerning

Amarnath

ORACLE | Essbase

Tags: Business Intelligence

Similar Questions

  • Conditional formula using one of the two operations

    How to create a conditional formula where the results are a choice between two formulas based on the cell to two cells has a value greater than 0?  More specifically, I have to add value in a cell (in the column headed "added amount") to a cell in a column of the running totals if the value of this cell is greater than 0, or subtract the value of a different cell (in the column headed "amount withdrawn") in the same line, if the value of this cell is greater than 0.  Only one of the two will have a value in a given line.

    Hi George,.

    If you only have a value in a column, then you have even a logical formula. You can do this:

    A2 is an input value, it could be called "balance forward".

    A3 is filled down.

    Quinn

  • Conditional formula node

    Hi guys

    I wrote a conditional code simple node formula and there is no error, but it is not calculated. It fails and when I check the code I can find no error. Please read my code and I would like to know what is the problem with my code.

    Thank you very much

    theres no error, but you used for example "if (A = 0). = is NOT a comparison operator, I think you mean "if (A == 0)" which has zero...

    Try it like this...

    Hope this helps

    Christian

  • Make a zone of necessary text using conditional formulas

    Can what code I use to make a required text based on conditional logic box? For example, I have a currency type and dollar amount. One of my logical arguments would be: "If the currency is the PLN and the amount is greater than or equal to 50,000, check this text box a required field.» In otherwise, make this hidden field.

    Since it depends on two fields you will be needing to apply a script for both these fields, or (maybe a better option) use custom calculation event of a field in hidden text to check the two fields and then change the third.

    The code should look like this:

    var f = this.getField("Text1"); // Replace with actual field name
    if (this.getField("Currency").value=="PLN" && Number(this.getField("Amount").value)>=50000) {
        f.display = display.visible;
        f.required = true;
    } else {
        f.display = display.hidden;
        f.required = false;
        f.value = "";
    }
    
  • Create a conditional formula

    I would like to create a form that has conditional fields. For example, the user chooses a car Acura brand and then the model field displays only the types of models of Acura.

    Is there a simple way to do this without writing code or pay for a service that charges by returned for / monthly fees? Or is it a WCC I use somewhere. It's a bit above my head.

    Any help or links would be much appreciated!

    AnniePaperdoll wrote:

    How specifically would I go to this topic? Sorry, I'm totally confused.

    View source code:

    http://labs.Adobe.com/technologies/Spry/samples/data_region/DataSetMasterDetailSample.html

  • Conditional formulas

    Hello
    Can I make the conditional format?
    I mean
    I did three forms. I want that on selection in one form or the other of the two forms shoild come

    Suppose I did three forms A, B, C.

    If I select the India in the first form A B form would come when I joined a list of choices of Indian cities.

    If I select us second form C would come when I joined lookuo of American cities.

    And how can I attached these forms with AD?

    Hello

    In step 3 you can do after change of xlWebAdmin.properties
    1. change lookupfield.header.codigo to lookupfield.header.cdg_undd_adm
    2. change lookupfield.header.descripcion to lookupfield.header.dscrpcn_undd_adm

    If that doesn't seem to work, then add these modifications in xlWebAdmin_en.properties also. I don't know your language so not sure which property file he uses.

    Let me know if it works if not I'll see what goes wrong.

    Concerning
    Nitesh

  • Conditional formula based on several Checkbox?

    WARNING: Newbie here and appreciate your patience...

    Writing a custom calculation based on 2 boxes (CleanOverride and AdvRentDeposit). I could go on this all wrong, but these boxes currently / hide a calculated value or user submitted value. The calculation below aims at showing the finals owed (Total - varying from deposits advanced). Here's where I landed, but no luck... any help is much appreciatated!

    (function () {}

    var v1 is getField("TotalDue").value - getField("Security_Deposit").value - getField("Pet_Deposit").value - getField("AdvRent").value - getField("AssAppFee").value.;

    var v2 is getField("TotalDue").value - getField("Security_Deposit").value - getField("Pet_Deposit").value - getField("AdvRentAlt").value - getField("AssAppFee").value.;

    var v3 is getField("TotalDueAlt").value - getField("Security_Deposit").value - getField("Pet_Deposit").value - getField("AdvRent").value - getField("AssAppFee").value.;

    var v4 is getField("TotalDueAlt").value - getField("Security_Deposit").value - getField("Pet_Deposit").value - getField("AdvRentAlt").value - getField("AssAppFee").value.;

    If ((getField("CleanOverride").value! == 'On') & & (getField("AdvRentDeposit").value! == 'On')) {}

    Event.Value = v4;

    } else if ((getField("CleanOverride").value! == 'On') & & (getField("AdvRentDeposit").value! == 'Off')) {}

    Event.Value = v3;

    } else if ((getField("CleanOverride").value! == 'Off') & & (getField("AdvRentDeposit").value! == 'On')) {}

    V2 = Event.Value;

    } else if ((getField("CleanOverride").value! == 'Off') & & (getField("AdvRentDeposit").value! == 'Off')) {}

    Event.Value = v1;

    } else {}

    Event.Value = "error";

    }

    })();

    The values are not correct. I dropped it and went to another way to check the boxes and it works now. Here is the final calculation for reference:

    var x = this.getField ("AdvRentDeposit");

    var y = this.getField("CleanOverride");

    If (x.isBoxChecked (0))

    var x = getField("Rent").value - getField("AdvRentAlt").value;

    on the other

    var x = getField("Rent").value - getField("AdvRent").value;

    If (y.isBoxChecked (0))

    var y = getField("HideClean").value + getField("StateTaxCleanAlt").value + getField("CtyTaxCleanAlt").value;

    on the other

    var y = getField("CleaningFee").value + getField("StateTaxClean").value + getField("CtyTaxClean").value;

    Event.value = x + y + getField("StateTaxRent").value + getField("CtyTaxRent").value

  • Simple matter of Adobe Pro DC.

    Hi all

    I am new to Adobe Acrobat DC, and I'm sure it's something simple, but I have very little JavaScript 'know-how '.  I'm working on something for work and I'm looking to use a kind of conditional formula.  Here is a brief description of what I'm trying to do:

    I have a form and I want to summarize a series of text boxes in all, but only if the first text box is not empty.  (i.e.  Box 1 with the date, so now I want text text boxes 2-10 to summarize in box 11)

    I work mainly with Excel, and as I said I'm a little new to scripting so any help would be greatly appreciated.

    Also, if anyone has any suggestions for resources, I could use to learn more about JavaScript and its uses in Adobe Acrobat DC.

    Thank you all,

    You can use something like this than the calculation script of '11 text box: custom

    if (this.getField("Text Box 1").valueAsString=="") event.value = "";
    else {
        var total = 0;
        for (var i=2; i<=10; i++)
              total+=Number(this.getField("Text Box "+i).value);
        event.value = total;
    }
    
  • How to filter the by using (-) less symbol.

    Hello
    We use oracle EBS as OLTP. Sale of data stores the PO_HEADERS_ALL, PO_LINES_ALL table, which contains data of rejection/cancellation order.
    Rejected/cancelled in data store also the same tables. We are able to identify the base denied/cancelled quantity indicated (-) less symbol. (Example: Qty:-30), and the Amount column is also indicated as (-) less symbol. So, how to filter the data on quantity everything is indicated - less symbol in OBIEE.

    Kind regards.
    CHR

    Jay wrote:
    IF it is set to digital use function of cast to convert to a char, then using as check the reason for the less to be filtered in the filter condition formula.

    If you want to filter all values of negetive, then use filter: measure<0 in="" filter="">

    Hope this will help you.

    Thank you
    Jay.

    If the column was purely digital, why cast to CHAR? The OP can do everything suggested Robert Angel. My suggestion was where there was some other non-numeric values in the column that could be the reason why the column is CHAR, then using the SIMILAR filter operand would solve this problem.

    The first part of your suggesting was not necessary if the column is a numeric data type and the second part was just a repetition of what Robert.

  • How to dynamically lookup table values enter the processform?

    In fact, I have two types of roles for the user object.i.e primary, secondary.i get this primary and secondary research roles.
    the problem is that if I select a role any primary, used to appear for secondary.how solve this problem. It is very important for my project.

    Check this post. It can help you to:

    Conditional formulas

  • Need to change the properties of the form ADUser dynamically

    Hi all

    We have a requirement in which a user must be provisioned AD based on the IOM user profile attribute. The supply conditions are:

    1. we have two areas AD ex - ABC and XYZ.
    2. If the user organization is TSA so it must be placed in service in the field of the CBA to another XYZ.
    3 al ' AD process definition form 'UD_ADUSR', we have an organization of the attribute, which should be set to a list definition of choice ex - LookUp.ADReconciliation.OrgABC for the area of the ABC and LookUp.ADReconciliation.OrgXYZ for domain XYZ.
    4. the same for the child table of UD_ADUSR UD_ADUSRC have the Group field that takes the value of a list definition of choice ex - LookUp.ADReconciliation.GRPABC for the area of the ABC and LookUp.ADReconciliation.GRPXYZ for domain XYZ.

    How can we change the form of definition of process AD dynamically, which reflects the name of LookUPCode, according to the IOM profiles attribute. Do we need to create RuleDesigner or adapter or there is another way?

    Thank you
    Deepika

    Hi Deepika
    Lokup dynamic means here you will need to use the search query for your search instead of Code Lookup fields. You can take a look the thread below:

    Conditional formulas

    Cloning of the connector:

    Yes the cloning of the connector is possible for your needs. There are two additional methods to implement your requirement.

    First of all:

    Create a resource more identical to ADITResource and fill in other field values.
    Make two groups for two group with membership rule based on the value of the Organization
    Create two policies of access to different areas and attached with these groups.

    This requires less development effort.

    Create the copy of your AD connector.
    Take the export of your AD resource
    Make changes in the XML file, and import it again.
    Fill in the data of field 2 in new resource

    Now, you will have different numbers for different areas.

  • HOWTO disable a button within the APEX?

    This may seem like APEX for Dummies, but I currently have a problem with presenting a plain old HTML in the APEX in mode button disabled (not clickable). In HTML, this is no problem when you use 'disabled', but in the APEX, it does not work because the apex"disabled =" off "disabled".

    1. How can I display the button in a status of "disabled" in the APEX?

    2. How can I dynamically determine whether the button should be displayed as disabled or not?

    Any help is appreciated.

    Hello

    I did something very similar recently (and to be honest, the methodology is very close to what Riedelme suggested already):

    (1) create an item hidden in the area containing the keys to be turned off (make sure it's AFTER the buttons you want to disable)
    (2) in the message text of the element element field, enter Javascript to disable the button (s) - for example:

    (3) set the conditional display of this point on the result of a PL/SQL function returns BOOLEAN - in this case, it would be your authorization feature, or whatever. Or you can use regardless of the conditional formula meets your configuration.

    In this way, every time this hidden item is loaded i.e. authorization fails for example, the javascript code snippet will be loaded and executed, and your buttons will be disabled!

    Hope that makes sense!

    Chris

  • Registering a conditional formatting formula in a variable

    I have a conditional formatting formula that exceeds the limit of 393 characters for Word fields. I placed the formula directly in the model table, and it works correctly. But now, of course, there are several hundred characters of formatting of the information in this cell, as well as the data field. Not pretty.

    Is there a way to store this long formula in a variable and then refer to this variable as the conditional formatting? I'm stuck on the right arrow (>) tags. I can't understand how to include those in the string and store it in the variable.

    Here's a simplified example of what I'm trying to do:

    <? xdoxslt:set_variable ("$_XDOCTX, 'myvar'," <? if: number (Sales) gt 1000000? > <? attribute@incontext:color;e red '? ') > <? end if? (">")? >

    The inclusion of the right arrow (>) tags chain fail when trying to preview. If I replace all the tags right arrow with something else, like the number 8...

    <? xdoxslt:set_variable ("$_XDOCTX, 'myvar'," <? if: number (Sales) gt 1000000? 8 <? attribute@incontext:color;e red '? ') 8 <? end if? 8") ? >

    ... the string is stored in the variable, and I can see in the model table using <? xdoxslt:get_variable($_XDOCTX,'myvar')? >. It is useless, of course, but it works correctly. The string is stored in the variable, and the variable content is displayed in the model.

    So, how can I integrate the right arrow key tags in this string of text? Use an escape character? Integrate ASCII code? I would like to either of the people in the blink of an eye if I could find the proper syntax.

    Yes, you can use submodels of the to do.

    I guess, most of the formatting will repeat, in order to better make the model more organized.

  • How to hide the results of the formulas until the conditions are met

    Hello, I have (SUM (A6÷2 × 1, 0)) × (data sheet-1 Services': Table 1::AH6) the problem is that I don't update A6 until needed so all down my sheet I have these red triangle. I know they will disappear when the data is entered into A6 but I would like for them to hide until then. Can someone help me please? Thank you

    also and last question today, I promise you.

    I have a table that has text in I have another table that I want to bring text on is there a formula that if I say it looks like the cell of table 1 and it will bring the text (name) to table two?

    Thanks again for all quin t help and thanks to you who make me on the right track for the issue of the menu popup I got earlier

  • HTML PAGE: formula IF conditional Expression?  IF command?

    Hello-

    I create a 1 page 'calculator' in the Apex. I have it in Excel, but I don't want to send my Excel workbook to people.

    I need a boost in the right direction to learn how to do it using the formulas of the Oracle, in particular instead of my 'if' Excel formulas.

    I found Oracle guide for: formula language but User Guide I get a message ORA-06550, complaining of the? in my expression... I also found Guide of Developer OLAP Oracle 9i... working with expressions

    one place speaks: expression? Expression2: expression3
    Another place: Boolean-expression IF THEN expression1 expression2 ELSE

    I also tried: BOX WHEN expression1 THEN expression2 expression3 ELSE


    I need to know the syntax or format for:

    If ((: p1_item1 > 0) then: p1_item1 /: p1_item2 ELSE 0)

    Thank you-
    Marion

    I'll assume that it is in a calculation and no javascript, because the syntax would be different.

    You can do it with type pl/sql or sql expression is (work):

    case when :P1_ITEM > 0 then :P1_ITEM/:P1_ITEM2 else 0 end
    

    If it is the body of a pl/sql function, something like this:

    if :P1_ITEM >0 then
      return(:P1_ITEM/:P1_ITEM2);
    else
      return(0);
    end if;
    

Maybe you are looking for

  • Does not start Equim A60 - system is damaged or missing

    Hi, is there anyone who can help me to save my data I had on my laptop Equium A60. The system displays this message when I boot it "WINDOWS\SYSTEM32\CONFIG\SYSTEM" IS DAMAGED or MISSING. I got my disk to RESTORE but it clealy invite, a warning messag

  • OS install on a Portege 3410 ct

    Hello, my name is Andrea, I write from the Italy. I have a problem with a Portege 3410. OS winME, I have the freecom pcmcia cdrom drive and a cd burner external usb, but none of have recognized them in the bios, I don't have a floppy drive usb or pcm

  • Challenge: What is the background native screen size?

    I try the very simple thing to add a new wallpaper. Anyway, screen resolution is 480 x 864, that is, native size wallpaper is 960 x 864. However if I try to use a file *.jpg with these dimensions, the DEFY trying to crop down to something that looks

  • Need drivers of Windows XP Home for Satellite A135-S2276

    Hi, I have a few problems with my laptop that concerns me. I recently bought my Satellite A135-S2276 which comes pre-installed with Vista Basic.After using Vista for a week I have reformatted for windows xp sp 2, due to compatibility issues. Now, her

  • M277n HP MFP: Reset my admin password - lost please help

    I forgot my admin password on my LaserJet Pro MFP M277n. can you please inform me how to reset the password? Thank you