Dinamic filter

Hello everybody,
I dont know if I will be able to ask this in the right way at first sight.This is the issue, I have a filter with 3 options= All, Only M4U or Everything but M4U, choosing one of it it will affect the second filter content, adding to the filter B all possible values or only values that contain the word M4U, or all the values that it doesnt contain the word M4U. So the result will be the possible values to filter my report inside the drop down.
Any help?
Thanks
Mario Mesquita

I didn't understand...
You suggest to filter the data before they arrive in the BAPI ?
My BAPI take a input date that the user set in a form. The problem is that if he choose 01.06.2007 the bapi give me all the data beginning on the 01.06.2007 (so its also listing july data for example) and I only want June month data.
That s why I can't filter before the BAPI I need to FILTER after and betweens to date but not static date... like 01.06.2007 and 30.06.07. I want Dinamic Date like Date(@Year, @Month, 1) and Date(@Year, @month, 30)
Is it possible ?
thx for answering
Message was edited by:
        Guillaume Marchal

Similar Messages

  • How to avoid cross tab

    I'm trying to create CR report. In this report there should be mapped data for 5 years. The year depends on meaning of dinamic filter. Also data differes from each other by one parametre - plan or fact. To limit data by year and type of fact, I made 6 formula fields.
    in preview I see this:
    http://keep4u.ru/imgs/b/2009/05/18/38/38f721ea0210e66a5cd9ecb94e1f8fb9.jpg
    in each row there is only one non-zero record. what to do to display  non-zero 6 records in row?

    Add a group containing those years, suppress the detail lines, and create six more formula fields that return the Maximum() for each formula across the group.

  • Calculate Revenue's Percentage per Year, Month or any filter that is applied to the Dashboard in DAX using Excel PowerView.

    Hello folks,
    I am facing an odd issue here with a Dashboard Report in PowerView.
    The task is to display, in a table, a percentage of total (revenue) by any filter that the client wants. For instance, if the client selects the year (to be short) 2013, it should display for each Customer the percentage of total as Participation field.
    If the client select 2014, the data should change dinamically and the same if he selects both years.
    The issue that I am facing is that it calculates correctly (showing total of 100%) for either 2013 or 2014, but when I select both it sums up and shows 200% total, altering all other lines with the same behavior.
    So, basically what I need is to immitate a PARTITION BY analytic function, for instance, PARTITION BY YEAR and calculate the data over the total of the selected year only (if there are many years selected, the should be calculated over it, resulting in a
    100% total).
    Here is the formula that I am using in the column:
    =[Valor NF]/CALCULATE(SUM([Valor NF]);ALLEXCEPT(Faturamento;Faturamento[Ano]))
    Where [Valor NF] is the source column (invoyce total), Faturamento is my table (Revenue) and [Ano] is the year column, (I am calculating only by year to test)
    I'd appreciate any suggestion.
    Thanks in advance
    MCP

    Hi Nick,
      Thanks for your suggestion and it  worked for me   I  added the 'System message' web item and set the visibility to 'Hidden'  .Now I am not getting any message. Thank you for both.
    Thanks & Regards,
    Raja

  • Field name is not know error when trying to add a filter

    Hello all!
    I need to add a filter dinamically to display a report. I'm using Crystal Reports 10 w/ RAS server.
    There is an sql statement in Database Fields > Command. It uses a join and a correlation name for table name: TT.START_TIME.
    I am getting a "Field name is not known" error:
    "This field name is not known. Details: errorKind Error in File C:\WINDOWS\TEMP\{D375AB61-F7AE-4BCC-AF5E-6702C0EFDE10}.rpt: Error in formula . '{Command.TT.START_TIME} in DateTime (2007, 08, 01, 09, 00, 00) to DateTime (2007, 08, 24, 04, 45, 00)' This field name is not known. Details: errorKind"
    I tried to specify the field the following ways:
    Command.START_TIME
    TT.START_TIME
    START_TIME
    TIME_TRACKER.START_TIME (time_tracker being the table name)
    MAIN.TIME_TRACKER.START_TIME (main being the schema)
    All of the above is giving the same field name not known error.
    I am adding the filter the following way:
            String whereClause = "{Command.TT.START_TIME} in DateTime (2007, 08, 01, 09, 00, 00) to DateTime (2007, 08, 24, 04, 45, 00)";
            IFilter filter = rptClientDoc.getDataDefinition().getRecordFilter();
            filter.setFreeEditingText(whereClause);
            rptClientDoc.getDataDefController().getRecordFilterController().modify(filter);
    I also tried the following where clause:
    String whereClause = "{Command.TT.START_TIME} > DateTime (2006, 08, 01, 09, 00, 00) AND {Command.TT.START_TIME} < DateTime (2007, 08, 24, 04, 45, 00)";
    still doing the same thing.
    If anyone could please help me w/ this I'd really appreciate it!
    Thank you!
    Anastasia

    The first formula was created using the selection formula expert. I only added the TT part after it didn't work giving the same message. The name the expert gives it after I click on the field is {Command.START_TIME}. Still gives the invalid field name error. -_- Could the rest of the forumula be causing the problem?
    In regards to parameterizing the SQL Command, I spoke w/ the gentleman who creates these reports in Crystal, he says it's not possible, because sometimes we don't want a where clause and sometimes we do.
    Is there a way to directly edit the SQL string itself which is in the Command through java?
    Thank you very much for taking time to respond.
    Anastasia

  • Problem with charset  ISO-8859 with dinamic action

    Hello
    I migrated my application that was Apex 3.2, and now Apex is 4.2.3, but a have a problem when I'm use Dynamic Action with ISO-8859.
    When I used a filter "ação" in dinamic action filter mounted by the apex presents 'aà § à £ o.'
    If I force use of PlsqlNLSLanguage = BRAZILIAN PORTUGUESE_BRAZIL.UTF8 in Dads, works correct.
    Please, Help me! I need to keep ISO-8859!
    Thanks

    Using another example to illustrate the problem… I
    found an apparent solution using "encodeURI".
    It sees:
    quote:
    BEFORE:
    function SaveMsg()
    if (document.sender.message == "" )
    return false;
    var mensagem=document.sender.message.value;
    ds2.setURL('responsexml.asp?action=add'&msg='+mensagem);
    ds2.loadData();
    document.sender.message.value="";
    document.sender.message.focus();
    When the entrance of the changeable "mensagem" was
    “João” was recorded in archive XML as
    “Joo” ...
    input: "João"
    output: "Joo"
    quote:
    AFTER:
    function SaveMsg()
    if (document.sender.message == "" )
    return false;
    var mensagem=encodeURI(document.sender.message.value);
    ds2.setURL('responsexml.asp?action=add'&msg='+mensagem);
    ds2.loadData();
    document.sender.message.value="";
    document.sender.message.focus();
    Now ...
    input: "João"
    output: "João"
    This would be a good solution? I will not have problems,
    right? Some opinion/suggestion on this solution?

  • Hot to Dynamically set Group Filter via parameter

    To display top X records per group in a report, we can set the group's filter type = First and Number of Records = X. What if X is variable and is passed as a parameter?

    To dinamically set a group filter use a bind parameter, e.g. :MAX_Records. A second (dummy) bind parameter which has to be reset at a level above this group e.g. :INC_CNTR has to be defined. Then edit the function for the group where your filter should apply to.
    BEGIN
    :inc_cntr := :inc_cntr + 1;
    if :inc_cntr <= :max_records then
    return (TRUE);
    else
    return (FALSE);
    end if;
    END;
    :MAX_Records can then be set at runtime through the parameter form.
    Hope this is what you were looking for.
    null

  • Dinamic query

    Hello!
    For first, sorry for my ignorance, but I'm not DBA and who is DBA at my company couldn't help me (I don't know why!).
    I have a problem with dinamic filters in some queries.
    I want to select N rows of a table, but the query can vary in a series of filters, it depending on the parameters.
    For example:
    first case:
    SELECT X FROM TABLE
    WHERE X = 'TEST';
    second case:
    SELECT X FROM TABLE
    WHERE X = 'TEST'
    OR X = 'AAA';
    Did you understand? This is the problem. How can I concatenate this clause "OR" in the end of the query when I want, without create it as a string and using "EXECUTE SQL"...?
    I want to use it as a dinamic command...
    One more time, sorry if this is a question that only fools do. I'm learning by myself, and at the moment I'm lost. =)
    Thanks!

    in this case performance problem occurs for the NULL case only?
    create table tab (x varchar2(16));
    insert into tab values ('TEST');
    insert into tab values ( NULL );
    begin
       for i in 1..1000000 loop
           insert into tab values ( to_char(i) );
       end loop;
    end;
    create unique index ui_tab_x on tab(x) nologging;
    exec dbms_stats.gather_table_stats(user, 'tab');
    commit;
    set timing on
    set autotrace traceonly
    SELECT X FROM tab WHERE X = 'TEST' or X = DECODE(1,NULL,X,1) ;
    Elapsed: 00:00:00.00
    Execution Plan
    Plan hash value: 3421616299
    | Id  | Operation          | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |          |     2 |    12 |     4   (0)| 00:00:01 |
    |   1 |  CONCATENATION     |          |       |       |            |          |
    |* 2 | INDEX UNIQUE SCAN| UI_TAB_X | 1 | 6 | 2 (0)| 00:00:01 |
    |* 3 | INDEX UNIQUE SCAN| UI_TAB_X | 1 | 6 | 2 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - access("X"='TEST')
    3 - access("X"='1')
    Statistics
              1  recursive calls
              0  db block gets
    6 consistent gets
              0  physical reads
              0  redo size
            444  bytes sent via SQL*Net to client
            384  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              2  rows processed
    SELECT X FROM tab WHERE X = 'TEST' or X = DECODE(NULL,NULL,X,NULL) ;
    1000001 rows selected.
    Elapsed: 00:00:05.87
    Execution Plan
    Plan hash value: 1995730731
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     1 |     6 |   503   (9)| 00:00:07 |
    |* 1 | TABLE ACCESS FULL| TAB | 1 | 6 | 503 (9)| 00:00:07 |
    Predicate Information (identified by operation id):
    1 - filter("X"="X" OR "X"='TEST')
    Statistics
              1  recursive calls
              0  db block gets
    68353 consistent gets
              0  physical reads
              0  redo size
       16555973  bytes sent via SQL*Net to client
         733710  bytes received via SQL*Net from client
          66668  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
        1000001  rows processedwhat is your Oracle version? I did above test on 10gR2. And are you using bind variables for this operation?
    if you are using bind variables force the NOT NULL cases to be parsed differently than NULL case, so guarantee for different execution plans no matter which comes first.
    one way to do this can be with an if block and use comments in your code.
    if arg is NOT NULL then
       select /* NOT null case */ X FROM tab WHERE X = 'TEST' or X = DECODE(arg,NULL,X,arg) ;
    else
       select /* null case */ X FROM tab WHERE X = 'TEST' or X = DECODE(arg,NULL,X,arg) ;
    end if;  

  • Security Filter

    Hi everybody.
    I am using BAM's security filter and I need integrate it with LDAP.
    Is there a way to connect to LDAP through a BAM's webservice?
    I want not need a static dataobject providing security informations, but a dinamic dataobject, updated by an webservice periodically.
    Thanks for the help.
    Luciano Gomes

    Hi
    BAM Web Services can be called to update/create/delete a DO as well as the content of the DO.
    I would recommend using the BAM Webservices that referenced the DO by name.
    In this case, I do not see how would BAM invoke LDAP . You will need some trigger to create a payload that BAM WebService can consume.
    One thing that I can think of is to have a BAM alert invoke the BAM Webservice but how would it figure out the payload i.e. security filter values that need to be updated?
    This is an interesting use case and would like to know more on what are you trying to accomplish.
    Regards
    Payal

  • Dinamic group creation with commadmin

    I�ve been trying to create a dinamic group in Java Enterprise System fof Messaging Server with this command:
    commadmin group create -D admin -G CB057001 -n myuniv.edu.co -w passwd -i dinamicgroup.dat
    The group is created but static:
    cn: CB057001
    iplanet-am-group-subscribable: false
    objectClass: iplanet-am-managed-static-group
    objectClass: groupofuniquenames
    objectClass: top
    objectClass: iplanet-am-managed-group
    The dinamicgroup.dat file contain:
    d eafit.edu.co
    f ldap:///ou=People,o=myuniv.edu.co,dc=myuniv,dc=edu,dc=co??sub?(&(objectclass=usermyuniv)(matgroup=CB057001))
    p 8080
    S mail,cal
    H dirhost.myuniv.edu.co
    E [email protected]
    Could you tell me whats wrong?
    How can I force to just members sent mail to the group?

    From the 6.0 training:
    Task 6 - Create a Dynamic Group
    In the previous task, you added sample2 and sample3 users with the attribute ou=groupl. You will create a dynamic group using an Idap filter
    based on this attribute. Complete the following step:
    Create a dynamic group based on the ou=groupl attribute as the domain administrator:
    ./commadmin group create -D sample -G group_one
    -w password -n example.com -d example.com
    -f 'Ldap:///o=sunone??sub? (&(objectclass=person) (ou=groupl))'
    -E [email protected] -S mail

  • In the filter scheme driver, how to i get the filename in open() or handleOpen ()

    I want to implement filter scheme driver to monitor and prevent file open or read calls based on certain rules. For this I would need file name, user name and application process name. I did not find a way to extract this information. Any hint would be of great help.

    If the reset doe not work, connect tot he comouter and try to restore via iTunes.
    If the logo is still showing, let the battery fully drain. After charging for an hour, try the reset and restore again.

  • AND/OR + some nulls in filter

    I'm running into another problem with the AND/OR filter.
    The filter for selecting from object "a" and joining to objects b, c & d
    is:
    (b.theid==2 || c.theid==2 || d.theid==3) && active=="Y"
    The SQL that gets generated is:
    SELECT <...>
    FROM b t1, d t3, a t0, c t2
    WHERE ((((t1.theid = 2 AND t0.bid = t1.id) OR (t2.theid = 2 AND t0.cid
    = t2.id)) OR (t3.theid = 3 AND t0.did = t3.id)) AND t0.active = 'Y')
    This returns a number of instances of the same a object when some of the
    OR clauses do not match. For example, if there's no record
    with d.theid=3, then it will do a full join on table d.
    Do I need to specify something else to flag these as potentially null
    fields so that the filter parser adds that check in? The following SQL
    query works
    ok if I add some checks for NULL on those join fields:
    SELECT <...>
    FROM b t1, d t3, a t0, c t2
    WHERE ((((t1.theid = 2 AND t0.bid = t1.id OR t0.bid IS NULL) OR
    (t2.theid = 2 AND t0.cid = t2.id OR t0.cid IS NULL)) OR (t3.theid = 3
    AND t0.did = t3.id OR t0.did IS NULL)) AND t0.active = 'Y')
    Thanks,
    -Mike
    Mike Bridge

    Hi D,
    Thank you for your answer.
    I have seriously thought about that solution; but I don't think it's a smart way to do it.
    If i do it like that, i need to copy the whole table and paste it inside the if statements.
    I have two xml elements that I need to make the decisions on. POH_PO_TYPE & CP_RELEASE_NUM.
    POH_PO_TYPE can be: STANDARD, RELEASE or BLANKET.
    CP_RELEASE_NUM can be: '' or N
    If POH_PO_TYPE is RELEASE AND CP_RELEASE_NUM is not ''
    OR POH_PO_TYPE is STANDARD
    OR POH_PO_TYPE is BLANKET AND CP_RELEASE_NUM is ''
    THEN show table (which contains the whole PO).
    It shall show the content of the PO in any of these cases.
    BR Kenneth

  • Jabber Windows - no phone control with LDAP Custom filter

    I am unable to control the desktop phone from the Jabber 9.1 Windows client when the CallManager LDAP Directory uses a Custom Filter.
    Has anyone else experienced this?
    If I set the LDAP Custom Filter to <none> and save, then Desktop Phone control works great.
    If I set it to use my custom filter, then trying to enable Desktop control just gives me the spinning circle, then times out to the Red X symbol.
    I do not need to resync the LDAP Directory to get the error, just enable/disable the custom filter and save.
    In both cases calling from the Computer works great.
    This is an On-Prem deployment with full MS-AD LDAP integration.
    Versions are:
    Jabber - 9.1.0 build 12296
    CUPC - 8.6.4.11900-1
    CUCM - 8.6.2.22900-9
    I upgraded to CUCM 8.6.2 SU2 last night hoping that would fix the problem, but no luck.
    The LDAP filter is one I have used in numerous other clusters with no CTI issues.
    It allows me to sync to the root directory, but only import active user accounts with an entry in the ipPhone AD attribute:
    (&((objectclass=user)(ipPhone=*))(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))
    Thanks, Randy

    Hi Randy,
    Have you specified this base filter in jabber-config.xml file? As per Admin Guide:
    "In some cases, base filters do not return query results if you specify a closing bracket in your Cisco Jabber for Windows  configuration file. For example, this issue might occur if you specify  the following base filter: (&(memberOf=CN=UCFilterGroup,OU=DN))
    To resolve this issue, remove the closing bracket; for example, (&(memberOf=CN=UCFilterGroup,OU=DN)"
    Thanks,
    Maqsood

  • In ALV Report Filter selection should be case sensitive

    Dear All,
    since one field is case sensitive in database table , i have to fetch that in alv report , but when i am applying  filter on that field its is simply fetching data with case description.  if its in caps it should fetch caps data but in   smaal case report showing no data
    Regards,
    Pankaj Vashista

    Hi,
    All text datas are case sensitive.
    To make it work perfectly You have to Use the Keyword translate to Upper Case than display
    Now filter can work.
    Without Transalation to Upper Case filter will not work.
    Regards
    Arbind

  • My Mac is bypassing a website filter... How can I stop it?

    I am a computer technician at our local high school. Right now, the school has about 800 Dell computers, but we are planning on introducing a few Macintosh labs within the next school year.
    Since they lack educational value, the school district's director of technology (my boss) has a web filter (Deep Nine) that blocks myspace, facebook, youtube, proxy sites, and other similar sites.
    Myspace is blocked via a keyword filter, any page containing the word "myspace" in the url, or in the document a set number of times, is automatically blocked. The other sites are simply blocked by URL. This filter works perfectly on our Dells, no one can access Myspace, Facebook, Proxies, etc.
    I brought my Macbook to work today, plugged it into the network, and logged onto the internet. I noticed instantly that my homepage (Facebook) loaded without being blocked at all. Curious, I tested myspace and youtube, and I could get on youtube fine, but myspace remained blocked.
    I checked on the Dell next to me, and all those sites will still being filtered and blocked. Yet my Macbook was able to access them without issue. So it would appear that my Macbook has some mystic ability to bypass the web address filter, but it can not bypass the keyword filter.
    I do not have any proxies configured. My Macbook connects to the network (and thus, the internet) the same exact way the other computers within the school do, with the exception of the other computers being within Active Directory.
    I need to find out if it is an issue with the Mac or with our Filter. I don't have any other Macs available to test with (Our only other Mac in the school is our DHCP server, and we do not use servers as "lab rat" computers).
    Has anyone had any similar issues with this? Or does anyone know of any way I can diagnose this with only one Mac and only one Filter?
    Specs: OS 10.5.5, Safari 3.1.2, wired networking.
    Message was edited by: Joey Hogan
    Message was edited by: Joey Hogan

    The DeepNines product works well and does much more than a simple URL filter. The problem lies entirely in your district setup and not in their product. If you're not using a proxy filter, then you have all access and routes designed to head out on typical port 80 traffic to your isp and ultimately the internet hence no proxy configs. The filter is integrated with LDAP accounts at each of your locations to tell it which users and groups are to get filtered at what level. That tie in is what breaks down who goes where. If you introduce new macs onto the network and they have not been configured to work with the DN appliance and are going out unfiltered... then there are 2 problems here. #1 is that you have computers attaching to the network, receiving leases and doing what they want. Use DHCP reservations or a whitelist to control who gets on your network. #2 is that your DeepNines filter has not been set to failover to BLOCK. Instead, it's allowing unknown users to bypass freely simply because it doesn't recognize their group/account. And Orange, stop slamming the company. They are a smaller business that has taken a much better approach to filtering than any other large corporation. Standard database driven URL filters DO NOT WORK....PERIOD! I challenge you to call any district that is running their appliance to get their opinion of it in comparison to any of the other basic url filters out there. I did just that last week and they had absolutely nothing but high praises for the DN product. One even laughed at Websense which they had before switching simply for the lack of ability to block anonymouse proxies.

  • How to use one Filter Pane to multiple Dataproviders

    Hi Experts.
    i have checked the threads on this but i did not get correct solution.
    we have issue in using single Filter pane web item in WAD for three different dataproviders ( three dataproviders have same free charecteristics and variable) charecteristics in row and keyfigures are different.
    thanks in advance.
    Regards
    Raj.

    Hi Gill,
    Thanks for your Quick responce.
    when we use the single filter pane, filter conditions are working for only first dataprovider (since data binding is to dataprovider 1. in affterted dataproviders i selected dataprovider 2 and 3, but filter pane is not active for other two dataproviders in tabs.
    thanks in advance.
    Any inputs please....
    Regards,
    Raj.
    Edited by: Rajsapbi on Apr 6, 2009 9:22 AM

Maybe you are looking for

  • Junk filter is not working properly

    I have been using the Junk mail filter successfully for years. Lately Mail is marking messages as Junk but still leaving some of them in my Inbox, though it is supposed to send all junk to the Junk mailbox. Also it is sending some messages to the Jun

  • Dlv. type (dlv. catgry  for mat. 80001278 and BWART 553) cannot be determin

    We have handling unit managed FG material. When we try to do scrap stock posting from QA11 transaction we are getting following error message. It is difficult to understand. Can you help? Message no. VL295 Dlv. type (dlv. catgry  for mat. & and BWART

  • Can't import photos from Kodak EasyShare M1093IS

    Had this camera for over a year and I have never had a problem until today. I can't upload any photos into iPhoto. Message says it's not a supported format. The photos are .jpg and I can see them in the screen where you select photos for import. Runn

  • Outlook Mail + Contact  + Calendar folders change after sync

    I use Outlook and after sync with my iPhone my Favorite Folder list changes. The Calendar and Contact folder names appear in Favorites (not there before) and cannot be deleted by right click and selecting "Remove from Favorite Folders". I found that

  • Periodic Data Extract from HFM

    Does anyone have any tips/suggestions for extracting periodic data out of HFM? Currently in our application we are loading year to date data from Oracle into HFM using FDM. When we go to extract periodic data in the application it skips over the ghos