Filter using formula

Hi everyone,
I m in need to use a filter with a formula and I m not being able to do it. The situation I have is I have a DO that I use as lookup and there is all my "integrators", so the case is I need to have in this filter only the integrators that have the word M4U on it. Well the second problem is having only these M4U in my dropdown filter option if I choose ALL how do I filter in my main DO only the records that have the word M4U on it?
I thought something like this:
If(pSelectIntegrador = "ALL") Then ("M4U") Else (pSelectIntegrador)
where pSelectIntegrador it is my parameter that I create at parameters, but it didint work. Any help?
Thanks
Mario Mesquita

Hi cleglik,
Thanks for trying but this solution didint work. Because I get a message saying that pSelectIntegrador it is not a field, and in fact it isnt, pSelectIntegrador it is a parameter and I couldnt find a way to use parameter in this case.

Similar Messages

  • Can we use formula column in lexical parameter in sql query ...

    hi
    can we use formula column in lexical parameter in sql query ...
    as example
    i want to give
    select * from & c_table
    forumula
    function c_table
    if :p_sort = 1 then
    return 'dept'
    else
    return 'emp'
    end;
    c_table formula column
    is this possible ...
    i have such example in oracle apps reports
    if i try in ordinary report usinf emp table it show error ..
    how we can give formula column...
    please help me in this regard...
    Edited by: 797525 on Feb 20, 2012 9:31 PM

    thanks sir,
    iam not exactly saying select * from &c_table but some thing that like columns in select stmt also will be populated in user_parameters ,there are lot of table select.......from     mtl_demand md,     mtl_system_items msi,     mtl_txn_source_types     mtst,     mtl_item_locations loc     &C_source_from &C_from_cat
    &c_source_from and &c_from_cat formula column and there are defined at report level only ......
    pl/sql code &c_source_from is
    function C_source_fromFormula return VARCHAR2 is
    begin
    if :P_source_type_id = 2 then return(',MTL_SALES_ORDERS mkts');
    else if :P_source_type_id = 3 then return(',GL_CODE_COMBINATIONS gl');
    else if :P_source_type_id = 6 then return(',MTL_GENERIC_DISPOSITIONS mdsp');
    else if :P_source_type_id = 5 then
         if :C_source_where is null then
              return NULL;
         else
              return(',WIP_ENTITIES wip');
         end if;
    else if :P_source_type_id = 8 then return(',MTL_SALES_ORDERS mkts');
    else if :P_source_type_id is null then
    return(',MTL_SALES_ORDERS      mkts,
    MTL_GENERIC_DISPOSITIONS mdsp,
    GL_CODE_COMBINATIONS gl ');
    else null;
    end if; end if; end if; end if; end if; end if;
    RETURN NULL; end;
    this is forumula column i hope that you understand what iam saying
    please help me in this regard....
    thanking you...

  • How to use FORMULA in ABAP for calculation

    hi all,
    i have to do some calculation in my report and because of this reason i want to use formula. Could any body tell me the best way to use of formula for calculation purpose in ABAP or any other way?
    Thansk,
    abapfk
    Moderator Message: You don't need to open a thread to know the answer for this basic question. A simple search or using ABAP Help will help in getting the answer.
    Edited by: kishan P on Oct 4, 2010 11:20 AM

    There is another option to do the same thing.
    What can be done is, create running total. You can create running total from field explorer by right clicking and then new. Create Running Total Field dialog box appears. In that, provide the following:
    i)     Field to summarize - provide the field to maximize (i.e. id)
    ii)     Type of summary u2013 Maximum
    iii)     Evaluate u2013 On change of field (provide the name)
    iv)     Reset u2013 Never
    Keep this Running total field on the details section and suppress if you do not want to show it in the details section. Place this field wherever you want in the report.
    Hope this helps you. Let me know your comments.

  • How to use FILTER -- USING    in rpd???

    Can we use FILTER USING in rpd ?

    Yes in the 'use existing logical columns as the source' window of a measure.
    Its under Functions - Display Functions in the expression builder.

  • Interactive Report filter using "in"

    I am using an interactive report, and I want to filter using the "in" criteria. The data I want to filter is a person's name, and it is a concatenation of the entire name, last name first. I have no problem doing this filter on just the first or last name, but the concatenated field has a comma in it, and that seems to be throwing the filter off.
    What automatically populates when I click a name from the list is something like:
    Abraham, Adam
    I can see that it would probably be interpreting that as two different values. But even if I put single or double quotes around the name, it still does not work correctly.
    An example available at:
    http://apex.oracle.com/pls/otn/f?p=41923:1
    Try doing an "in" filter on the "name" column.
    Thanks,
    David

    David,
    The comma is the operational separator for the 'IN' clause, so you are right, the filter sees each part of the name as a parameter. Just use something else as the separator (like a space) and you will be good to go.
    Keep Smiling,
    Bob R

  • Using Formula in Pages Table (Syntax error)

    I thought this would be simple, but I get a syntax error:
    My Table
    Date Start Date End Bytes Redo Rate (Mbps)
    20/06/2010 11:00:00 PM 21/06/2010 03:00:00 AM 850,648,576 0
    21/06/2010 11:00:00 PM 22/06/2010 03:00:00 AM 561,487,360 0.4456
    22/06/2010 11:00:00 PM 23/06/2010 03:00:00 AM 486,454,784 0.3860
    23/06/2010 11:00:00 PM 24/06/2010 03:00:00 AM 1,239,929,344 0.9840
    24/06/2010 11:00:00 PM 25/06/2010 03:00:00 AM 1,365,600,256 1.0838
    In the Redo Rate column I want a simple formula: ((C2/0.7)*8)/1000000
    The current value in the last column I hand calculated, but the 0 (zero) is where the formula is supposed to be.
    I enter it using Formula Editor as: =((C2 / 0.7) * 8) / 1000000 -- and there is the syntax error...
    Can someone please help me... this was supposed to be simple...
    Using Page '09
    Thanks in advance for your attention and replies.
    Andries

    Here it behaves flawlessly.
    I inserted the Bytes values without the thousands separators then applied the separators.
    I'm running a French system so I can't test the behaviour of the English format.
    I'm not sure that you are allowed to enter the commas by yourself.
    Check if the cells are deciphered as Numbers.
    I guess that they are treated as text.
    Yvan KOENIG (VALLAURIS, France) mercredi 30 juin 2010 14:06:38

  • How to use formula variable in customer exit

    Hi all,
            I just want to use formula varible in customer exit
    For eg,
             I have created formula variable with user manual lnput eg: ZFM_V01 = 30
    Another char variable  with user manual input eg: 0keydate = 28/02/2011
    Required output,
    I just want to read my ZFM_V01 value in customer exit
    Result = 0KEYDATE - ZFM_V01
    EG:
    result = 28/02/2011 - 30
    Required result = 29/01/2011
    Kindly guide me how u get formula varibale value into customer exit(CMOD) and find the required result. please help me.
    Thanks & Regards,
    R. Saravanan

    Sorry, Bhanu,Ashwin need more info
    As my understand ::
    Function module RSW_CURRENCY_TRANSLATION uses the following parameters
    Import parameters
    I_CTTNM : Currency translation key (optional)
    I_AMOUNT: Amount in source currency  (not optional !!) (data type: floating point !!)
    I_SCUR : Source currency (optional) I_TCUR : Target currency (optional)
    I_TIME_IOBJVL : InfoObject for determination of the time reference (optional)
    I_SCUR_IOBJVL : InfoObject for determination of the the source currency (p.eg. 0COMP_CODE) (optional)I_TCUR_IOBJVL : InfoObject for determination of the the target currency (p.eg. 0COMP_CODE) (optional)
    I_PERIV : Fiscal year variant (optional)
    I_RATE : Exchange rate (optional)
    Export parameters
    E_AMOUNT : Amount in target currency (data type: floating point !!)
    E_RATE : Exchange rate
    E_SCUR : Source currency
    E_TCUR : Target currency
    I created a Currency key(ZXX) which takes CAD and converts to GBP on Planned Exchange rate (P) with time reference 0CALMONTH.
    In my case :
    Currency Key : ZXX (Confused here)
    Source Curr :CAD
    Target Curr :GBP
    I need a Variable ,which takes time reference and gives back the exchange rate .
    ,,I am I missing some thing ?
    Sudh

  • In Bex analyzerr what is the use of  "Use Formula" checkbox

    Hi Experts,
      In the properties of "Analysis Grid" there is an option "use formula" what is use of it ?
    In which senarion it is useful, as user i didn't find any significance with this option & even
    developers point of view i didn't find any help.
    Could you please suggest on this.
    Thanks & Regards
    Sameer Khan

    Hi,
    You select this checkbox to replace each cell in the analysis grid with a Microsoft Excel formula. This property of the Analysis Grid design item is set by the context menu function Convert to Formula.
    The property is activated in supported queries only.
    http://help.sap.com/saphelp_nw04s/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    hope it helps...
    regards,
    Raju

  • Table for the recorded result.Result automatically calculated using formula

    Hi experts,
              I want to know where this results will be saved(table name) when we use formula in inspection plan.I have marked char.calc in control indicator and formula has been entered in inspection plan.While entering the result when i click on calc button it is displaying correct result and i have saved.when i check the table QAMR,QASR it is not displaying the result for the MIC which i have used formula.I am able to see the formula in QAMV table.When i want to display this result can i retrive the result directly from any of the table or shall i calculate the formula in the program to display?   If i should calculate the formula how to calculate?
    Regards,
    Shwetha.

    Hii,
    If u are using Inspection point for the results recording then results will get stored in QASR table. The manually entered results alone will get stored in the Original_ Input field. Calculated parameters will get stored in the mittelwert field (mean value). Kindly check QASE table for lot without inspection points.
    For ex : Results Field name mean value (1.7500000000E+02)
    with regards,
    K.Lokesh.

  • Create a between filter using months names ...

    Hi, I need to create a dashboard filter using month names in a between statement for examples:
    From: January - To August
    the problem is when I do this the Obiee server made a filter by alphabetic order, so for the example the result will be nothing (because A is prior to J)...
    How can I solve this
    (My boss is in my neck and I have a family to feed...)
    Thanks in advance...

    Hi,
    mma as given you the solution which would be helpful.
    I can say workaround for this,what ever date parameter you want to convert to january....december
    you can make an alias of that column as said above and write the filter on that date with a sql statement example as follows
    select to_char(sysdate,'FMmonth') from dual
    same way you take your requirement as select to_char(*your_date_column*,'FMmonth') from your_table
    Hope it helps,
    Best Wishes,
    Kranthi.
    Edited by: Kranthi.K on Nov 9, 2009 10:56 PM

  • View link in front of Filter used is giving error

    Hello Experts,
    Please help me in this:
    I have a report made in OBIEE 10g in which ,below the report the filter used in report are shown.
    In front of these filter there is a link "View" which when I click it does not view the filter.
    As in my case its like below:
    Filter1
    and filter2 are prompted view
    and filter3 are prompted view
    and filter4
    so when i click the view link above it gives me an error as : 'sawCommandToURLlmpl' is undefined.

    Not familiar with the error message, but here are some general ideas you can check.
    I believe you are referring to "saved filters" that when displayed in Filter View, have that "View" link at the far right. The link is automatic and points to where the filter is saved. Barring any configuration problems, check to see if the saved filters were saved properly. By this I mean that they were saved in a location that can be viewed by the user who would click on the link. If the permission doesn't allow the connection back to the source, you will get an error. Hope this makes sense.
    Other questions to ask and answer:
    1) Do all saved filters behave this way (i.e., with an error message)?
    2) Do the reports and filter views work as expected when run as Administrator with full access?
    3) Does the problem exist in all browsers? Versions?
    Good luck.

  • Filter using 2 input images (Flash). How to implement?

    Hi. I know how to implement filters that process single image as it was described in Pixel Benders Developer's Guide, but how can I apply filter using 2 input images one of which is computed? I wrote a filter that coppies alpha channel of one picture and applies it to another, but flash implementation is quite a puzzle for me... Any help appreciated

    In our tutorial from last year's MAX, I showed how to use a two-input pixel bender kernel as a blend filter for two images on the stage. that is posted here:http://blogs.adobe.com/kevin.goldsmith/2008/12/materials_from_1.html
    In one of my recent blog postings, I showed how to use a ShaderJob with multiple inputs. I was doing it for audio processing, but it works almost identically for images: http://blogs.adobe.com/kevin.goldsmith/2009/08/pixel_bender_au.html
    Hopefully one of these should help, but if you have specific questions, don't hesitate to ask...

  • Filter using Function resulting incorrect where cause

    Hi,
    I have a requirement wherein i have to filter a column based on a combination of mutiple hierarchy dimensions for which i am using Filter Using Function
    ex.
    Filter Metric A Using Dimesion A - Range 50 -100
    Filter Metric A Using Dimension A - Range 25 - 50, Dimension B Range 0 -100
    When i have a report with these metrics alone then it works fine but when both metrics are exposed on a single report
    The where clause results in something like this
    (Dimension A > 50 OR Dimnesion B > 0) AND (Dimension A > 25 OR Dimension A < 100 OR Dimesnion B < 100) AND Dimesnion A < 50
    To sum it up its random and incorrect, any ideas as to why this could happen ??
    Any pointers etc would be highly appreciated.

    Hi,
    I have a requirement wherein i have to filter a column based on a combination of mutiple hierarchy dimensions for which i am using Filter Using Function
    ex.
    Filter Metric A Using Dimesion A - Range 50 -100
    Filter Metric A Using Dimension A - Range 25 - 50, Dimension B Range 0 -100
    When i have a report with these metrics alone then it works fine but when both metrics are exposed on a single report
    The where clause results in something like this
    (Dimension A > 50 OR Dimnesion B > 0) AND (Dimension A > 25 OR Dimension A < 100 OR Dimesnion B < 100) AND Dimesnion A < 50
    To sum it up its random and incorrect, any ideas as to why this could happen ??
    Any pointers etc would be highly appreciated.

  • Error original filter used for grahpics

    Hi,
    Since upgrading to FM10, we have been getting the following error message:
    At least one original filter used for graphics imported by reference is not available, or the imported file's format has changed. An alternative filter may be used if the file is recognized as a grahpic FrameMaker can import.
    None of the grahpics have changed and they all display. The only thing different is FM10 instead of FM9.
    Any ideas on how to fix this probelm? Thanks!

    That's more of an alert than an error.
    We see it routinely when opening FM/Unix documents on FM/Windows.
    It seems to have to do with the platform-specific <ImportHint ...> tags encoded after the <ImportObFile ...> (MIF examples).
    None of the grahpics have changed and they all display.
    Unless an imported object is rendered incorrectly, I wouldn't worry about it.
    This is the first case I've heard of involving Windows to Windows migration, however.

  • How to simulate waveform using formula node

    is it posible to get waveform using formula node.for example,i want to calculate Vo=Vs sin wt,in formula node,i use
    V*sin*2*pi,how to use the answer to plot waveform

    or if you REALLY want to continue it the way you had (not sure why you would)...
    Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
    using LV 2010 SP 1, Windows 7
    Attachments:
    build[1].vi ‏16 KB

Maybe you are looking for

  • What is the easiest way to create and share photo/video gallery or slide show with family via web?

    I am brand new to Lightroom (converted from Aperture) and made the conversation mainly because I thought that Adobe would bring many more options and because Apple has discontinued development of Aperture. Part of the reason I am asking this question

  • LM61 Unpack HU Materials or HU from HU

    Hi Please see attachment LM61 Unpack Screen flow. It should allow me to Unpack, but I get an error "Handling unit &1 not found in the warehouse". The HU does exist and the error message is not correct. Could someone please advise how to Unpack in RF?

  • Calling Transaction code & returning back to calling program

    Hi, I have requirement as below Write the report to call the transaction code say for example different tcode (1000 in number) need to be executed and after every tcode execution it should return back to calling report. I tried using "CALL TRANSACTIO

  • My iMac is too high

    I'd like to remove the bracket from the back of my iMac and have it sit directly on my desk so that it's more in line with my line of sight (and I can have my feet on the floor).  Are there any "U" shaped brackets that can hold my 27" iMac?

  • Flex and large real world b2b applications

    Hi all. I am new to Flex. I am acting in an architect capacity to review the potential in Flex to become the client presentation layer for a classic ASP?SQL application. I am seeking a cross-browser, cross-platform, zero-installation, just-in-time-de