How to get LAST_DAY in obiee

hi,
i want exact syntax of this SQL query in obiee by using evaluate function?
select last_day(add_months(sysdate,-1)) from dual..Can any one help me
thanks,
saichand.v

how to get last 30 days
see i have a dashboard prompt which is drop down box which shows last 30days,last 60 days,last 90 days and max 100 days
i had written the below query
case when TimeStampDiff(SQL_TSI_DAY,"TN".CN,CURRENT_DATE) between 0 and 30 or TimeStampDiff(SQL_TSI_DAY,"TN".CN1,CURRENT_DATE) between 0 and 30 then 'in the Last 30 Days' when TimeStampDiff(SQL_TSI_DAY,"TN".CN,CURRENT_DATE) between 0 and 60 or TimeStampDiff(SQL_TSI_DAY,"TN".CN1,CURRENT_DATE) between 0 and 60 then 'in the Last 60 Days' when TimeStampDiff(SQL_TSI_DAY,"TN".CN,CURRENT_DATE) between 0 and 90 or TimeStampDiff(SQL_TSI_DAY,"TN".CN1,CURRENT_DATE) between 0 and 90 then 'in the Last 90 Days' else 'Max 100 Days' end
but when i ran the report giveing the last 60 days option it shows data from 31 to 60 days i'm not getting the 0 to 60 days.similarly for 90 and for max 100 days it shows from 91 to 100
any help is appreciated
thanks.

Similar Messages

  • In OBIEE 11G, how to get the special parameter created by JAVA?

    Hi Experts,
    In OBIEE 11G, how to get the special parameter created by JAVA?
    For example:
    In JAVA , it has set one parameter named 'test'.
    So how to get the parameter in filter area in OBIEE?

    Hi Kobe,
    No P2 holds the parameter name like PresentationTable.ColumnName, in your form you may go for complete name or just column name and before submitting the form you can define the Action url.
    I would suggest to read section 6.3.2.1.
    ex:
    <SCRIPT LANGUAGE="JavaScript">
    changeAction(url) {
    var TestVar = form.inputbox.value;
    document.this_form.action="saw.dll?Go&Path=/Shared/Test/SB2&Action=Navigate&P0=1&P1=like&P2=Customers.Region&P3="+TestVar;
    </SCRIPT>
    </HEAD>
    <BODY>
    <FORM NAME="myform" ACTION="" METHOD="GET">Enter something in the box: <BR>
    <INPUT TYPE="text" NAME="inputbox" VALUE=""><P>
    <INPUT TYPE="button" NAME="button" Value="Click" onClick="changeAction(this.value)">
    </FORM>
    If helps pls mark.
    Edited by: veeravalli on Oct 24, 2012 10:25 AM

  • How to get the obiee dashboard secuirity in adf to assign the roles in adf for users

    how to get the obiee dashboard secuirity in adf to assign the roles in adf for users

    thanks Benjamin...
    my present requirement is pull Role to Dashboard mapping from OBIEE Catalog
    in my project we are going to restrict the users and assigning the roles from adf.
    Pls Help me..

  • How to get physical SQL query

    Hi All,
    How to get the physical SQL query for the OBIEE reports.
    Thanks in advance,
    Haree.

    Hi Anitha,
    Thanks for your reply,
    I am getting XML script in log file. (Settings > Administration > Manage Sessions > View Log).
    How to get physical SQL query ?
    Thanks,
    Haree

  • How to get last day of prev month?

    SELECT to_char(SYSDATE, 'MM') -1, last_day(sysdate)
    FROM DUAL;
    If current month is April, How to get the last day of March? Thanks.

    SQL> select sysdate, trunc(sysdate, 'mm') - 1 from dual ;
    SYSDATE     TRUNC(SYSDA
    06-APR-2004 31-MAR-2004
    1 row selected.
    SQL>

  • How to get/access Answer requests in BI Publisher

    Team,
    I am unable to access BI Answer requests through BI Publisher, When I choose the data model as Oracle BI Server, getting a static message as 'BI Catalog Home' and a cancel button.
    How to get the shared folders list of answer requests in BI Publisher , data model (Oracle BI Answers)
    Could you please assist.
    Thank you,
    Vinay

    Hi,
    Refer : http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T421739T518204.htm#T479633
    Did you integrate with Presentation Services ?
    Refer this blog for integration : http://debaatobiee.wordpress.com/2009/09/09/integrating-bi-publisher-with-obiee-10-1-3-3/
    Regards,
    Srikanth
    Edited by: Srikanth Mandadi on Sep 21, 2011 4:55 AM

  • How to set password in obiee delivery content reports (pdf format)

    Hi
    Dear All
    i Need your help on the Obiee !
    i hvae one Requirement how to set password in obiee delivery content (pdf format) its possible. what are the things i to do
    Kindly Advice me
    Advance Thanks
    satya

    933154 wrote: My profile says PDF, config, report, settings says PDF and I get an Excel when I run screening reports. Very odd.You may want to make sure that the file where the system setting gets stored can be updated. In your <Intradoc_Dir>\urm\data\reportpublisher\config\config.hda file, there is a result set named "RPAdminConfigInfo". The third column of that result set should match the value being shown on the configuration settings page. I've changed the format value in the UI, and this file gets updated (and thus I'm getting my screening reports in the format specified in this config file.)
    933154 wrote: Also, I wasn't clear on the second part of the question. The Screening Reports appear to use the template INTERNALITEMDETAILRPTTEMPLATE. Is that configuration set somewhere? Is there any way to have the screening reports use a different template or is changing that template the only way to change the screening report layout?Templates are not configurable in that respect - the template name values being called for a service are hardwired in the code (you'd need to override in a component - just not worth the hassle). I'd either edit the existing rtf file, or just check in a new revision to the existing one if the differences are that profound. You'd still need to conform to the BI Publisher standards/methodology in either case.

  • How to kill threads in obiee server

    Can some one please tell me how to kill threads in OBIEE server

    944632 wrote:
    Thanks for the prompt reply. your answer is helpful. Here is my problem.
    I am an OBIEE admin and getting lot of complaints fronm developers that BI Server services are not stopping. I was adviced by my senior that i have to kill thresads in the server.
    I followed what you told but when i open the RPD, i am unble to open cache in either offline or online modeHi,
    - Unable to open cache due to you already disabled cache (usage tracking - nqsconfig.ini file) cache diabled that why you can't able to open cache
    just make sure
    [CACHE]
    ENABLE = YES;
    C:\Oracle\Middleware\instances\instance1\config\OracleBIServerComponent\coreapplication_obis1 (obiee11g file path ref)
    - unable to stop biservices? if that case you can kill it different ways, (stop bi services/ctrl +c on services/task manager/FMW (console/EM)/ services.msc etc) which way did you tried?
    (which version did u tired)
    Thanks
    Deva

  • How to string aggregate in OBIEE reports?

    Hi ,
    I have a requirement to string aggregate the data for a particular column in OBIEE 11g.
    When Iam using the in built functions *(wmconcat)*_ it is throwing the error as ,
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 17001] Oracle Error code: 934, message: ORA-00934: group function is not allowed here at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
    How to get this requiremnet in OBIEE analytics report page while displaying?
    emp_name Dept_no
    Ex: Kalyan 1162 26164,26169,26183,26249,26285
    Help is highly appreciated.
    Regards,
    Kalyan

    Hi Deepak,
    Thanks for your responce.
    My requirement was not that.
    Ex: If a employe belongs to multiple departments
    employe X belongs to department 10,20,30,40 then report should disply as comma separated values.
    sol: X 10,20,30,40
    As the output when we use wm_concat in built function.
    Kindly waiting for the people responce.
    Regards,
    Kalyan

  • Help: How to get the enddate as February28 or january 31

    Hello Folks,
    Am trying to get the data 2 months prior. So i was wondering how to get the enddate as 02/28/2010 or 01/31/2010.
    Thanks a lot
    Edited by: user11961230 on Apr 21, 2010 11:50 AM

    SQL> SELECT TO_CHAR(LAST_DAY(ADD_MONTHS(SYSDATE,-2)),'DDMONTHYYYY') dates FROM DUAL;
    DATES
    28FEBRUARY 2010
    SQL> SELECT TO_CHAR(LAST_DAY(ADD_MONTHS(SYSDATE,-2)),'MONTHYYYY') dates FROM DUAL;
    DATES
    FEBRUARY 2010
    SQL> SELECT TO_CHAR(LAST_DAY(ADD_MONTHS(SYSDATE,-3)),'DDMONTHYYYY') dates FROM DUAL;
    DATES
    31JANUARY  2010
    SQL> SELECT TO_CHAR(LAST_DAY(ADD_MONTHS(SYSDATE,-3)),'MONTHYYYY') dates FROM DUAL;
    DATES
    JANUARY  2010
    SQL>

  • How to get the values from table SKB1 R/3  to SRM

    Hi Gurus,
    My requirement is to get all the values from the table SKB1 to SRM (i.e. in to an internal table) for doing some validation(G/L account XXXXXX requires an assignment to a CO objectXXXXXX.)
    Like wise I have many tables for doing validation in SRM
    Help me how to get this, suggest me any Function module with sample code.
    OR
    Any Standard FM which will give all the values of the fields in the table SKB1 when I pass the key fields G/L account & company code alone so that I can improve the performance.
    Suggest me.
    Regards
    Paul

    Hi,
    You can use the FM 's META_READ_TABLE Or RFC_READ_TABLE
    Which SRM / Backend system version are you using ?
    Are you taking care of the Importing paramater - DELIMITER in this case.. ??*
    See related links ->
    Re: Retrieving data from R/3 into SRM
    Re: Product Search TIME lag
    Else you can just call the remote enabled  FM "BAPI_GL_ACC_GETDETAIL"  from SRM.
    BR,
    Disha.
    Do reward points for useufl answers.

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • TS3999 I had an icloud account setup in 2009 when I first got my family members each a mac. I let that account expire(we never used it) and I don't know how to get it off of my ical. It is not recognizing any of the information to reset the password?

    I had an icloud account in 2009. We set it up as a family plan because my family had just changed from PC to Mac. We never used it and let the plan expire in 2010. My ical will not sync with my new iphone because it is linked to the family plan account that no longer exist. Because I don't remember my password, I tried resetting it. It says the personal information I entered is incorrect, but I know the information is correct...It's my birthday it asks for! Does anyone know how to get that account off of my mac without the account existing?

    You were a MobileMe (not iCloud) subscriber in 2009 and this service has been terminated. However the login is an Apple ID and this never expires. What is your operating system? Do you have a MobileMe icon in System Preferences? - if so you should be able to sign out in it, but you may not have an iCloud icon to let you create an iCloud account, though you can do so if your iPhone has iOS 5 or above.
    If you are getting login requests or other irritations from your MobileMe account you can go to (user)/Library/Preferences/ByHost and delete all .plist files beginning with com.apple.DotMac or com.apple.idisk, then reboot.
    The minimum requirement for iCloud to let you sync your data is 10.7.5 though you can sync through iTunes (except with Mavericks).

  • I cant update nor download any applications. My password was always invalid. And other username is prompted richardca0521@yahoo.ca which is not my account. How to get rid of this apple id and use my account for download? I have registered this to itunes.

    I can't update nor download any apps in itunes. Prompted invalid password, upon checking the apple id was not mine. The id was [email protected] whic is not mine. Pls. Help how to get rid of this. Thank you.

    try and delete the apps and re-add them

  • How to get changed data in ALV in Web Dynpro for ABAP

    METHOD on_data_check .
    DATA:
        node_spfli                          TYPE REF TO if_wd_context_node,
        node_sflight                        TYPE REF TO if_wd_context_node,
        itab_sflight2                        TYPE if_display_view=>elements_sflight.
      node_spfli = wd_context->get_child_node( name = if_display_view=>wdctx_spfli ).
      node_sflight = node_spfli->get_child_node( name = if_display_view=>wdctx_sflight ).
      CALL METHOD node_sflight->get_static_attributes_table
        IMPORTING
          table = itab_sflight2.
    this code is ..get all data(changed and not changed)
    but i want get changed data only, not all data.
    how to get changed data?
    Edited by: Ki-Joon Seo on Dec 27, 2007 6:04 AM

    Hi,
    To get only the changed data in the ALV grid of a WD, you need to capture the "ON_DATA_CHECK" of the ALV grid.
    To this please do the following in the ALV initialization of the ALV table settings :
        lr_table_settings->set_data_check(
                IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CELL_EVENT ).
    You may also do this:
        lr_table_settings->set_data_check(            IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CHECK_EVENT)
    The above two ways would depend on when do you need to check for the changed data. If you want to check the data as soon as it is entered, then use the first method. Else, use the second method.
    You need to register an EVENT HANDLER for this event.(You may do this in your VIEW or Component Controller).
    In this Event handler, you would find an importing parameter R_PARAM which is a ref type of      IF_SALV_WD_TABLE_DATA_CHECK.
    The attribute T_MODIFIED_CELLS of this interface IF_SALV_WD_TABLE_DATA_CHECK will contain the modified cells of the ALV with the old & new values.

Maybe you are looking for

  • Urgent Help : forget nokia messeging username and ...

    Hi, I forget my nokia messeging username and password, when i tried to setup email accounts in mobile it ask me for username and pwd of nokia messeging. Can you please let me know how to reset or get those information. I am using nokia e63 Please hel

  • How to view DB schema in SAP B1 company

    Hi, Would you please tell me how to view Company database schema. When I use Database browser It gives Exception as "B1DBBrowser ERROR: The Type initializer for 'B1wizard.Globals'" threw an Exception. Thank you Buddhika

  • Tree dataProvider from PHP

    Hello all! I see in the web many many many example how to populate a Tree, but, i cant find no example how to populate a Tree FROM PHP. I am using HTTPService and know how to use it but, i don't know the structure of nodes. In PHP file, i am doing th

  • No end root tag

    Hi - I am writing several times to my log file which I am formatting in XML, using my own XMLFormatter. Since I log multiple times, getTail() gets called multiple times. As a result, I have </log>(my root element) several times in my file. Would like

  • How to check patch level in SAP 6.0 ?

    how to check patch level in SAP 6.0 ? is there any T code available for this thnx in advance