Filter with OR operand

I have two characteristics in the cube. Personnel Area and Personnel Sub Area. I like to build a BEx query that shows Personnel Area equals 0001 OR Personnel SubArea equals 0045.
I cannot use filters directly, because it is trying to perform a logical AND of both of them, which is causing it not to return any data.
so any ideas how I can execute a filter, with OR condition?

Sachin,
This has nothing to do with the KFs you want to display in your report. This is a 'dummy' KF, only used for simulating the OR condition.
That is to say you only need to create one set of such KFs not one each for all KFs of your report.
Hint : Starting KF could even be a locally defined formula with a constant value of '1' ; doesn't have to be a KF from provider.

Similar Messages

  • How to change the presets in pop-up menus (CS6 or CR 7, example Photo Filter) with arrow keys?

    How to change the presets in pop-up menus (CS6 or CR 7, example Photo Filter) with arrow keys an see at the same time the changes on the photo?
    It worked under Windows, now I use OS 10.8 and have to apply a preset with a click or Return button but after that the pop-up menu close so I have to open it once again to change a preset. Please help. Thank you!

    The filter panel is a shortcut for the content panel and it only effects the content of that window. So if you have a folder it will only see this as a folder and not with its content. (a Stack behaves about the same, being different in only counting the first file in the filter panel criteria but not what is in the stack itself)
    You have a view work arounds, first is use menu view / show items from subfolders (this can take some time especially if you have not used caching before on this content) and this builds visible thumbs for all content and that can be used for filtering.
    Or use the find command (Edit / find) and inhere specify the source and fill in the criteria include subfolders and this will give you the correct result.
    When you create a smart collection the find command also pops up given you the same opportunity to get the results in a collection, but since a collection is only a bunch of aliases referring to the originals you might be a bit careful with editing and deleting.

  • Check Interactive report filter with APEX item :P101_USERNAME

    Hi,
    is there a way to create a filter with IR which is based on the :P101_USERNAME item?
    I use this variable with the windows user name and want to show only rows where the current user works with.
    Thanks ahead,
    Tobias

    Hi John,
    my plan was to reference the filter on the user level.
    Parts of selection for the IR:
    SELECT r.r_id,
    c.c_name,
    r.r_note,
    UPPER(r.win_account)
    FROM requests r, classes c
    WHERE r.r_c_id = c.c_id
    Info:
    WIN_ACCOUNT looks like: ARNHOLD_TOBIAS
    :P101_USERNAME looks like: ARNHOLD_TOBIAS
    The goal is that a user in the standard view sees only his rows/calls and if he want to see the rows/calls from the colleagues too. He/She would only need to take off the filter for the USERNAME.
    I could use my own items with an extra region too but I thought that there was an easier way then that.
    Tobias

  • How to build a filter with particular frequncy respond?

    Hi,
    Are there any methods to create a filter with particular frequncy respond? It's better if I can simply input the filter's xy data according to my filter sharp. Thanks.
    Bill

    Look in the examples for FILTER
    select FIR Filter example
    For IIR filters
    slect the IIR filter example.
    The main problem that I see with inputting xy's data is that it's tricky for a program to decide which trade-off to make for passband ripple or cut off for example.

  • How to filter with multiple selection on a single column on external list, currently only one filter per column is available.

    I have external list where i want to apply multiple filter for every column like we do in Excel spreadsheet - we can filter a spreadsheet column by selecting multiple checkbox for every  column. I am using Sharepoint 2010
    Is this possible in sharepoint 2010? Any idea how to acheive that?
    Thanks in advance.

    Hi Rahul,
    According to your description, my understanding is that you want to use filter with multiple values on a column of an external list in SharePoint 2010.
    Per my knowledge, there is not an OOB way to achieve it. As a workaround, you can custom the web part to implement it. There is an articles for your reference:
    http://blogs.telerik.com/aspnet-ajax/posts/13-11-05/add-excel-like-multi-select-filtering-to-your-asp.net-datagrid
    In addition, you can use a third party solution to achieve it, please take a look at:
    http://abilitics.com/Blog/index.php/sharepoint-improved-grids-with-excel-like-inline-editing/
    http://social.technet.microsoft.com/forums/sharepoint/en-US/3d19b9d3-d394-4af9-9e8e-2dee70b50540/filter-column-with-multiple-filter-values-in-sharepoint-list
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to use displacement Filter with a jpeg image?

    Hi there,
    I'm trying to use the displacement filter with a jpeg image instead of a gradient map. My images are:
    1) Background: men2.jpg
    2) Map image: men2BN.jpg (same as above, but grayscale and blurred)
    3) The image to be displaced: star5_mc
    I'll appreciate very much any help with this issue, Thanks in advance. Madrid.

    create a bitmapdata instance (using the new constructor) and then apply the filter to your bitmap instance.

  • Filter with similar request

    Hi Gurus,
    What is the use of filter with similar request option in which scenarios we will use these option.
    Thanks,

    Hi, David
    Yes, this same one is the problem. But as indicates Obiee 1 Kenobi is a problem recognized by Oracle (Based on further research, it is not possible to use a union table to pass the filter to a target table.Bug 6067587 has been raised as a fix for this, and the "fixby" version is 11.1.1.2)
    At the moment solve the problem using filters with AND-OR.
    Thank you for your help.
    Nora

  • ClassCastException, filter with webservice

    I put together 'nothing' filter with wrapper on request.
              When I try to put filter in front of webservice, it causes the exception.
              If I use the filter with plain servlet, it is ok.
              If I modify the filter to use original request, not the wrapper, it is also fine.
              Has anybody experienced something similar ?
              Is something conceptual wrong with puting a filter in front of webservice ?
              Thanks
              Here are the details:
              java.lang.ClassCastException
                   at weblogic.webservice.server.servlet.WebServiceServlet.getWebService(WebServiceServlet.java:195)
                   at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:95)
                   at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:232)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
                   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at sunrise.crm.logger.MiniFilter.doFilter(MiniFilter.java:37)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              import java.io.IOException;
              import javax.servlet.Filter;
              import javax.servlet.FilterChain;
              import javax.servlet.FilterConfig;
              import javax.servlet.ServletException;
              import javax.servlet.ServletRequest;
              import javax.servlet.ServletResponse;
              import javax.servlet.http.HttpServletRequest;
              import javax.servlet.http.HttpServletRequestWrapper;
              import org.apache.commons.logging.Log;
              import org.apache.commons.logging.LogFactory;
              public class MiniFilter implements Filter {
              private static Log log = LogFactory.getLog(MiniFilter.class);
              public void init(FilterConfig filterConfig) throws ServletException {
              log.debug("mini filter loaded" );
              public void doFilter(ServletRequest request, ServletResponse response,
              FilterChain chain) throws IOException, ServletException {
              long startTime = System.currentTimeMillis();
              HttpServletRequest hr = (HttpServletRequest)request;
              MyRequestWrapper requestWrapper = new MyRequestWrapper( hr );
              log.debug( "hit" + hr.getRequestURI() );
              chain.doFilter(requestWrapper, response);
              public class MyRequestWrapper extends HttpServletRequestWrapper {
              public MyRequestWrapper(HttpServletRequest request) {
              super(request);
              public void destroy() {
              log.debug( "bye bye");
              }

    Hi Rajat,
    Thanks for ur response. Actually I downloaded a CompressionFilter from the location give by u
    "http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html"
    It is woring file with the servlet and giving the expected result. But when I apply it with the jsp it shows me blank screen(Browser window). I Debug it and find out that filter is being called with the jsp but when response being compress and write back into the outputstream, actually it is not writing anything.
    If u can help me for the same, would be very nice foe me.
    Thanks in advance
    Manish

  • Low pass filter with formula node

    Hi guys.
    My teacher gave me an exercise (attached) in which i have to realize a low pass filter with the formula node. He gave me also the input/output but I  have no idea where to start.
    Can you help me?
    Attachments:
    Exercise6.vi ‏10 KB

    Check out this thread:http://forums.ni.com/t5/LabVIEW/Butterworth-Filter/m-p/2496680
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How are the IC's calculated in the IIR Cascade Filter with I.C. vi

    How are the IC's calculated in the IIR Cascade Filter with I.C. vi

    Solved this myself.
    Attached llb has subVI that computes the IC's needed to remove transient given a constant value step input to the IIR Filter.
    Computes filter state (see app note 39) for cascade filter using z-transform final value theorem.
    This version works for all filter types, ie lowpass, highpass, bandstop and bandpass.
    Attachments:
    IIR_Filter_with_I.C._set_to_Final_State.llb ‏94 KB

  • Execute hidden filter with explicit target

    Hello,
    I would know if it is possible execute, in automation filter, an hidden filter with explicit target. I would apply a modified hidden filter on all image open in photoshop,
    at this moment I use PIUSelectByIndex to select an open document and after I execute hidden filter on selected image.
    How could I execute directly hidden filter on the image without use PIUSelectByIndex?
    I try something like:
    func()
        sPSActionReference->Make(&reference);
        sPSActionReference->PutIndex(reference,classDocument,1); //1,2,3... and so on
        sPSActionDescriptor->Make(&descriptor);
        sPSActionDescriptor->PutReference(descriptor,keyNull,reference);
        // This code is copied by Automation Filter example
        sPSActionDescriptor->PutEnumerated(descriptor,keyCommand,typeCommand,command);
        sPSActionControl->StringIDToTypeID(HiddenUniqueString,&hiddenEventID);
        sPSActionControl->Play(&result,hiddenEventID, descriptor, plugInDialogSilent);
    but it doesn't work, hidden is always applied on the active document.
    Thanks,
    Franco

    I am not sure that i understand what you are asking for.
    You could try to remember current layer in current document then sellect tha layer and documant that you need to work on, apply hidden filter and then return to current document or layer.
    If you can not work on Backgground layer maybe you have not selected it.
    truy something like:
    SPErr SelectBG(/*your parameters go here*/void)
             SPErr error = kSPNoError;
                   PIActionDescriptor result = NULL;
             PIActionDescriptor desc000006F8 = NULL;
                   PIActionReference ref00000198 = NULL;
             error = sPSActionDescriptor->Make(&desc000006F8);
             if (error) goto returnError;
        error = sPSActionReference->Make(&ref00000198);
        if (error) goto returnError;
        error = sPSActionReference->PutProperty(ref00000198, classLayer, keyBackground);
        if (error) goto returnError;
        error = sPSActionDescriptor->PutReference(desc000006F8, keyNull, ref00000198);
        if (error) goto returnError;
        error = sPSActionControl->Play(&result, eventSelect, desc000006F8, plugInDialogSilent);
        if (error) goto returnError;
    returnError:
         if (result != NULL) sPSActionDescriptor->Free(result);
         if (desc000006F8 != NULL) sPSActionDescriptor->Free(desc000006F8);
         if (ref00000198 != NULL) sPSActionReference->Free(ref00000198);
         return error;
    That should put focus on background layer and you should be able to work on it.
    Hope this helps.
    Regards,
    Momir

  • Using Windows 7 and LR 5  when I look at the Keyword List a certain keyword has 7 pictures but when I check the Library Filter with that keyword 350 pictures are shown which includes the 7 pictures that have the keyword.  Why does the Library Filter showi

    Using Windows 7 and LR 5,  when I look at the Keyword List a certain keyword has 7 pictures but when I check the Library Filter with that keyword 350 pictures are shown which includes the 7 pictures that have the keyword.  Why does the Library Filter showing pictures that do not match the query

    Dan,
    Here's what's going on in the catalog you sent me, "Joel & Caitlin's Wedding".  There is the keyword "gwenn", which is explicitly assigned to 7 pics. But keyword "schwartz" has a number of synonyms, including "gwenn", and it is assigned to 25 pics.  There is no overlap between the two sets of pics. 
    I discovered these two occurrences by doing Metadata > Export Keywords, opening the exported file in an editor, and then searching for "gwenn".  I found two occurrences of "gwenn":
    gwenn
    schwartz
        {gwenn}
    From this, you can see that the keyword "schwartz" has 9 synonyms, of which "gwenn" is one.
    The filter criterion "Keywords Contain gwenn" will match the 7 pics that are explicitly assigned the keyword "gwenn", and it will also match the 25 pics assigned the keyword "schwartz", because that keyword has a synonym "gwenn".
    This illustrates the behavior I mentioned above: The criterion "Keywords contains x" will match against any of a pic's assigned keywords, any of those keywords' ancestor keywords, and any of the synonyms of the assigned keywords and their ancestors.
    So LR is operating correctly here, if not in a way that's easy to understand. 
    It appears that you are using the synonyms of "schwartz" to represent individual members of the Schwartz family.  A better way of representing family relationships is to have a parent keyword "Schwartz", with subkeywords for each family member, e.g. "Gwenn Schwartz", "Joe Schwartz", "Jane Schwartz", etc.  Repeating the family name in the subkeywords has a couple of advantages. LR usually only displays the "leaf" name of a keyword, so instead of showing you just "Joe", it will show you "Joe Schwartz", helpful when there are a number of different people whose first name is "Joe".  Also, if you ever export your pics to other software, it may not understand the LR hierarchy and won't show the parent keywords, so again it's more informative to see a keyword named "Joe Schwartz" rather than "Joe".

  • OLAP universe filter with pattern matching.

    Hi,
    I tried to create both a qaaws and a webi report which contained a filter with pattern matching on an olap universe .  When I ran this it took too long to be usable. I found note 1500666 which says that pattern matching is not supported in MDX and to use BEX query variables instead.
    I have created a bex query with a variable which has "Variable Represents" set to "Selection Option". I can run this query and using the search option I can do a pattern match search. I have built a universe based on this query but the filter that gets created automatically in the universe uses a "Between" operator.
    Does anyone know if it is possible to change the definition of the filter in the  universe so that it does a pattern match search and if so how?
    The end result is that I would like to be able to do a pattern match search on the text description of a BW employee object.
    Thanks
    Quentin.

    It would be better if you post the Filter definition here...
    And why don't you do Pattern matching at BO query panel level??
    Where you can find Matches pattern operator to do same stuff.
    Thank You!!

  • Adding mandatory filter with own LoV to BW OLAP Universe

    Dear all,
    I want to add a own filter with custom LoV to a characteristics-filter in an OLAP Universe. This filter does not exist in the BEx Query, so I have to do it manually.
    So when the prompt shows up in WebI, the User should be able to select the Values from the custom LoV, for example:
    - Tokio
    - London
    - Paris
    The filter has to be mandatory and Tokio should be preselected. I was testing some things with the filter-XML, but always got errors. Can somebody tell me how this works?
    Thank you for help in advance!
    B. Wegner

    Hi,
    There are a few steps involved, I would suggest approaching them one at a time.
    First, try to set up a filter (condition in the universe) to only show data for Tokyo (no prompt). Ensure you can get this to work.
    Next, try and turn this condition into a prompt, but just define the LoV in the prompt syntax, not a separate object. Check that this works.
    Next, try and split out that LoV into it's own object that populates from the characteristic in the BEx query. This will be the tricky part (maybe), if possible, get a filter created in the BEx query (make sure it's set as 'ready for user input') so that you see how the LoV gets created.
    As a last resort, have a look in the manual: http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_sap_olap_univ_en.pdf
    Hope that helps.

  • Using Non-destructive filter with Nested XML data

    Hi,
    How do you use Non-destructive filter with Nested XML data?
    I am using the non-destructive filter sample with my own xml which is setup to search for the <smc></smcs> in my xml below. But when i test it it only searches the last row of the "smc". How can i make it work so it can search for repeating nodes? or does it have something to with how my xml is setup?
        <ja>
            <url>www.sample.com</url>
            <jrole>Jobrole goes here</jrole>
            <prole>Process role goes here...</prole>
            <role>description...</role>
            <prole>Process role goes here...</prole>
            <role>description....</role>
            <prole>Process role goes here...</prole>
            <role>description...</role>
            <sjc>6K8C</sjc>
            <sjc>6B1B</sjc>
            <sjc>6B1F</sjc>
            <sjc>6B1D</sjc>
            <smc>6C9</smc>
            <smc>675</smc>
            <smc>62R</smc>
            <smc>62P</smc>
            <smc>602</smc>
            <smc>622</smc>
            <smc>642</smc>
            <smc>65F</smc>
            <smc>65J</smc>
            <smc>65L</smc>
            <smc>623</smc>
            <smc>625</smc>
            <smc>624</smc>
            <smc>622</smc>
            <audience>Target audience goes here....</audience>
        </ja>
    here is the javascript that runs it.
    function FilterData()
        var tf = document.getElementById("filterTF");
        if (!tf.value)
            // If the text field is empty, remove any filter
            // that is set on the data set.
            ds1.filter(null);
            return;
        // Set a filter on the data set that matches any row
        // that begins with the string in the text field.
        var regExpStr = tf.value;
    if (!document.getElementById("containsCB").checked)
            regExpStr = "^" + regExpStr;
        var regExp = new RegExp(regExpStr, "i");
        var filterFunc = function(ds, row, rowNumber)
            var str = row["smc"];
            if (str && str.search(regExp) != -1)
            return row;
            return null;
        ds1.filter(filterFunc);
    function StartFilterTimer()
        if (StartFilterTimer.timerID)
            clearTimeout(StartFilterTimer.timerID);
        StartFilterTimer.timerID = setTimeout(function() { StartFilterTimer.timerID = null; FilterData(); }, 100);
    I really need help on this, or are there any other suggestions or samples that might work?
    thank you!

    I apologize, im using Spry XML Data Set. i guess the best way to describe what im trying to do is, i want to use the Non-desctructive filter sample with the Spry Nested XML Data sample. So with my sample xml on my first post and with the same code non-destructive filter is using, im having trouble trying to search repeating nodes, for some reason it only searches the last node of the repeating nodes. Does that make sense? let me know.
    thank you Arnout!

Maybe you are looking for