Query filter in webI

Hi All,
can anyone let me know how to keep inner filter at query level in webi.
like I have a requirement to show the q1,q2 of Year 2001 or 2002
year  quarter revenue
filters:
quarter in(q1,q2)
and
year=2001 or year=2002
Thanks

Hi,
First insert quarter filter.
Then insert first year filter and then inter second year filter (with  first year filter).it will come as and clause  between two year filter.double click on the "and" between years filter  and it will convert in th or filter.

Similar Messages

  • Error when using "inlist operator" in the query filter of Webi 3.1

    Hi,
    We are currently in the process of migrating Deski to webi (BOXI 3.1).
    The problem is, Deski is using the "inlist" operator which is working fine but after migrating to webi the inlist operator in the query filter is throwing the below error,
    *Error Message :*
    A database error occured. The database error text is: ORA-00907: missing right parenthesis. (WIS 10901)
    Appreciate your assistance on this.
    Thanks !
    Regards,
    Perialt

    Karthik ,
    Yes I am seeing an additional paranthesis in Webi SQL query.
    For example plz consider the product table below,
    SELECT
    Product.ID,
    Product.Name
    FROM Product
    WHERE
    Product.Name IN ( @Prompt('4) Name:','C','Product\Name-M',multi,free)  )
    As a work around in Custom SQL, If I remove the paranthesis the below query is running fine in webi
    SELECT
    Product.ID,
    Product.Name
    FROM Product
    WHERE
      Product.Name IN  @Prompt('4) Name:','C','Product\Name-M',multi,free) 
    But I want a permanent solution.

  • "Select All" option in Multiselect Query Filter

    Hi,
    Is there a way to select all values in a multiselect filter option in a query. currently i have created a variable or a mandatory filter which allows me to select all values one by one and then move it to right side, but its very painful option in certain cases where in i need to select all values. Is there a way where in one can select all values with a single click in Query Filter in Web Analyzer.
    Thanks
    Akila. R

    Hi,
    You can give range values in the Query designer.
    You can include variable selection where user can enter the selections with their own selections.
    Let us know if you still have any issues.
    Reg
    Pra

  • Query Filter Function?

    when I make a report, I want it to chose the date in "Query Filters` place. this option is going to be between and i am going to chose one of them by myself and the other is going to be chosen 4 months before which I chose. for example, I chose june as a filter, it should give me the february automatically based on my function.  this kind of function  can be written filter which is in  "Query Filters"?????? whenever I write =currentMonth() in filter place, It brings up the data based on the last month.

    Hello,
    Your post is a little difficult to understand, but it sounds like you want to do something like go back, for example 4 months from the date you enter in a prompt when running the report? So if you enter June 1, you want to see data between Feb 1 and June 1?
    You can easily create such an object in your Universe with DateAdd function. That can then be used in query filter. I don't think you can create such a filter on the fly in query filter in Webi. You can on the report as a variable, but not sure that would help.
    Thanks!

  • How can I use a variable in webi query filter

    I created a webi report using the fiscal year/month(period) field as a filter to show a window of 18 periods.  The report works just as requested using a between filter on fiscal period with prompts for both the start and ending periods.  Now I'd like to calculate the start period based on what was entered in the prompt for the ending period (e.g. enter 201106 for the TO prompt on the between statement and have the FROM statement filled in as 201001.)  I can create variables in the report to display both the user response to the ending period prompt and the calculated starting period, but I cannot figure out how to incorporate that calculated starting date into the FROM side of the between query filter.
    Any suggestions? 
    Thanks,
    Doug
    Sorry I got my froms and to's mixed up in the first draft. Edited by: Doug Roswold on Mar 4, 2011 6:27 PM

    Let me understand what you want to do.  You don't want to use two prompts, just one, insn't it?
    I mean, instead of:
    Filter area:
    Date between "From prompt" to "To Prompt"
    You want something like:.
    Filter area:
    Date between Variable  to "To Prompt"
    if I'm not wrong that's not possible to achieve in Webi Query  Panel.
    Can you modify your universe? The only way to achieve it is modifying your universe, creating your formula in the universe and assigning it to an object, so you can use this new object in your filter area like this:
    Date between MyUniverseObject  to "To Prompt"
    Edited by: PadawanGirl on Mar 4, 2011 8:15 PM

  • WEBI Substraction of two classes in query filter

    Please tell me how could i implement the following query in the WEBI rich client query filter.
    and ( one."/BIC/ZORIG_DAT" - one.me_itmvalf ) < 364
    AND ( abs(one."/BIC/ZINV_VAL") - abs(one."/BIC/ZSD_AFYV") > 1 )

    First, you should know that there is a set of updateXXX() methods in Java 2.0. So, when you have the correct row of the resultSet in hand you can use:
    updateString(3,"Hello world!")method to update the field in the column 3 to a String with value "Hello world!". This is just an example of course.
    To make this example complete see this:
    // assume you have the right row from the resultSet in hand.
    // assume rs is your resultSet
    int foo = rs.getInt(1);
    foo += foo*0.05;
    // and other calculations here
    rs.updateInt(1,foo);
    rs.updateRow(); // This line is here so as to make the changes
                    // permanent.
                    // No need to mention that you cannot change primary
                    // keys...Second, I think I've given you a very clear example of what you can do. And since this is a Java assignment you don't want to be spoon-feeded, do you? :)
    Hope this helped.
    afotoglidis

  • Dimension in WebI query filter needs to show Key and Description

    Hi,
    We have two requirements that we can't get them done:
    1. We are building webi report based on Bex universes and we need to show the key and description of an object in the query filter of the report. Does this have to be set in the Bex variable or in the universe?
    2. filter the LOV related to a specific dimension that is used in the query filter as prompt. The idea is to show a filtered list in the promp LOV of the dimension used in the query filter of the report. Does this have to be set in the Bex query or in the universe? If it is in the Bex Query, where exactly?
    Our system is the following:
    - BOE XI 3.1 SP2
    - SAP NW 4.0
    I await your answers. Thanks in advance.
    xtian

    Hi
    1. We are building webi report based on Bex universes and we need to show the key and description of an object in the query filter of the report. Does this have to be set in the Bex variable or in the universe?
    >> you can easily achieve that by creating a variable in the BEX query - that will return as a LoV with key and description assuming you have key and description in BW for the InfoObject.
    2. filter the LOV related to a specific dimension that is used in the query filter as prompt. The idea is to show a filtered list in the promp LOV of the dimension used in the query filter of the report. Does this have to be set in the Bex query or in the universe? If it is in the Bex Query, where exactly?
    >> so like filter Country = US in the filter and then prompt only for customers in the US ? if so that is not possible right now.
    Ingo

  • % Wildcard selection - extract data via Query as a Web Service

    Hello all,
    I am using Query as a Web Service to extract data through to my Xcelsius document. I have a series of charts that display summed data according to user selections within some combo boxes.
    Is there any way to send through a wildcard selection, i.e. pass a " like '%' " query string somehow through to the database?
    With the query that I have created:
    I have a measure value returned
    I have 4 filter objects
    I have selected the "Prompt" option for each
    Within the Data Manager, the prompt fields are assigned to cells which reference the combo box selections
    When I build the query, the selections available are many (equal to, not equal to, greater than, greater than or equal to, etc), but there is no 'like' comparison.
    Alternatively, is there a way that I can pass the selected parameter values, including " like '%' " if no value is selected within a dropdown, to the original measure calculations within the universe?
    I hope this makes sense, let me know if I need to clarify anything. Any help would be very much appreciated.
    Cheers,
    Marco

    Very easy solution - select 'matches pattern' within the filter objects selection when building the query.
    Don't know why I didn't try this earlier.

  • Attributes of an InfoObject in a Filter Pane web item.

    Hi All.
      I need the some wisdom
      I have a Web template developed in WAD. 7.0. In this template, we have a filter pane web item for selecting values of the characteristic 0MATERIAL. It works properly but when I open the filter pane the 0material values appear with ALL ITS ATTRIBUTES (around 70) and that is very annoying.
      So, the question: is there any way to restrict the number of the attibutes displayed in the window? I only want to show the material number and its description.
      Thanks in advance
    Gdm

    Hi Montero,
    I also had similar problem earlier , i had solved by making changes in the properties of that particular characterstic.
    That is click on particular characteristic and in properties pane goto advanced tab there you can see Query Execution for filter value selection here try changing to "only posted values for navigation" .
    Hope this helps you.
    Thanks
    Tulsi
    Edited by: thulasi ram on May 20, 2008 9:25 AM

  • Bex Query Filter Page in BSP - Urgent Please...

    I have seen many threads about Bex query in BSP, but can any one tell me how can i display the default Bex Query Filter page in BSP.
    I created a query in Bex Query Designer and added few filters and when i execute i get a popup where i can enter the input values for which the report would be generated, can i get the same functionality or similar functionality if i have the same Bex query in BSP.
    Also apart from the filters specified in the Bex, all the columns displayed in the report appears in the filter section how can get the same functionality BSP.
    Note: I do not want to use Bex Web Application Designer
    Please tell me the steps for the same.
    Atleast please give me the steps at a high level. Please...

    Hi,
    1.  Create a CKF, inside the CKF window create a new Formula Variable --> Right click in left side window on var and say create new Variable
    2.  Create new variable of replacement path type and reference Characteristic as the TO DATE value which you want to be max.
    3.  Now drag this new created var to CKF and save.
    4. Now create condition with follwoing deatils:
    Key Figure              Operator     Value
    Max Date(CKF)       TOP N          1
    Save and execute your query. This will give you max value for the To Date field.
    Hope it works .
    Regards
    Raj Rai

  • Use Yesterday as variable for Query Filter

    Post Author: rrburton
    CA Forum: WebIntelligence Reporting
    I want to have a query filter that refers to the previous day.  In regular SQL I would use something like "= trunc(sysdate)-1".  I don't see any option for doing it this way in web intelligence, the closest it comes is selecting object and then assigning the Beginning of Last Week item from the System Date table.  What am I missing?

    Post Author: rrburton
    CA Forum: WebIntelligence Reporting
    Nevermind - I figured it out just now.  It isn't very intuitive.  In the Objects and Variables dialog in the SystemDate table there are a bunch of items like 1 day, 2 days, etc. and you select one of those and then in the code it looks like:
    WHERE   PKG_NTD_CONV.TO_ORCL_DATE(TROUBLE_TICKET_ARCHIVE.CREATE_DATE)  =  ( sysdate )-1
    It should say something like 1 day ago, 2 days ago, etc.

  • Rich Client Query Filter Pane question

    I've browsed through various forums without finding an answer to my problem. I'm frustrated and hope someone else has been there/done that and can offer a suggestion to ease my pain.
    We're using BOXI 3.0, and my question is specifically about deciphering/maintaining the contents of the query filter pane in InfoView and/or Web Intelligence Rich Client.
    We have some complicated reports with numerous optional prompts. We realize this is not optimal, but need to maintain this reports until we can replace them.
    The filter panes are very complicated, since there are so many prompts, ANDs, and ORs and nested statements.
    Is there a way to see which universe component a query filter field is connected to? In the query results pane (on top), I can click on a field and it's source is highlighted in the universe tree view on the left. That doesn't happen when you click a field in the query filter pane.
    Is there some way I've not found yet, or is this an enhancement request for BOE? Thanks in advance.

    I guess this an enhancement request for BOE because I've never seen an option like that.  And I really wish that option existed.
    The only way I could think of to solve this problem is renaming all the objects of your universe.  This way you may know what class any object is related to when using the query filter panel.
    For example: You have 3 classes in the universe: Users, Quotes, Invoices.  Rename them with a prefix, let's say:
    U-Users
    Q-Quotes
    I-Invoices
    Then all the objects belonging to Users must be renamed with the U- prefix:
    U-User name
    U-User id
    And the same applies for the other classes objects:
    Q-Quotes:
        Q-quote id
        Q-User id
         Q-Amount
    I-Invoices:
       I-Invoice id
       I-Quote id
       I-Amount
    So if in one query filter panel you have a filter using the object Quote id, you'll see if this Quote id comes from Quotes or Invoices, because of the prefix Q- or I-.
    I don't know if it is a good practice but I hope it helps.
    Regards,
    Erika Atencio Harris
    Edited by: PadawanGirl on Jan 19, 2011 10:10 PM

  • Date timestamp in a query filter

    Hi,
    I have date filter in WebI report.  when ever i apply/choose  the dates it's adding time stamp to the query. But that date object doesn't have time stamp at DB table level. still it gives us the correct data irrespective of the time stamp part?
    Thanks!!

    Hi Aaskar,
    It's Webi standard but you could use some formula on the dimension to remove it.
    FormatDate(datefield(); "hh:mm:ss" )
    With regards
    Gill

  • Query as a web service question

    I have a QAAWS problem. BO XI 3.1, Xcelsius 2008 version 5.2.1.0
    I need to send 5 product names (user can select 1 to 5 products from a list) and display corresponding market share values I obtain from QAAWS.
    Created a query with Product names as prompt, returning market share. In prompt options, I selected
    "Prompt with list of values" and "Optional Prompt".
    in Xcelsius, when I created the connection, I select 5 columns as input from prompt (my product names). I selected the column from Input values, "Read From" and gave 5 columns in sequence.
    the problem:
    However, when I execute the query, I get only the market share of the first product returned.
    I know that QAAWS can take multiple prompt  from different columns. Is this because of Universe settings? or my option settings are in correct?
    Any help will be highly appreciated.
    Edited by: GopNair on Nov 11, 2009 8:26 PM

    Hi,
    I had the exact same issue.
    What you have to do is the following:
    In the Input Value section you have to select your Prompt from your query as a web service, then click the + sign - this will add multiple rows for your prompt - each of these row can then be pointed to each of your 5 colums/filter values individually. This will work.
    I asked almost the same question her:
    Query as a Web Service and In List
    Hth.,
    Jacob

  • Intialize value of drill filter in webi document

    I have a webi document that is saved in drill mode and I would like to set the value of the drill filter when the document is opened.  Is it possible to do this?  I haven't been able to figure how to do it.

    Hi
        You can get this by using a trick...........
    Using analytic context menu add a query filter (Here Select Your target object that you want to filter). And then select the value you want to get filtered from the drop down combo..........And finally save your report.  So when you/anyone will open this report, it will be opened with this filter........
    Hope it will help you.. any question please response..........
    arifuzzaman

Maybe you are looking for