How to use relational operator in FIX?

I am tyro in Essbase. Can anyone suggest me what is the issue in FIX(("Accounts Payable")>0). I am coming across Error: 1200315 Error parsing formula for [FIX STATEMENT] (line 11): invalid object type.
//ESS_LOCALE English_UnitedStates.Latin1@Binary
/*House Keeping Seeting off intelligence calc*/
SET UPDATECALC OFF;
SET CALCPARALLEL 2;
/*Consolidation*/
CALC ALL;
/*Calculating Accounts Payable Period */
FIX(@ANCESTORS("Canada CAD"))
FIX(("Accounts Payable")>0)
     "Accounts Payable Period"="Accounts Payable"/"Purchases for year";
ENDFIX
ENDFIX

You can do this type of statement in a Fix statement, you will have to use an IF statement
Try
FIX(@ANCESTORS("Canada CAD"))
"Accounts Payable Period"(
IF("Accounts Payable")>0)
"Accounts Payable Period"="Accounts Payable"/"Purchases for year";
ENDIF
ENDFIX

Similar Messages

  • How to use relational operator in JSF EL

    Hi,
    I am trying to set the insert allowed property for the subtab based if the no.of records in the sub tab is less than 2. So i tried the following expressions in the insert allowed property
    1. #{bindings.OvrBrowseTypesIterator.estimatedRowCount < 2} which leads to compilation errors - no start tag found etc..
    2. #{bindings.OvrBrowseTypesIterator.estimatedRowCount ls 2} which leads to runtime error - encountered "ls" at line 1 col 1752 when expecting one of the following "(" , "<" , ">" etc....
    Please advise if any one has used relational operators in the EL.
    Thanks, Pradeep

    I found the mistake. I should use "lt" instead of "ls" for less than.
    #{bindings.OvrBrowseTypesIterator.estimatedRowCount lt 2}  works fine.

  • How to use relational operator(NE) and aggregate expression sequentially

    Hi,
    I am trying to use "WHERE BEDAT NE MAX( BEDAT )" to find out PO date that is not the MAX Date but it always shows "incorrect expression "MAX(" in logical condition. Please give solution
    Thanks
    Arif

    Hi Arif,
    please try using a subquery:
    select *
      from ekko
      where bedat ne
        select max( bedat )
          from ekko
    endselect.
    I hope this helps. Kind regards,
    Alvaro

  • How to use relative paths in Captivate 8 / Cómo usar URL's relativas en Captivate 8

    Hello, I have developed a bunch of courses which will be migrated to a new site and I am having trouble changing the absolute paths into relative URL's to resources such as PDF files inserted into the scorm packages. I cannot find information on how to use relative paths in Captivate. Please help. Thank you.

    I have the same issue with relative links using Captivate 8.  I am trying to load Captivate modules into an LMS using relative links to document files within the LMS.  The links work fine during a site page test so not an issue in the LMS, but from the Captivate module they aren't working....
    Help?

  • How to use LIKE operator in plsql

    Hi
    I wanted to select certain rows using like operator in plsql(Input should be given by the user). I have given my experiment here .I couldn't get any result.
    As per sql syntax while using LIKE operator we should give search criteria within single quote.where as in plsql if we give within single quote its takes as string so no output is comming.what is solution ? How to use like operator in plsql?
    sql syntax
    SQL>SELECT customer_name FROM customer_header
    WHERE customer_name LIKE 'B%' ; customer_name
    Bala murali
    Babu
    Basker
    plsql syntax
    PROCEDURE pro_custheader_like ( v_cname IN varchar2
         ,answer OUT type_refcur_customer) IS
         BEGIN
         OPEN answer FOR
         SELECT customer_name FROM customer_header
              WHERE customer_name LIKE ( ' v_cname ' );
    END pro_custheader_like;
    execution command
    sql>variable answer refcursor;
    sql>set serveroutput on
    sql>exec package_name.pro_custheader_like( 'R',:answer);
    plsql successfully completed
    sql>print :answer
    no row selected
    by
    balamuralikrishnan.s

    plsql syntax
    PROCEDURE pro_custheader_like ( v_cname IN
    varchar2
    ,answer OUT
    type_refcur_customer) IS
    N
         OPEN answer FOR
         SELECT customer_name FROM customer_header
    WHERE customer_name LIKE ( v_cname );
    END pro_custheader_like;
    Try it without any quotes. And, let us know your feedback.
    Regards.
    Satyaki De.
    Message was edited by:
    Satyaki_De

  • How to use ternary operator in JSF using EL expression

    how to use ternary operator in JSF using EL expression

    I want to use ternary operator for h:datatable columnclasses attribute like as below
    <h:datatable
    columnClasses="#{booleanExpression ? style1,style2 : style3,style4}"
    />
    But it's not working.Is there any other alternative to do this?

  • How to Use Dimension Operator

    Hi
    I'm trying to implement SCD Type 2. I have done so using conventional methods.
    I have read in some blogs that dimension operator can be used for SCD. Can any one provide me material on how to use Dimension Operator. I tried OWB User guide. But its not useful.
    I have seen that we need to create levels. But i dont need levels.
    Can somebody please tell me how to use it.
    Regards
    Vibhuti

    Hi Vibhuti,
    using dimensions with OWB 10g R2 isn't that difficult. You just create a number of attributes like an ID, a business key and probably a description and then associate each of the attributes with a level. You need at least one level that all the attributes are associated to. Then you can use the slowly changing dimension wizard (SCD) to track changes. In the SCD settings you can determin for which attribute you want to trigger history and which attributes contain your effective date and your end date (if you want to use SCD type II). Obviously you would need two additional attributes in every level for that purpose.
    Regards,
    Jörg

  • How tio use like operator in textitem to get the name

    Oracle forms6i
    Hai All
    I have created an form to create an hierarchy list. I that I had an Text_item how can i use like operator to get the name to select. which trigger i need to use. when i select the name i need to get his employee code and other details
    Thanks In Advance
    Srikkanth.M

    A is the head of Dept 10 and three person are under A namelyHow will you know that B, C and D are under A is there any parent child relationship between Leader and Employee code? If yes, Then you can create the relationship between blocks no need to set where_clause programatically. So, relationship can be like...
    leader_block.emp_code = emp_block.leader_code
    AND leader_blokc.dep_code = emp_block.dep_codeSo, when you will query data in LEADER block it will show employees which are under LEADER which you queried in LEADER block.
    Or if there is no relationship then how will you know that which employee under which leader?
    b 002 10 1
    c 003 10 1
    d 004 10 1
    When i enter the name of head corresponding other members in the department will need to display in the
    Tabular format Or if you want to query the records only for department relation. Then as you said you create two blocks then create create the relationship using dep_code between those blocks.
    like...
    leader.dep_code = emp_block.dep_code-Ammad

  • How to use 'about' operator in Full text search query?

    Hi all,
    I have to search the following string in full text index using 'about' operator.
    'Advertisment(Cosmetics) Assets'
    If use the following query
    SELECT keyword_id
    FROM mam_keyword_languages
    WHERE contains(fts_text_uc, convert('about(Advertisment(Cosmetics) Assets)',
    'WE8MSWIN1252', 'WE8MSWIN1252')) > 0
    ORDER BY nlssort(text, 'NLS_SORT=EEC_EUROPA3')
    It gives following error.
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50901: text query parser syntax error on line 1, column 37
    How can i do this search? Is there any other way?
    Thanx in advance.
    T.Umapathy

    Sum((postab.subtotal)*(loc.royalty)/100)
    Is there any other way to take product of two
    attributs? your help will be greatly appreciated as
    it is really stumbling block in my project. Thanks in
    advanceSuch a stumbling block should have inspired more activity on your part.
    I'd try rewriting it like this:
    sum(postab.subtotal*loc.royalty/100)[/b]%

  • How to use XRANK operator for partial match comaprison?

    Hi All,
    I am aware how to use the XRANK operator to boost a result if a managed property equals a specific value.
    XRANK(cb=400) importance:'1'
    How would I make a key word query using XRANK which will boost a result if the managed property contains a part or whole of a term as indicated in the pseudo code below?
    XRANK(cb=400) language:'*en*'
    In this scenario, I would like all results where language contains  the phrase 'en' to be boosted. I wonder if this is possible at all.
    thanks,
    Saurabh
    sdg

    Hi,
    Keyword Query Language does not support suffix matching.  So, in the above scenario it might not be possible.
    Please refer to the technet article.
    Keyword Query Language (KQL) syntax reference
    Please mark it answered if your problem resolved or helpful.

  • How to use Relational OLAP?

    How to use and/or create Relational OLAP (ROLAP)? Any information will help... Thanks

    There are three ways to create OLAP metadata on a relational schema.
    1) OEM - You can use the Dimension and Cube wizards in Enterprise Manager (Administration Tab -> BI & OLAP link) to create the required additional metadata to enable OLAP queries against an existing relational schema. However, you cannot save the steps or resulting script to a SQL file for re-use. This is more a one-off method for quickly and easily creating OLAP metadata.
    2) OWB - A more scalable solution is to use Warehouse Builder. Even if you have an existing schema you can import the tables/views and then create new dimensions and cubes and map those tables to those objects. The deployment information can be saved to a script
    3) You can refer to the OLAP developers guide to help you manually create the SQL scripts to generate the CWM OLAP metadata against existing tables.
    Make sure you have all the required database patches in place:
    9i - at least 9.2.0.7
    10gR1 - at least 10.1.0.4
    10gR2 - at least 10.2.0.3
    Hope this helps
    Keith

  • How to use Batch operation for two xsodata services?

    Hi All,
    I have two xsodata services. How to use submit batch for two xsodata services
    Thanks,
         Mj

    Gateway Batch Calls from SAPUI5

  • How to use like operator in loop

    Hi I am trying to use like operation in loop condition. the code is as follows:
    loop at lt_mara into l_mara where l_mara like '%XXX'.
    endloop
    when i have the like operator like above its giving me an error that i cannot use like operator. Is there anyway that i can use like operation in loop at condition,
    Thanks in advance

    using the ranges with CP option we can do that..
    Populate the ranges mentioned below..
    data: r_matnr type range of matnr,
            w_matnr like line of r_matnr.
    w_matnr-low = '%XXX'.
    w_matnr-sign = 'I'.
    w_matnr-option = 'CP'.
    append w_matnr to r_matnr.
    loop at lt_mara into l_mara where matnr in r_matnr.
    endloop
    Regards
    Vijay Babu Dudla

  • How to use boolean operator to get count

    Hi All,
    In my query i need to add a field Count which shows number.
    Meaning,
    Column A   ColumnB ColumnC  Count
    100               50            0            2
    55                60             76         3
    79                0               0           1
    meaning from all three column only two has values then Count should show 2. etc....
    any suggestion how to use boolean expression here ?
    or anyother way to display Count ?
    thanks,
    KS

    Hi thanks for idea.
    boolean didnt work here. the formulau sugested worked...
    But i wrote formula for the Count --> COUNT("overtime") and for the Count property I selected Calculate Result As --> Summation fo Rounded Values
    so the output is as follows:
    i had data for 3 payperiods
    Count  (1st 3 columns)                    overall result(last Column)
    200801     200802     200803           
    1                 0             1                         2
    1                1              1                         3
    0                1             0                         1
    Now the out put i wanted is in the last column -Result column.
    I dont want Count column to be display like this. it is showing values instead of total. any this i should change for this?
    thanks,
    KS

  • How To Use Sigma Operator?

    Hi All,
    In My Vc Application,We use Sigma Operator.
    1.Count The No Of Records.
    2.Sum of the Records Of That Field.
    What Code I Will Write And Where I Will Write That Code
    In The VC.
    Please Replay ASAP.

    Hi,
    Just add the Sigma operator to the data service out put portthen go for configuration of that Operator .
    In bottom right side Map the Fileds of Dta service to Sigma parameters(Count,Max,Min..)
    Regards,
    Govindu
    If helpful award ponits
    and let me know if ur problem not solved

Maybe you are looking for

  • How can I create a tiger partition on a new macbook pro?

    I understand how to partition a drive, and install tiger, but how do I install leopard on the other partition without having a leopard install disk? (Having just what came with the laptop) I was about to buy a new macbook pro when I learned the I won

  • File Saved Size is Twice Normal Size -  Photoshop CS3 OS 10.6.7

    I don't know what happened to make a couple of Photoshop files about double normal size on disk. I've been using Photoshop for a long time so I know how big the files should be - they're multilayered files which are normally about 250MB but are aroun

  • How to make high resolution image?

    Hi All, I am in an urgent requirement where I have few .tif images. There size is very high. When I am uploading, there resolution is not good and they are automatically converted to jpg. Can some one tell me "How to make this image high resolution i

  • I cant send pictures to android users

    so yesterday I was using my phone & I was trying to send a picture to one of my friend & she has a android so I click send & it says cant deliver .... I need help !

  • How to use HTTPSERVICE in Actionscript project.

    Hello all, I am doing an actionscript project, I want to use httpservice to send a data to server . Is any one knows how to use httpservice in actionscript project? thanx