How to filter group using in function

Hey
i am trying to do a group filter in the data model using IN function
g.segment3 in ('401000', '401010', '401020', '409100')
how can i configure the filter is in one of these values ?
i tried the
g.segment3 in ('401000', '401010', '401020', '409100') but its showing me an error
any reason why ?
thanks

Hey
i am trying to do a group filter in the data model using IN function
g.segment3 in ('401000', '401010', '401020', '409100')
how can i configure the filter is in one of these values ?
i tried the
g.segment3 in ('401000', '401010', '401020', '409100') but its showing me an error
any reason why ?
thanks

Similar Messages

  • How to filter values using presentation varible if it is using a multiselec

    Hi Gurus,
    Could you pls suggest me here.
    I have a requirement like my OBIEE 10G version report is not filtering the values when we select any value in Dashboard prompt.
    I tried to create a presentation varible in prompt for filtering but for prompt under control it is given an MULTI SELECT.
    i need to filter the values .now though we select any value in prompt ,it is not picking any value.
    How to filter the values using MULTI SELECT Here.Please suggest me here .
    Regards,
    SK

    Hi User,
    In, the physical layer go that column and change datatype from double to int and save the rpd.
    This should resolve your issue.
    Even, it is not required to modify or use cast function to change datatype.
    Else,
    Change the datatype of column in the Business layer.
    This should resolve your issue.
    Assign some points if this helps you :)

  • Unable to apply report filter by using Previous Function

    Hello,
    I am new to Webi and need your expertise.  I created a varible using Previous Function.  The varible works fine when you view it.  However, it doesn't work when I tried to apply this varible in the report filter. 
    Here are the varibles:
    Varible A = Previous([Field A]; ([Field B]; [Field C]))
    DisplayVarible = If([Varible A] = 'Letter A'; 1; 0)
    I learned that when applying Display Varible in the report filtes, the Value(s) from list is grayed out.  How do I fix this?
    Thank you.

    The objective is to find the turnaround time from one customer to the next customer.  For example, you have a hair saloon shop and you want to know how long does it take when you finish one customer and start the next customer.
    Customer  PreviousTimeEnd       Time Begin            Time End            Time Diff(Time Begin - Previous Time End)
    A                                 7:00                    7:30                                                                     
    B               7:30              7:45                    8:30                15
    C               8:30              9:00                    9:30                30
    D               9:30              9:45                   10:00                15
    As you can see, I can calculate the minutes difference.  However, I cannot apply time difference varible in the report filter.  I hope I have provided you enough info.  Thank you for your help.

  • How to filter emails using sender email adapter

    Hi,
    Does any one know how to filter emails of mail server using Sender email adapter(POP3 protocol ) in PI .
    To make it more clear let us assume that there are 10 emails in the email server then 3 emails should be fetched for Interface A , 3 emails Should be fetched for Interface B and remaining 4 emails should be ignored and left in the email server as it is ,  the reason for this is that it is not related with the Interface A or Interface B. Any suggestion or solution will be much appreciated.
    Thanks & Regards
    Prabhat

    Hi,
    I guess you didnt get my requirement clearly. My requirement is how to filter emails from email server using sender Email adapter in POP3 protocl and pass it to relevant Interface.
    For ex: suppose email no.1 is related to Interface A then it should go to Interface A
                   or         email no. 2 is related to Interface B then it should go to Interface B
                   or         if  email no. 3 is junk mail then it should avoid deleting that email and leave that email as it is
    The problem/challenge here is that email adapter of Interface A or B reads it first and deletes the email message so it is not available for the Interface A or B.
    So I just want that sender email adapter should filter it before deleting email from the email server.
    Can you provide some solution for this?
    Thanks & Regards
    Prabhat

  • How to delete group using SPML

    Hi,
    While deleting the group using SPML, we should remove "Access Policies", Users, Membership Rules associated with the group. Can anyone tell me how to do this(de-associating access policies, membership rules and users with group) using SPML??
    Thanks in Advance

    same way you delete a non-group message.

  • How to get bytes[] using jni functions

    I am new to JNI and have a question. I have a java class which returns back bytes[]
    I have the class jclass for the object and the jmethodid bytesMethodID which is mapped like this:
    bytesMethodID = (*env)->GetMethodID(env, objcls, "bytes", "()[B");
    now in the c impementation I have a stuct pointer
    DESIGN_STRUCT *str= NULL;
    How do I assign the bytes[] into this struct pointer? If I do the following:
    str = (*env)->CallObjectMethod(env, obj, bytesMethod());
    I get a "assignment from incompatible pointer type" if I change that to:
    str = (*env)->CallBytesMethod(env, obj, bytesMethod());]
    I get a "assignment makes pointer from integer without a cast"
    My question is what JNI function do i use to get back a byte[]
    Any help and pointers greatly appreciated.
    Thanks,

    You should use CallObjectMethod() and cast the return value to a jbyteArray. Then you need to use a function like GetByteArrayElements() to actually retrieve the individual elements in that array.
    God bless,
    -Toby Reyelts
    Check out the free, open-source, JNI toolkit, Jace - http://jace.reyelts.com/jace.

  • How get OBJECT_ID for using ARCHIV_BARCODE_GLOBAL function?

    Hello experts:
    Do you know how can I get the object_id that I must fill for using ARCHIV_BARCODE_GLOBAL function?
    Please any help is very helpfull.
    Best regards and thanks in advance for your time.
    Miriam

    I think you can get this in the interface. Ideally this gets populated in TOA01 or TOA02 or TOA03 table.
    also check table
    BDS_BAR_EX
    BDS_BAR_IN
    Thanks
    Arghadip

  • How to replace F4 using another function key

    Experts:
       How can i change the search help function key F4, using another function key,for example F11, when i press F11 the system perform the search help.
    thanks!

    you can do this using menus/buttons(dialog programming) and there you can define your short keys, and event can be trapped by sy-ucomm in the program. Menu can be set by writting set PF-Status 'MENUNAME' or using se37.

  • How to save data using a function in WEB?

    Dear All,
    I'm using Web interface builder to make a Simulation interface.
    In this web interface I’m not using layout, I'm just using it to introduce values and to apply a simulation value. The output in the same interface is a BSP Page with an assigned to a report.
    My problem is that since I’m not using a BPS Layout the values on my query are not updated.
    What I would like is when the user press the button simulation the system automatically same the data. Doing this my report is also automatically updated with the last values.
    Can anyone help one this?
    Thanks and regards,
    Rui Valente

    It seems you want to use the SAVe functionality by creating Custom Button IS IT?
    If yes, then what you have to do is, You will need to use Web Application Designer.
    Over here you can create as many custom buttons you want using Button command Group Web item.
    You can give your own description to such buttons as well as you can use your selective Command Instruction for the same.
    Please search for WAD in forums and you will find a lot of good documents.

  • Does anyone know how to add time using TIME function?

    Hi,
    I just switched from Excel (lol) and found an error in a key calculation i use. Does anyone know how to automatically add hours to a time? i.e. i have to convert Pacific Time to other U.S. Time Zones so in the past I used this formula in Excel (=B6+TIME(3,0,0)) which is now not working in Numbers. Is there an equivalent?
    Thanks for your help!
    Alexandra

    Hello
    The Terms of Use ruling this forum states:
    -+-+-+-+-+-+-+-
    +to help you resolve issues, ask questions, get tips and advice, and more.+
    +If you have a technical question about an Apple product, be sure to check out Apple's support resources first by consulting the application Help menu on your computer and visiting our Support site to view articles and more on our product support pages.+
    +How do I post a question? ‚+
    +_If you searched the forums and didn't find an answer to your question or issue_, click the Post New Topic link at the top of a relevant forum page to post your own question.+
    -+-+-+-+-+-+-+-
    Your question was aked and responded many times.
    Searching in existing threads would have give you the response.
    When I try to help users in English, I often look in a dictionary but it seems that for many users, reading the Help or the PDF User's Guideis too much work.
    In cell D3, the formula is simply:
    =TIME(HOUR(B)HOUR(C),MINUTE(B)+MINUTE(C),SECOND(B)SECOND(C))
    which match the Numbers's syntax which, what a surprise, is not XL's one
    Yvan KOENIG (from FRANCE mercredi 28 mai 2008 17:39:56)

  • How to achive this using analytical function-- please help

    version 10g.
    this code works just fine with my requirement. i am tyring to learn analytical functions and implement that in the below query. i tried using row_number ,
    but i could nt achive the desired results. please give me some ideas.
    SELECT c.tax_idntfctn_nmbr irs_number, c.legal_name irs_name,
           f.prvdr_lctn_iid
      FROM tax_entity_detail c,
           provider_detail e,
           provider_location f,
           provider_location_detail pld
    WHERE c.tax_entity_sid = e.tax_entity_sid
       AND e.prvdr_sid = f.prvdr_sid
       AND pld.prvdr_lctn_iid = f.prvdr_lctn_iid
       AND c.oprtnl_flag = 'A'
       AND c.status_cid = 2
       AND e.oprtnl_flag = 'A'
       AND e.status_cid = 2
       AND (c.from_date) =
              (SELECT MAX (c1.from_date)
                 FROM tax_entity_detail c1
                WHERE c1.tax_entity_sid = c.tax_entity_sid
                  AND c1.oprtnl_flag = 'A'
                  AND c1.status_cid = 2)
       AND (e.from_date) =
              (SELECT MAX (c1.from_date)
                 FROM provider_detail c1
                WHERE c1.prvdr_sid = e.prvdr_sid
                  AND c1.oprtnl_flag = 'A'
                  AND c1.status_cid = 2)
       AND pld.oprtnl_flag = 'A'
       AND pld.status_cid = 2
       AND (pld.from_date) =
              (SELECT MAX (a1.from_date)
                 FROM provider_location_detail a1
                WHERE a1.prvdr_lctn_iid = pld.prvdr_lctn_iid
                  AND a1.oprtnl_flag = 'A'
                  AND a1.status_cid = 2)thanks
    Edited by: new learner on May 24, 2010 7:53 AM
    Edited by: new learner on May 24, 2010 10:50 AM

    May be like this not tested...
    select *
    from
    SELECT c.tax_idntfctn_nmbr irs_number, c.legal_name irs_name,
    f.prvdr_lctn_iid, c.from_date as c_from_date, max(c.from_date) over(partition by c.tax_entity_sid) as max_c_from_date,
    e.from_date as e_from_date, max(e.from_date) over(partition by e.prvdr_sid) as max_e_from_date,
    pld.from_date as pld_from_date, max(pld.from_date) over(partition by pld.prvdr_lctn_iid) as max_pld_from_date
    FROM tax_entity_detail c,
    provider_detail e,
    provider_location f,
    provider_location_detail pld
    WHERE c.tax_entity_sid = e.tax_entity_sid
    AND e.prvdr_sid = f.prvdr_sid
    AND pld.prvdr_lctn_iid = f.prvdr_lctn_iid
    AND c.oprtnl_flag = 'A'
    AND c.status_cid = 2
    AND e.oprtnl_flag = 'A'
    AND e.status_cid = 2
    AND pld.oprtnl_flag = 'A'
    AND pld.status_cid = 2
    )X
    where c_from_date=max_c_from_date AND e_from_date =max_e_from_date AND
    pld_from_date=max_pld_from_date

  • How to write a use time function in elsif

    Hai All
    I have generated an attendance form and my problem is while i am using elsif insert operation there and there is no updation.
    My need is
    this is my table structure
    EMPCODE NUMBER
    EMPNAME VARCHAR2(25)
    BARCODE VARCHAR2(25)
    INTIME VARCHAR2(25)
    OUTTIME VARCHAR2(25)
    INTRTIMEIN VARCHAR2(25)
    INTROUTTIME VARCHAR2(25)
    ATTEND_DATE
    when timing between 0145 and 0630 then update in outtime
    and 0630 to 1000 then insert in intime column
    and 1100 to 1300 then insert in intime column or
    update in outtime column and
    then 1600 to 1730 then to insert into intime column or else
    when intime is not null then update in outtime column
    I have tried and only insert id doing opver there Pls tell what wrong i have made
    declare
    t_in varchar2(25) := :bartime;
         t_out varchar2(25) := :bartime;
    -- t_date dail_att.attend_date%type;
    Begin
    go_block('TEST_SRI');
    FIRST_RECORD;
    LOOP
    if :bartime between 0145 and 0615 and t_out is null and t_in is not null then
    update dail_att set outtime = :bartime where barcode= :barcode
    and ATTEND_DATE = :BARDATE-1 ;
    elsif :bartime between 0630 and 1000 and t_in is null then
    insert into dail_att(barcode,intime,attend_date)
    values(:barcode,:bartime,:bardate);
    elsif :bartime between 0630 and 1000 and t_in is null then
    update dail_att set outtime = :bartime where barcode= :barcode
    and ATTEND_DATE = :BARDATE-1 ;
    elsif:bartime between 1130 and 1330 and t_in is null then
    insert into dail_att(barcode,intime,attend_date)
    values(:barcode,:bartime,:bardate);
    elsif :bartime between 1130 and 1330 and t_in is not null then
    insert into dail_att(barcode,intrtimein,attend_date)
    values(:barcode,:bartime,:bardate);
    elsif :bartime between 1615 and 1815 and t_in is null then
    insert into dail_att(barcode,intime,attend_date)
    values(:barcode,:bartime,:bardate);
    elsif :bartime between 1645 and 2000 and t_in is not null and t_out is null then
    update dail_att set outtime = :bartime
    where barcode= :barcode and outtime is null and ATTEND_DATE = :BARDATE-1;
    elsif :bartime between 2000 and 2200 and t_in is not null and t_out is null then
    update dail_att set outtime = :bartime
    where barcode= :barcode and outtime is null and ATTEND_DATE = :BARDATE;
    EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' OR :BARCODE IS NULL;
    end if;
    NEXT_RECORD;
    --message('hai');
    END LOOP;
    delete from dail_att cascade;
    forms_ddl('commit');
    forms_ddl('truncate');
    exception
    when others then
    forms_ddl('rollback');
    message(sqlerrm||dbms_error_Text);
    message(sqlerrm||dbms_error_Text);
    End;      
    Regards
    Srikkanth.M

    I got it by converting by date time function
    Edited by: Srikkanth.M on Apr 10, 2010 2:19 PM

  • How to filter xml using dtd and create a new xml document

    Good morning my name is Antonio and I'm an italian programmer.
    I need an help about the follow question.
    I want to filter the contents of a XML document using a DTD to allow
    only the valid elements and attributes as specified in the DTD to be
    passed through to the output, any data that does not conform to the DTD
    should be filtered out.
    To resolve this problem there's XML Translator Generator (XTransGen): http://www.alphaworks.ibm.com/tech/xmltranslatorgenerator
    but at moment it's not avaiable.
    Can you help me?
    Many thanks.
    ciao
    Antonio

    ...

  • How the achive this using the function module SO_NEW_DOCUMENT_SEND_API1

    I want to format the body of the mail like this.How to maintian proper spacing between the fields.kindly suggest.
    It may contain multiple line items also.
    SC Number                               | SC Item Number                         | SC Item Qty      | PO Number       | PO Item Price
    SC Name                                  | SC Item Text                               | SC Item Price  | PO Item             | Invoice Item Price
    <SC_NUMBER>                           <SC_ITEM>                                  <SC_QTY>          <PO_NUMBER> <PO_PRICE> 
    <SC_NAME>                               <SC_ITEM_TEXT>                         <SC_PR>            <PO_ITEM>         <IV_PRICE>

    Hi,
    You can do with SOFM method select over there Excel Sheet as same format you can select all fields respectively so in the output in an attachment you will get the values as you like that format in the same way multiple line items also you can retrive data in Excel sheet attachement, then using this FM you can send mail with this attachement.
    Thanks and regards,
    Prabhakar Dharmala

  • How to store notes using GOS functionality

    hi expert
    urgent things
    can u help me in this issue how to store note or text in repository using GOS generic object services ???
    as soon as possible .
    thank you

    Hello,
    We cannot move the notes, stored through GOS, to content server as the size of the notes is not huge.
    Only the PC attachments through GOS can be directed to content server.
    Refer to the note 530792 for more details.
    Cheers
    Amit

Maybe you are looking for