Filtering Date in Query Builder Condition Tab

Hi,
How Do i use the condition Tab in Query Builder to filter a date a column?
For example, I used < to_date('1998-01-01','yyyy-mm-dd'). But this condition gives me a syntax error.
Anyone has ideas?
Thanks
rkingmdu

Is this related to Oracle BI Publisher?
You should be able just to edit the query correctly in the text - you ddon't need to use the SQL query builder.
The query is passed through so in general you should use the syntax of HJyperion.
{} has a special (I think undocumented) meaning in BI Publisher so {} could potnetially cause problems.
Klaus

Similar Messages

  • Font too small on Query Builder conditions tab in BP1

    A new feature in 11.1.1.6.2 BP1 is that on the Query Builder's Conditions tab, the default font in the Alias and Conditions columns is about a 6 point courier, and is almost too small to read. Any suggestions on how to increase the size of that font? I know I can alter my browser settings, but that just messes up other web pages that are more intelligently designed.

    Interesting. You must have something on your Query Builder screen(s) that I don't have. There's nothing in the bottom right hand corner of any of my four QB screens/tabs.
    Are you working with the BP1 patch set?

  • Date Data Selection in Query Builder using Hyperion JDBC Driver

    Hi,
    I am trying to filter out data prior to a specific request date on Query Builder. I have tried :
    and SALES_ORDER_FACT.REQ_DT < sysdate()
    I have also tried {$SYSDATE()-1$} , {$SYSDATE()$}, SYSDATE and SYSDATE()
    Any assistance will be appreciated.

    Is this related to Oracle BI Publisher?
    You should be able just to edit the query correctly in the text - you ddon't need to use the SQL query builder.
    The query is passed through so in general you should use the syntax of HJyperion.
    {} has a special (I think undocumented) meaning in BI Publisher so {} could potnetially cause problems.
    Klaus

  • Query Builder won't apply chosen date to the where clause

    Does anybody know why when I chose a date field, in the where clause, when using Query Builder, it won't actually write the chosen date to the actual query?
    If I select the "View Query" tab, no date shows up. Also if I press the "Run Report" button in the "View Result" tab, I get this error:
    "An error was encountered performing requested operation: ORA-00936: missing expression"
    This is because actual date data is missing.
    After I hit the "Apply" button, I have to manually type the date data.
    I thought this was a bug of the previous version, but I just installed version 1.5.4 and I have no different result.
    Thanks.

    I just wanted to add my name to the list of people having this issue.
    Oracle Techies, please help.

  • Query Builder - Where Clause - Could not format error using date comparison

    We've come across a bug in the Query Builder, under the Create Where Clause tab, if you select a column of Date type plus one of the comparison operators =, !=, <, >, <=, >=, BETWEEN or NOT BETWEEN it displays an error in the Logging Page:
    Level: Severe
    Source: o.d.r.queryBuilder.SQLGenerator
    Message: Could not format :2010-09-02 16:20:31.0
    Then under the Show SQL tab it doesn't display the date(s) you selected, e.g.
    WHERE LAST_UPDATE BETWEEN AND
    Also the View Results tab does not display any results.
    You can still press Apply to add the SQL as is to the editor window and from there you have to manually code in the date parameters.
    We're using the latest version of SQL Developer 2.1.1.64.45 Windows 32bit version with JDK

    Hi Gordon,
    When I add the following lines:
    declare @refdt1 date
    set @refdt =
    /*select 1 from jdt1 t0 where t0.RefDate*/ '[%1]'
    declare @refdt2 date
    set @refdt =
    /*select 1 from jdt2 t0 where t0.RefDate*/ '[%2]'
    WHERE T0.RefDate >= @refdt1 and T0.RefDate <= @refdt2
    ... the error message is now:
    Must declare the scalar variable @refdt1
    Note: Before adding these lines, the query works perfectly, and returns totals from the whole database (with dynamically generated column headings!)
    Thanks
    Leon Lai
    AMENDED QUERY:
    declare @refdt1 date
    set @refdt1 =
    /*select 1 from jdt1 t0 where t0.RefDate*/ '[%1]'
    declare @refdt2 date
    set @refdt2 =
    /*select 1 from jdt1 t0 where t0.RefDate*/ '[%2]'
    --------- I inserted the 6 lines above ---------------------
    DECLARE @listCol VARCHAR(2000)
    DECLARE @query VARCHAR(4000)
    SELECT @listCol =
    STUFF
    ( SELECT DISTINCT   '],['    +    CAST(month(T0.RefDate) AS varchar)
    FROM  JDT1 T0
    FOR XML PATH('')
    ), 1, 2, ' ') +   ']'
    SET @query =
    'SELECT * FROM
    (SELECT Account, month (T0.RefDate) Month , Debit
    FROM JDT1 T0
    ------------------- I add the WHERE clause below --------------------
    WHERE T0.RefDate >= @refdt1 and T0.RefDate <= @refdt2
    GROUP BY Account, RefDate, Debit
    ) S
    PIVOT
    Sum(Debit)
    FOR Month IN ('+@listCol+')
    ) AS pvt'
    EXECUTE (@query)
    Edited by: LEONLAI on Oct 21, 2011 2:36 PM

  • Adding condition records to BP in condition tab of genaral data

    Hi Experts,
    I wanted to add condition records to a BP in condition tab of general data through BAPI. I tried to look for available BAPIs and could not find one. Is there any BAPI or FM to achieve this.
    Thanks in Advance.

    I tried with below method :
    While keeping the expression as it is :
    '([Measures].[On Time jobs]/[Measures].[Total Jobs])*100'
    What I did was in the partition tab, i choose option "Query binding" (instead of Table binding) and over there I mentioned the condition 
    WHERE Line_Number=1
    So it should do the calculations only for the first line.
    Is this approach also correct ?
    Thanks 

  • CM14 BI Publisher - modifying an existing Data Model, the Graphic View in Query Builder does not display

    I am trying to edit the default forms/reports that come with CM14, trying to edit the data model, data set, (to get to the old Infomaker style graphic view) , the Query model does not display (error the list of tables is too long..) Oracle tell me the limit is 60,  there are not 60 tables referenced in any CM report.
    Does this Query builder view work at all on any report?
    (bigger question, we are moving from CM12, should we move to CM13 which works with infomaker?)
    Thanks,
    Paul L

    Kurt, thanks for your replies.
    A couple of notes/clarifications.
    1.     You are correct that BI works better in Firefox--I have observed issues with the BI display when using IE.  I would recommend using Firefox too.
    2.     You are correct about the way to get to the Query Builder to see a graphical view of data tables.  There are basically two issues with this that I mentioned, but will re-iterate:
    a.  If you have an EXISTING query in the data set, then click the "Query Builder" button, this will remove the existing query that's there, it will NOT display the existing query in the query builder.  Query Builder works only to create a NEW query from scratch.
    b.  Query builder is limited to selecting 60 fields max in your query.  If you are creating a large report with many tables, you may find that 60 fields is not enough.  For that you will have to work in the SQL edit screen rather than using the query builder.
    I would impress on anyone developing CM14 reports that they become familiar with the database schema and relationships to avoid problems when developing your BI reports.  You should be able to find the tables and joins documentation in the knowledgebase.

  • RECN: Conditions Tab: Header data for second section not appearing

    Hello,
    Need your kind advise please. I have entered a contract successfully. The contract type is Pay:Rates Payment. The contract has been successfully saved.
    The problem comes when I am trying to display the contract. Here is what's happening sequentially:
    Procedure 1
    1.  I am using TCode RECN and keying in the contract number.
    2. Upon pressing Enter, the General Data tab of the contract is opening.
    3. I am clicking on the icon to change the status from 'display' to 'change'. The mode successfully becomes the 'change mode'.
    4. I am clicking on the Conditions tab and I can see that the screen shows two sections. The top section shows the various conditions that I have created. The bottom section shows the details of the condition for the line item selected from the top section.
    5. I am making the necessary changes and successfully saving the changes made to the contract. Then I am pressing F3 and coming back to the main RECN screen.
    BUT:
    An error occurs when I modify the above procedure slightly.
    Procedure 2
    1. When I am entering the contract once more, the first screen that is opening is the Conditions tab of the contract (quite naturally as this was the last screen that i used just now).
    2. When I am then clicking on the icon to change the status from display to 'change', the system is issuing an error message "Please fill all the mandatory fields".
    3. Upon close examination i am finding that in the bottom section of the Conditions Tab (which is supposed to show the details of the condition on which the cursor has been selected in the top section) the field just above the 5 tabs (ie. Condition, Terms, Calculation, Distribution, Memo) is not populating with the name of the condition on which the cursor has been selected in the top section.
    4. Since this field is a mandatory field, the system naturally throws the error "fill up all mandatory fields".
    The point to be noted is that this field gets perfectly populated when i am following the procedure 1. But in the same contract, this field doesnt get populated and throws the error message when I am following the Procedure 2.
    Request you to please help me understand why in the procedure 2, the field is not getting populated.
    Regards.

    Hello Veman,
    Many thanks for the kind response. However in my case the problem is that when I am trying to go into the 'change' mode for an existing record (which has already been once successfully saved), it is STILL throwing the error message 'fill up all mandatory fields'. The only way to come out of the screen is to press the 'cancel' button.
    What is even more funny is that when I am trying to enter the contract directly using the menu RE Cntract - Change from the first RECN screen, then there is no problem coming.
    My question is WHY is the system throwing that error message when clearly there is no error existing in the record. I believe this will be a programming error. The problem that i am referringto matches very closely to the solution provided vide note number 1291666. The reason why I cant apply this note is because my SAP release is 600 whereas this remedy is for 602, 603 ans 604.
    Regards,
    Suvarghya Dutta

  • Enabling the Data Editor in Query Builder 6

    Hi,
    The help in Query Builder 6 says:
    Note: Because the Data Editor enables you to change or delete vital data, Query Builder is shipped with the Data Editor disabled. Contact your system administrator if you cannot activate the Data Editor and you feel you should have access to it.
    Anyway I would like to know how to enable this but have yet to find any documentation anywhere on how to do so, does anyone know how this is done? I know in Oracle Browser all you had to do was add a row in Browser_Profile but Query Builder does not have this.
    Thanks in advance.
    Eric

    I don't have an answer for you but I need your help: Can you tell me if there appeared a manual for Query Builder somewhere?? I can't find anything, even not in this database.
    thank you!
    Michael

  • Query builder - OR condition

    Hi,
    I'm new to Publisher and can't seem to fiigure out the best way to do an 'OR' condition in query builder. Any tips? For example if in regular SQL I wanted:
    select * from employee
    where empnbr is not null
    or empnbr > 100
    Basically two conditions on the same column. Can this be done easily in query builder or do I have to have my users work with the raw SQL to get this done? Thanks!

    Using query builder to build the SQL statement is a one-time shot. Once you've created and saved a query, you cannot go back to QB and edit the query, regardless of the change you want to make. The statement can be edited back out in the main design window. Further, you do not have to rely upon the drop down menu items in the clause/filter conditions. You can manually enter/edit the query in the report window if so desired. Not every function is available in the lists anyway. QB is a beginner's crutch (everyone starts out new to SQL, no problem with that) to scripting SQL.
    In your situation, how do you apply more than one condition to a single column? QB does not allow that directly, but what you can do is a self-join on the table, use the employee ID as the relation, and select salary in both tables. The resulting query will be like so:
    select     EMPLOYEES.EMPLOYEE_ID as EMPLOYEE_ID,
         EMPLOYEES.SALARY as SALARY,
         EMPLOYEES_1.EMPLOYEE_ID as EMPLOYEE_ID,
         EMPLOYEES_1.SALARY as SALARY
    from     HR.EMPLOYEES EMPLOYEES_1,
         HR.EMPLOYEES EMPLOYEES
    where EMPLOYEES.EMPLOYEE_ID=EMPLOYEES_1.EMPLOYEE_ID
    and      EMPLOYEES.SALARY is not null
    and     EMPLOYEES_1.SALARY > 1000
    It will be easier (and more performant) to script the first condition, and then add the second inside the report window.

  • Tab Canvas : 1 data block 2 different query for each tab) Forms 10g

    Hello allllll,
    I have 2 blocks Master datail ,the master is non-db the tab canvas is for one data block:
    Problem 1: How 2 display same data block in each tab.?
    Problem 2: How when pressing excute Query button each tab display the data
    ----------------------specified by the Master block..?
    Regards,
    Abdetu..

    -- When-New-Form-instance
    IF :SYSTEM.Record_Status ='query' THEN
    go_block('PLN_STOCK_TAKING_HEADER');
    execute_query;
    go_block('PLN_STOCK_TAKING_DETAIL');
    execute_query;
    go_block('PLN_STOCK_TAKING_DETAIL2');
    execute_query;
    END IF;
    same behaviour,excute on tab2 not tab1,well i think it has something to do with the relation..!
    Regards,
    Abdetu..

  • How to diasable Data Edit in Query Builder?

    Is there a way to disable Data Edit in Query Builder in Dev6? When QB was part of Discoverer as Browser it was possible via BROWSER_PROFILE. The QB now ignores this neither it have any table instead. There is note in help that the feature is disabled by default and admin should have to enable it, but, seems, it is occasionally left from previous releases.
    TIA,
    Uldis

    Hi,
    What did you mean the “string”? What did you want to do to use the string parameter?
    Did you mean managed properties?
    If you mean the managed properties, you can just select the managed properties in the query builder, the query builder would automatically generate the path.
    There are some articles about the query builder for your reference.
    http://en.share-gate.com/blog/sharepoint-2013-content-search-site-portal
    http://blogs.technet.com/b/mspfe/archive/2013/02/01/how-query-rules-and-result-sources-can-be-used-to-customize-search-results.aspx
    What’s more, there are some restrictions for KQL, you can also have a look at it.
    http://msdn.microsoft.com/library/ee558911(v=office.15)
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • VF01 Header data condition tab

    Hi All,
    Help me to resolve the my requirments. I am totally new to this area as i am HR ABAP guy.
    We have a custome program which calculate the actual vaues for billing and stores it in Z table based on some key field.
    Brief req,
    When we create the billing document VF01, what I need is, my condition tab  should be filled with the values which is stored in ztable with reference to condition type.
    Any expert help is highly appreciated.
    Any
    BADI
    EXIT
    Enhancement point?            

    HI Jelena Perfiljeva and  All.
    As per the SD consultant. There is no manipulation of billing document condition types anyhow. These sales document type are service related and no PGI at all and would refer the preceding sales document conditions at billing creation point. None of the pricing condition types deriving via preceding condition types are not touching and above said enhancement which we are looking for is to identify the value to input under 2 or 3 condition types  (which are manual condition types by origin) to arrive to the final net figure.
    Currently users have to do some working outside of SAP (In excel) to get to know the figure which to be input for a respective manual condition type. This  ABAP enhancement is to get identify the indicated value within SAP itself via a predefined logic definition (Custome program).Therefore no manipulation of automatic condition types but try to arrive to the figure via a custom program which calculate the actual values for billing and stores it in Z table based on some key field and that value is trying to populate under the respective manual condition type.
    So is that possible by any means?
    Thanks and Regards
    Anees

  • Business Objects Query Builder - application server for data connections

    Hi experts,
    I am trying to flush out all instances where we have universes with connections pointed to the wrong application server. I was hoping to use query builder to show me the application server being used for all connections (metadata.dataconnection)
    Is this possible?
    Edited by: Khaled McGonnell on Nov 3, 2010 6:11 PM

    Hi Srinivas,
    I had tried SELECT * already : )
    The application server is the server on which the BI system you are connecting to is located. You have to define this when you create the connection in Universe Designer.
    You can see the application server for "connections if you use the following query:
    select si_server from ci_systemobjects where si_kind = 'Connection'
    However, these are not the connections used by universes. These connections are from logged in users. Any ideas?

  • Query Builder - Data types & functions

    Hi,
    I have a couple of questions relating to the Query Builder
    a) Why can I not select columns of datatype FLOAT? Are there any others?
    b) Is it possible to add functions to the list of functions in Query Builder.
    I am trying to read thru the User Guide but do not always have time. Are there sections of it that would be considered more pertinent??
    Thanks
    Steve

    Hi,
    I have a couple of questions relating to the Query
    ry Builder
    a) Why can I not select columns of datatype
    atatype FLOAT? Are there any others?Use Number, and specify scale or the places after the decimal point
    >
    b) Is it possible to add functions to the
    to the list of functions in Query Builder.Can't help on this topic.
    >
    I am trying to read thru the User Guide but do not
    ot always have time. Are there sections of it that
    would be considered more pertinent??
    Thanks
    Steve

Maybe you are looking for

  • Multiple problems with PSE10 Organizer

    I have Photoshop Elements 10 that I am using with Windows XP with Service Pack 3, a Pentium 4 CPU with 3 GHz, 2 GB of RAM and 48.6 GB of free disk space. I have had multiple problems with Organizer since I started using it. When I first got PSE10, I

  • Border on only two sides?

    I must admit that I am stumped, and frustrated!  In my newsletter, I have created many paragraph, character, and object styles to quickly apply to my text and graphic elements.  However, I am trying to create a style or combination of styles for my "

  • Time Machine must create a new backup for you

    getting this error message Time Machine completed a verification of your backups. To improve reliability, Time Machine must create a new backup for you. don't want to lose the history off my backups how can i fix this without losing any backups.

  • External boot up disk PPC versus Intel

    I am currently travelling with an external HD that is a clone of my G5 PPC iMac. It has a fully functioning OS 10.4.11 on it and I can use it as a boot up disk. I normally stay with a friend who has a PPC Mac, and can boot up using this HD so that it

  • How can i make a family account

    ok so heres the story my brother has an ipod 5 and i have an ipad mini 2 and we wanna use our seperate apple id because when i go to purchases i see all of his history and i like to keep mine clean and tidy for some reason... i want my ipad mini 2 to