Using OR in filters

Hi,
I can't seem to associate my AND-ORs the way I would like...I want to have a filter that says (Account Type = Prospect OR (Account Type = Customer AND Contract Date >= 1/1/2008))
Please advise how to get the parenthesis to work on this...Thanks
Debbie

Currently the Filter is:
Status is equal to or is in Completed
AND Activity Type is equal to or is in Appointment
AND Account Category is equal to or is in Leasing
AND Account Type is equal to or is in Prospect
We need to add another combined condition that when I select it shows as
AND MLA Effective Date is greater than 01/01/2008
AND Account Type is equal to or is in Customer
What I would like it to say is:
After "Account Category" filter...
AND (Account Type is equal to or is in Prospect OR (Account Type is equal to or is in Customer AND MLA Effectve Date is greater than 01/01/08)
that way it will measure an appt if the account is a prospect or basically if the prospect turned to a customer this year sometime (else it drops off the list)

Similar Messages

  • How to Use Step with Filters in Eclipse

    Hello, everyone!
    I have a question. How do I keep myself from accessing methods outside my own class? See, when I use the debug feature of Eclipse, (I am using Eclipse 3.0), and start debugging, I often "Step Into" methods of classes like String.class and the like. Doing so produces errors that I need to click on to for numerous times! =( It hinders me from doing what I want to do. Can anyone help me? How do I prevent Eclipse from doing that again? After all, my only concern is seeing the methods I wrote in action, and I don't really want to bother with the ones already defined in Java (like Integer.Class and such).
    I also did a search on google, but the sites that turned up are only those that say Use Step with Filters, and nothing specific (most of them are copy-pastes, so different sites end up saying exactly the same thing ). I did that already, and the same thing happens. What do I have to do in
    Window->Preferences->Java->Debug? Do I have to add packages, classes or filters? If so, how should I do it?
    Sorry for the long entry, but I'm getting frustrated with clicking on the errors... I hope someone can help me. =)
    Thanks in advance! =D

    Go to Window-Preferences-Java-Debug-Step Filtering. When the dialog opens, press F1 for help. Good luck!

  • What are used and unused filters?

    Upgraded to Lr4 and noticed "used" and "unused" filters.  Maybe they were there in Lr3 and I just didn't notice them. 
    Can someone tell me what these are for?  If I select either and then to cmd-A, I select all  pix in my library with either filter?  So, for me they are doing nothing.
    Btw, I tried looking in Lr help for this but could not find it.  Can someone point me to the user manual or online help that covers this topic.
    On Mac with Snow Leopard.  Thank you, Chris R

    If you are working on a book, they will show you images you have used or not used in the current project. You activate it in the Film Strip of the Book Module

  • What is the use of these filters in atg

    Hi Guys,
    In my web.xml file i have code like this
    <filter>
            <filter-name>PageFilter</filter-name>
            <filter-class>atg.filter.dspjsp.PageFilter</filter-class>
        </filter>
        <filter>
            <filter-name>ForwardFilter</filter-name>
            <filter-class>atg.servlet.ForwardFilter</filter-class>
        </filter>
        <filter>
            <filter-name>ErrorFilter</filter-name>
            <filter-class>atg.servlet.ErrorFilter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>ErrorFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>ERROR</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>ForwardFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>ERROR</dispatcher>       
        </filter-mapping>
        <filter-mapping>
            <filter-name>PageFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>ERROR</dispatcher>       
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
    what is the use of these filters what will happend if i remove these filters in web.xml file
    please give me clear picture on these 3 filters and how these filters are helpful in our application.

    As the name filter suggest, All the request will go though these filters if certian condition is satisfied
    In ATG web.xml contains following filter:
    <filter>
        <filter-name>PageFilter</filter-name>
        <filter-class>atg.filter.dspjsp.PageFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>PageFilter</filter-name>
        <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    When there is .jsp in url pattern all the request will go through Page Filter.
    Filter is java concept.For More details about Filter, Refer http://docs.oracle.com/cd/E19502-01/819-3669/6n5sg7b0b/index.html
    In order to process Jsp request, ATG use Page filter. It converts normal HttpRequest/HttpResponse to DynamoHttpRequest/DynamoHttpResponse. Please refer http://docs.oracle.com/cd/E24152_01/Platform.10-1/ATGPlatformProgGuide/html/s0801requesthandlingwithservletpipeli01.html

  • Structure data in the spreadsheet using BEx Query filtered by year

    Hi,
    I´m making a Balanced Scoredcard using Xcelsius and extracting data from SAP BI.   The customer asked to see a few KPI´S (Return on assets and profit margin) filtering data from the dashboard by year,  month and region.
    The problem I´m facing is how to structure the data in the spreadsheet using a query filtered by year variable. 
    Regards,
    Diego

    Hi,
    I´m making a Balanced Scoredcard using Xcelsius and extracting data from SAP BI.   The customer asked to see a few KPI´S (Return on assets and profit margin) filtering data from the dashboard by year,  month and region.
    The problem I´m facing is how to structure the data in the spreadsheet using a query filtered by year variable. 
    Regards,
    Diego

  • Pause & Play Animation When i'm using movie clips- filters

    Pause & Play Animation When i am using movie clips-
    filters
    Graphic and movieclips are using for my animation
    When i Press the pause the movieclip animation not stopped.
    Any way to apply the filters on graphic
    I want to apply the filters for particular graphics or movie
    clips. with navigational button working.
    Please help me.
    Thanks
    S.Satheesh Kumar

    Audio on the timeline, especially stream, tends to play very reliably. Is this project under any NDA or can you provide a FLA to examine? Let me know if you want to private message it and I'll shoot you a message.
    What version of Flash Player are you targeting and is this AS2 or AS3?

  • I am using Photoshop as external editor but can't use all the filters

    Hi,
    I have just started using Aperture and have set-up photoshop CS2 as the external editor. I'm trying to add film grain to some of my images using the artistic filters. If I open one of my RAW (EOS 5D) images in Bridge once open in CS2 all the filters are available for use.
    If I select a RAW image in Aperture and use the open with external editor feature, once the image is launched in CS2, half the filters are unavailable. Why is this and how do I over come the problem? Is it because Apertur opens the file in a funny format?
    Many thanks in advance for your help

    a few filters will (or have already) changed in cs3, however most remain the same in terms of 8 vs 16 bit. filters who are based on the rgb channels will be "grayed out" in the filters menu if an image has 16bit colours (regardless of tiff or psd of course).

  • Using variables as filters in analyses launched by Guided Navigation links

    I'm trying to build a navigation link that will launch an analysis and have the filters in that analysis respect the values of either Presentation Variables or Session Variables. I'm having success with an ordinary column. I'm not having success with a number that I need to type into a prompt.
    Here's what I've done so far:
    1. Created a dashboard prompt based on the Month column. When a Month is selected, that selection populates the Request (Session) variable called Selected_Mo
    2. Created an analysis with:
    - a filter on the Month column: = Selected_Mo
    - the Month column
    - a column showing the value of Selected_Mo
    3. Placed both of those onto a dashboard page. When I select a value of Month, the month in the analyis changes, and the column showing the value of Selected_Mo changes. So far, all is good.
    4. Placed an Action Link on the dashboard. That action link launches the same analysis that I can see on the dashboard.
    5. Clicked the action link. The value of Month that I selected on the dashboard is shown in the analysis.
    Now, I'm trying to do the exact same thing with a numeric entry field in a dashboard prompt, and I'm running into a stumbling block. I want to type a number into a field in a dashboard prompt, and populate a session variable called Change_Pctg. Selecting "Variable Prompt" in the dashboard prompt only lets me populate a Presentation Variable. But no matter. I've created a "dummy" field like we used to do in 10g, just creating a Column Prompt against a column formula of 1.
    When I put the analysis onto the dashboard, it's correct. I can enter a number into the dashboard prompt field, click Apply, and that value is shown in the analysis on the screen. I'm filtering against that value as well, and the number of rows is right. So I know that I'm setting the value of that Change_Pctg session variable.
    But when I click the action link, only Selected_Mo is respected by the target analysis. The Change_Pctg session variable is ignored.
    Any thoughts?

    I'd like to abort this post. I've been able to replicate the error using a much simpler method. Refer to the post entitled 'Passing Presentation Variables to Guided Navigation'.

  • Use of Planning Filters in Queries in NW2004s

    I was wondering if any Integrated Planning experts could help me with a problem I have.
    In the 'old world' BPS a planning layout was attached to a planning level and by using filters (planning packages) many different 'views' or slices of information could be made available to the user. For example I could create a planning layout for my balance sheet and create a number of filters for the different parts of my business.
    In NW2004s planning is now done in the query and the planning filter can be placed in the filter of the query. However this enforces a one to one relationship between the filter and the query which would mean I would need multiple queries for each of the parts of my business instead of the one layout under BPS3.x. Being able to create a variable on the filter would be one way around this but this is not possible.
    Can anyone advise on how this now works in NW2004s as at present this looks like a significant retrograde step in functionality.
    Cheers,
    R

    I have somehow managed to workaround the issue.
    I use one aggregation level without Stage field to allow users to modify the data and then I use another aggregation level with Stage field to process the Stages using planning functions and filters. This works.
    I am still curious on the user exit proposed by Andrey.
    Andrey can you please provide step by step on how we achieve this?
    Thanks,
    DV

  • Use of Report Filters in a document to drive report content

    I have a webi document that contains two reports, a summary report and a detail report. These two reports run off the same query. The question is, if I add report filters (not query filters)  to the summary report, how can I dynamically refresh the detail report to use the same report filters, with out making the end user re-select the same report filters used in the summary report.
    For example = I have a document that has a summary report that counts patients by location, in the same document I also have a detail report which uses the same query as the summary report, but prints the individual patients at each location.
    I can add a report filter to the summary report, so I can filter on patients by *** code, which works great. But I would like the detail report to automatically pick up the report filter, so when I click on the detail report tab in my document, the detail report is also filtered on patient ***. I know that I can add the patient *** code report filter to the detail report and make the end user re-filter the detail report the same as the summary,  I am just trying to see if it is possible to do this automatically.
    So far have not found anyway to do this. I prefer not having to write two queries, one for summary and one detail if at all possible.

    Hi Christopher,
    If you select just one value and your users are able to type it in,
    not having to select it via a drop down box, you might get it to work using input controls.
    Create a new report variable (lets say for *** code) that will hold the selected value
    Just create it with ="" and then place it in the input variables as a single value entry field
    (note you have to select in the input controls now) an
    You can use the contents of this variable in a report filter on the detail report,
    you can add as many selection fields as you want, but you are not able to choose from a list of values...
    Good luck,
    Marianne

  • System crash attempting to use the packet filtering on Solaris 10, MU7

    I have been attempting to port my kernel module to run on Solaris 10, MU7 (from MU6). Some changes to the packet filtering hooks interface requires me to make code changes and linker option changes i.e -Nmisc/neti -Nmisc/hook
    I now have my module loading successfully and "hooking" packets. However, I am seeing instability and after processing in the order of 100-200 packets the system crashes. See stack dump beow for details.
    Also note that initially my callback hook function is very simple i.e returns 0.
    I require assistance on identifying the root cause. The key code fragements are as follows:
    int _init()
    // allocated a control block using net_instance_alloc
    // populated the nin_name, nin_create, nin_destroy, and nin_shutdown fields with valid callback functions
    // registered the control block using net_instance_register
    static int _attach(dip, cmd)
    dev_info_t *dip;
    ddi_attach_cmd_t cmd;
    // initialised a hook control block using HOOK_INIT
    // performed a protocol lookup (using net_protocol_lookup) on the net_id provided by the nin_create function callback
    // registered the hook with the net_id protocol using net_hook_register
    static int
    myipf_hook4_in (hook_event_token_t tok, hook_data_t info, void *arg) {
    // simple callback function for test purposes
    return 0;
    System Stack trace:
    Boot device: /virtual-devices@100/channel-devices@200/disk@0:a File and args:
    SunOS Release 5.10 Version Generic_139555-08 64-bit
    Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    Hostname: bfs-t5440-03-ldm12
    NIS domain name is bfs.nis
    Reading ZFS config: done.
    bfs-t5440-03-ldm12 console login:
    panic[cpu9]/thread=2a100a67ca0: BAD TRAP: type=9 rp=2a100a67630 addr=7b6e8d48 mmu_fsr=0
    sched: trap type = 0x9
    addr=0x7b6e8d48
    pid=0, pc=0x7b6e8d48, sp=0x2a100a66ed1, tstate=0x1606, context=0x0
    g1-g7: 1910, 18b0, 2a100a678f0, 60010776b14, 1910, 0, 2a100a67ca0
    000002a100a67350 unix:die+9c (9, 2a100a67630, 7b6e8d48, 0, 2a100a67410, 182b400)
    %l0-3: 000000000100954c 0000000000000009 0000060020ac1620 00000000010523ac
    %l4-7: 00000000018a3c78 0000060020ac1848 000003000481dbe0 00000000010ac400
    000002a100a67430 unix:trap+6cc (2a100a67630, 10000, 0, 0, 30004028000, 2a100a67ca0)
    %l0-3: 0000000000000000 000000000185b480 0000000000000009 0000000000000000
    %l4-7: 0000000000000000 0000000000000000 0000000000001606 0000000000010200
    000002a100a67580 unix:ktl0+64 (300014c8e40, 2a100a67890, 600114fb428, 3, 1, 0)
    %l0-3: 0000030004028000 0000000000000048 0000000000001606 0000000001021604
    %l4-7: 00000000003c0000 0000000000000001 0000000000000000 000002a100a67630
    000002a100a676d0 hook:hook_run+7c (30001b039c0, 300014c8e40, 2a100a67890, 60012566ea8, 7b6e8d48, 1)
    %l0-3: 0000030001b039c8 00000600117df3c0 0000000001878888 0000000000000000
    %l4-7: 0000000000000000 000000000000003c 0000000000000000 0000000000000000
    000002a100a67780 ip:ip_input+3b4 (0, 600135ca040, 0, 6001359bc28, 0, 0)
    %l0-3: 0000000000000000 0000000000000000 0000000000000000 0000060011562000
    %l4-7: 00000000e0000000 0000000000000001 0000000000000000 0000000000000000
    000002a100a67910 dls:soft_ring_drain+78 (600135d1f00, 60011dfa940, 2, 2000000, 2, 0)
    %l0-3: 0000000000000000 0000000000000000 0000000000000004 0000000000000005
    %l4-7: 000006001359bc28 00000600135ca040 000000007be1c238 000000000000fffe
    000002a100a679c0 dls:soft_ring_worker+64 (600135d1f00, 0, 2, 600135d1f4c, 0, 2a100a67a8a)
    %l0-3: 000002a100a67a88 0000000000000000 000002a10001fca0 000002a10001fca0
    %l4-7: 0000000000000002 0000000000000000 0000000000000002 00000000018f1000
    syncing file systems... [1] 104 [1] 95 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 done (not all i/o completed)
    dumping to /dev/dsk/c0d0s1, offset 644284416, content: kernel
    100% done: 118970 pages dumped, compression ratio 10.00, dump succeeded
    rebooting...
    Resetting...
    -eugene
    Edited by: emonagh on Aug 25, 2009 1:54 AM
    Edited by: emonagh on Aug 25, 2009 1:56 AM

    I have checked weblogic download link.
    Currently webloigc is only available only for below mentioned platforms:-
    1. Windows (32 bit jvm)
    2. Linux (32 bit jvm)
    3. sun solaris (only SPARC) (32 bit JVM)
    There is no generic installer available for weblogic 9.2
    Thus what I want is weblogic 9.2 setup for x86 machine.
    I have tried to run weblogic 9.2 setup for linux on sun solaris x86.
    But it did not run, it also gave error message that some package is missing in /lib/.. folder.....

  • Using [TODAY] in filtered views

    The instructions under the filter section in Edit View clearly states; "Show all of the items in this view, or display a subset of the items by using filters. To filter on a column based on the current date or the current user of the site, type
    [Today] or [Me] as the column value...". However when I use [Today] as my filter value, I received the following error message: "Filter Value is not a supported date format" My date fields are all set up
    as date only, and I am assuming that [Today] also is set up as date only.  Did something change in SharePoint 2010 that won't accept [today] as a filter value?

    Hi. There is no other column called "Today".  I created the "My Today" solution simply because the directions within the view indicate that I should use [Today]. I am not including the "=" sign.  I am simply trying to filter my view where a specific
    date is equal to [Today]. The error message I get says something to the effect of the format of [Today] is not compatible with the filter.  Is it possible that [Today] includes both date and time?  My field is set up to display date only.

  • Use of Photo Filters in color-to-b&w conversion

    I have seen instructions for using PSE's Photo Filters for color image correction. Can they also be used to replicate black-and-white lens filter effects? This would normally involve the red and yellow filters.
    If so, what are the steps for doing this? For example, if I'm working in layers, do I convert my background to grayscale, or leave it in color? What else do I need to do?
    Finally, if someone has experience with this, how does it compare with alternative methods of color-to-b&w conversion? Thanks!

    Josh,
    Thanks for the follow-up. Scott Kelby in his book: The Photoshop Elements Book for Digital Photographers, on page 178 discusses replicating photography filters. I referred to this book frequently while starting out with Elements#1.
    Photo Filter 80A is R101 G102 B 169. The drill is to click on the foreground swatch, bring up the color picker, and enter the values.
    Next create a new layer and fill it with the foreground color. In the layers palette set the blend mode to color, and adjust opacity of color layer.
    If you know the RGB values of the "filters" you wish to employ, perhaps this type of work-around will help further.
    Ken

  • Photoshop cc crashed when using 3rd party filters

    While using Adope Photoshop CC in connection with Nik software filters the program crashed and would not open unless I turned filters off, how do i get filters back?

    Contact Nik/Google for updates to their plugins to fix the bugs in their plugins.

  • Using multy-conditional filters (if/then/ELSEIF/else)

    Hello,
    I need to create multiple policies for adding disclaimers.
    We have a default disclaimer and now two unique ones for domains that need to maintain their own.
    I created text recourses for all disclaimers and like to make a content filter that does the following:
    if the senderdomain = UniqueDomain1 then
    add disclaimerDomain1
    Else if the senderdomain = UniqueDomain2 then
    add disclaimerDomain2
    Else
    Add default Disclaimer
    I created the following filter syntax:
    add_disclaimer: if (recv-listener == "relay") AND (mail-from == "^.*@domain1\\.com$")
    {add-footer("domain1Disclaimer");}
    elif (recv-listener == "relay") AND (mail-from == "^.*@domain2\\.com$")
    {add-footer("domain2Disclaimer");}
    elif (recv-listener == "relay")
    {add-footer("defaultDisclaimer");}
    When I submit the filter I get the error "An error occurred during processing: Syntax error at the end of filter".
    Does anyone know if Ironport filters support the Python "elif" routine? if so, what am I doing wrong, if not..... does anyone have any suggestions what way I can deliver this functionality?
    Thank you!
    Steven

    You can probably get the IF/ELSE IF/ELSE logic to work on the Ironport message filters, but I would suggest that you use a combination of Outgoing mail policies and outgoing content filters.
    1. Create all your different disclaimers in the [Mail Policies > Text Resources] section.
    2. Create a corresponding outgoing content that pertains to each sender domain and assign the outgoing content filter.
    i.e.
    Let's say you have two domains and then the default domain:
    domain1, domain2, default domain
    if "mail-from" ends with "@domain1"
    then
    apply domain1-disclaimer-footer
    deliver();
    if "mail-from" ends with "@domain2"
    then
    apply domain2-disclaimer-footer
    deliver();
    if "mail-from" ends with "default-domain"
    then
    apply default-disclaimer-footer
    deliver();
    3. Then go to your outgoing mail policies > default policies > content filters and enable all three filters.
    Similarily, you can create two additional customized outgoing mail policies and each policy can have it's own outgoing content filters.
    Bottom line, you can definitely do it with message filters, but the outgoing mail policies/outgoing content filters may be easier to maintain.
    Let me know if you have any questions or concerns.
    apply domain2-
    Hello,
    I need to create multiple policies for adding disclaimers.
    We have a default disclaimer and now two unique ones for domains that need to maintain their own.
    I created text recourses for all disclaimers and like to make a content filter that does the following:
    if the senderdomain = UniqueDomain1 then
    add disclaimerDomain1
    Else if the senderdomain = UniqueDomain2 then
    add disclaimerDomain2
    Else
    Add default Disclaimer
    I created the following filter syntax:
    add_disclaimer: if (recv-listener == "relay") AND (mail-from == "^.*@domain1\\.com$")
    {add-footer("domain1Disclaimer");}
    elif (recv-listener == "relay") AND (mail-from == "^.*@domain2\\.com$")
    {add-footer("domain2Disclaimer");}
    elif (recv-listener == "relay")
    {add-footer("defaultDisclaimer");}
    When I submit the filter I get the error "An error occurred during processing: Syntax error at the end of filter".
    Does anyone know if Ironport filters support the Python "elif" routine? if so, what am I doing wrong, if not..... does anyone have any suggestions what way I can deliver this functionality?
    Thank you!
    Steven

  • SAP Webdispatcher :Images are not displayed after using the URL filtering

    Hello,
    I have installed the SAP webdispatcher 7.3 on Linux redhat 5.4 in front of the Portal 7.3.
    I wanted to restrict the access just for the IRJ prefix so for this i used the parameter wdisp/permission_table = PermFile
    with Permfile as follows:
    #Denial of the useradmin URL from the WebDispatcher
    P /irj*
    P /irj/*
    The filtering is working well except that for IRJ the images are not displayed so i was using so i added the following line to disply the images to the logon page
    icm/HTTP/auth_
    P /logon_ui_resources/*
    P /logon_ui_resources*
    but i still have the same issue for the irj page where no icons are displayed and i can do nothing.
    The same issue also happened when using the icm/HTTP/auth_xx
    Do you have an idea how to deal with this issue?
    Thanks in advance;
    Hassan

    Hello,
    After checking the HTTP code of the irj page on IE,  i foud the needed URL to permit so i modified the permision table and it works fine for the moement
    P /irj*
    P /irj/*
    P /logon_ui_resources/*
    P /logon_ui_resources*
    P /AFPServlet/*
    P /AFPServlet*
    P /com.sap*
    P /com.sap/*
    P /webdynpro/resources*
    P /webdynpro/resources/*
    Thanks for you help,
    Hassan

Maybe you are looking for