[OBIEE Dashboard] Another TIMESTAMPADD Question....

Hello everyone,
I know that there are already a lot of threads talking about this subject, but as I am a total newbie, I can't find the answer I'm looking for by myself.
The fact is that I have a dashboard prompt wherein the user can choose any year (using a dropdown). Once the year is choosen, I want to be able to present a graph with the results of this year AND the results of the past year (year - 1).
I tried to do that, using this really good post
http://oraclebizint.wordpress.com/2008/03/11/oracle-bi-ee-101332-rolling-yearmonth-and-date-filters-moving-window-filters/
But, then I have this error :
Error getting drill information: SELECT "Dim-Calendrier".JOUR_DATE saw_0, "Dim-Calendrier"."ANNEE_LIB TEST" saw_1 FROM "Suivi Chantier" WHERE ("Dim-Calendrier".JOUR_DATE >= TIMESTAMPADD(SQL_TSI_YEAR, -1, TIMESTAMP ‘01/01/2010 00:00:00')) AND ("Dim-Calendrier".JOUR_DATE <= TIMESTAMP ‘31/12/2010 00:00:00′)
+Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P+
Odbc driver returned an error (SQLExecDirectW).
+State: HY000. Code : 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <‘01> : Syntax error [nQSError: 26012] . (HY000)+
+SQL Issued: {call NQSGetLevelDrillability('SELECT "Dim-Calendrier".JOUR_DATE saw_0, "Dim-Calendrier"."ANNEE_LIB TEST" saw_1 FROM "Suivi Chantier" WHERE ("Dim-Calendrier".JOUR_DATE >= TIMESTAMPADD(SQL_TSI_YEAR, -1, TIMESTAMP ‘01/01/2010 00:00:00'')) AND ("Dim-Calendrier".JOUR_DATE <= TIMESTAMP ‘31/12/2010 00:00:00′)')}+
I used these filters
"Dim-Calendrier".JOUR_DATE >= TIMESTAMPADD(SQL_TSI_YEAR, -1, TIMESTAMP ‘01/01/@{promptdate}{2010} 00:00:00')     
AND     "Dim-Calendrier".JOUR_DATE <= TIMESTAMP ‘31/12/@{promptdate}{2010} 00:00:00′
Like it is said in the post of oraclebizint.
promptdate is my presentation variable in my prompt. JOUR_DATE is like DD/MM/YYYY 00:00:00
Any help is greatly appreciated.
Thanks
Regards
Xenutia
PS : I beg your pardon for my poor english ^^

Hmm I thought that I should make my variable JOUR-DATE and the "timestamp" the same "format" (like the DD/MM/YYYY 00:00:00)....
Anyway, I had already tried what you've said (it was originally in the oraclebizint's solution) and it gave me the same error :
Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
Odbc driver returned an error (SQLExecDirectW).
State: HY000. Code : 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <‘2010> : Syntax error [nQSError: 26012] . (HY000)
SQL Issued: {call NQSGetLevelDrillability('SELECT "Dim-Calendrier".JOUR_DATE saw_0, "Dim-Calendrier"."ANNEE_LIB TEST" saw_1 FROM "Suivi Chantier" WHERE ("Dim-Calendrier".JOUR_DATE >= TIMESTAMPADD(SQL_TSI_YEAR, -1, TIMESTAMP ‘2010-01-01 00:00:00'')) AND ("Dim-Calendrier".JOUR_DATE <= TIMESTAMP ‘2010-12-31 00:00:00′)')}
As you can see, the only difference is where the syntax error appears (always after the "timestamp ' ")
What should I do now?
Regards,
xenutia
PS: by the way, I'm french, not indian ^_-

Similar Messages

  • OBIEE 11g installation - Weblogic server on one host and obiee on another

    Hi
    I am doing obiee11g installation with the following topology:
    1. Weblogic on one Linux Host
    2. OBIEE on another Linux server
    I am able to successfully complete the weblogic installation and i started the obiee on the another machine. The installation fails at the following point:
    Specify Installation Location :
    Oracle Middleware Home: /u01/app/oracle(This is the where i have the question - This should be weblogic server location where you hosted on another machine. It should ask me for host name or ip address)
    Oracle Home Directory
    Any one did the installation with the above and how to overcome the above issue.. Should i share the drive using nfs mount or any other solutions. Your help is appreciated.
    Thanks

    Hi,
    Can u clarify below questions?
    Do u have both servers on the same network?
    Thanks.

  • Do we have any option to track the number of downloaded reports from the OBIEE dashboard or Analysis by the user using usage tracking.

    Do we have any option to track the number of downloaded reports from the OBIEE dashboard or Analysis by the user using usage tracking.

    I'll ask the question of our onsite Microsoft consulting guys, but it's my understanding that as enterprise admins, we have no controls over it. This is an outcome of putting the end-users in charge of their own destiny.
    We can revoke a user's entitlement to Office365ProPlus in the portal and via scripts, but AFAIK only the user controls the allocation of their entitlement.
    Revoking an assignment/allocation, when logged in as the user, doesn't require access to the assigned/allocated computer, but if the information about the assigned/allocated computers in the portal is vague or ambiguous, it's easy to revoke the "wrong" one.
    There's not much here in this forum about the hosted/cloudy aspects, since this forum is mainly about the client-side bits (the client applications, setup and configuration of those) - so in here, I usually refer people off to the O365 community for the
    portal and hosted stuff.
    (we have MS onsite at the moment for a big planning piece, around O365 and also Win8.1 and VDI. I'm not usually this lucky to have those guys on tap ;)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • BI Publisher report in OBIEE Dashboard

    Hi,
    I have a BI Publisher report that consists of:
    -SQL Based Report
    -Has 2 date parameters
    This report is independent of any data source OBIEE, ie there is no repository for the data shown in the BI Publisher report.
    I need to show this report in OBIEE dashboard with parameters. The report should get a parameter from a prompt / dynamic var.
    I have understood according, there are two methods for achieving this:
    1. Create a BI Publisher Report using BI Answers report as the data source wherein the BI Answers report would have one of the column’s filter clause as “is prompted”.
    2. Create a BI Publisher Report using BI Answers/Database as data source. Create a parameter for the BI Publisher report and then match this parameter name while assigning the presentation variable for the dashboard prompt.
    But I can not implement this, because my BI Publisher report is independent of any data source OBIEE.
    There a way to solve this?
    Thanks in advance!

    When you create the parameter in Report, and embed that in BIPublisher report section, it will display the parameter in the embedded content itself.
    see, if you can make use of this.

  • Click on obiee dashboard tabs is not working

    Hi,
    One remote user using cisco vpn to access OBIEE dashboards. everything is all right but when he click on dashboard tabs is not working. I tried with firefox 3.6.0 and IE 8 both have same problem. we dont have this problem within the network. I dont think it's a firewall issue because everything else is working fine. we dont have any custom java script in obiee dashboards. Is it a browser problem? does any one else got this problem before?
    Thanks
    Jay.

    Hi Jay
    Yes Its browser issue. Please make sure the patch updates of IE are updated and i do have the same problem with IE 6 when user remotes (or) use citrix
    One more important point is we have made the dashboards available directly instead of residing in group folder. If you have Dashboards under group folder, give access to that Dashboard directly instead of Group folder
    Eg: Groupfolder A contains A1,A2,A3....A10 dashboards. Give acceess to A1,A2 instead of groupfolder A
    Please mark it Helpful or correct if this solved

  • OBIEE Dashboards are not visible properly in firefox

    HI all,
    We are trying to open our obiee dashboards in fireworx. But it didnot work properly. we are using firefox 3.0 and 2.0 version but they didnot workfor us.
    Any changes needs to be done in brower or in obiee. We are using java code in some reports also is it causing any problem. How to over come this.
    Plz letus know.
    Thanks in advance.

    Hi mikelwart,
    I've noticed the same thing when I tried to throw in some custom javascript code into OBIEE. It worked fine in IE but failed in Mozilla.
    I could only assume that there are certain CSS properties in the OBIEE CSS files that Firefox is actual observing that IE fails to as well.
    What exactly is your script supposed to be doing? What is it actual doing?
    Mine was supposed to float a pivot table header line down the page, but instead, Mozilla glued the header to the bottom of the page. I'm not super CSS savvy, but my guess is there are some DIVs in the Dashboard page that are pushing my object to the bottom of the page.
    Ultimately, I'd recommend you do two things:
    1) Contact your Oracle Rep and see if you can provide you detailed documentation of all the CSS files
    2) If you can't get detailed documentation (or even if you do and it's difficult to wade through), then you may have to breakdown and dig through the CSS code yourself.
    If you do find anything out, please share. I plan on doing the same when I get some free time.
    Good luck!
    -Joe

  • BI publisher report on OBIEE dashboard in a particular format

    Hi All ,
    We have a situation wherer we need to show a BI Publisher report on the OBIEE dashboard .
    The Dashboard has a prompt on 'Year' and 'Quarter'.The issue we are facing is ,based on the prompt value the report column header should also change.
    e.g :
    Year=2003 , Quarter=3
    It should give us the revenue for different Products for last four quarter :
    Product----------------------2003 Q3---------2002 Q4--------2002 Q3--------2002 Q2---------20002 Q1
    Airconditioner----------------100----------------200----------------300--------------400-----------------234
    Refrigerator-------------------145----------------208----------------350--------------467-----------------264
    Example 2 :
    Year=2004 , Quarter=4
    It should give us the revenue for different Products for last four quarter :
    Product----------------------2004 Q4---------2004 Q3--------2004 Q3--------2004 Q1---------2003 Q4
    Airconditioner----------------100----------------200----------------300--------------400-----------------234
    Refrigerator-------------------145----------------208----------------350--------------467-----------------264
    How can we acheive this column header.
    Please advice.
    Thanks!!

    Hi,
    based on the prompt value the report column header should also change. You want to change the value of the column heading dynamically based on prompt.You will get this by using the Presentation variable.So,you have to integrate both the bi publisher+rpd.
    Link to use the Prompts in bi publisher
    http://oraclebizint.wordpress.com/2007/10/19/oracle-bi-ee-101332-dashboard-prompts-and-bi-publisher/
    Link to get dynamic column headings
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    Thanks,
    saichand

  • Lov selection from obiee dashboard to  Bi Publisher report

    Hi
    I have created an Bi publisher Report . it is having 2 date parametrs and one lov (multiple selection) like deptno .
    I need to place this report on obiee dashboard. i am able to create the 2 date parametrs as presentation variable in obiee and pass the values to bi publisher .
    But i am not having any idea how to create lov in obiee dashboard and pass that lov selection as input bi publisher .
    can any one please help me in this.
    thanks in Advance.

    Can any one please help me in this

  • 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..

  • ESSBASE + OBIEE Dashboards or OBIEE ADMIN TOOL + OBIEE Dashboards.

    Hi all,
    Hi all,
    I am currently working on the proposal for a Financial BI reporting project for a company in the UK and would like to know the advantages of using ( ESSBASE + OBIEE Dashboards) solution over (OBIEE ADMIN TOOL + OBIEE Dashboards).
    As the project has complex data model the client is insisting on Essbase; will ESSBASE give me more flexibility over BI Admin tool in data modeling and cube designing?
    Appreciate your thoughts.
    Regards
    B
    Edited by: Bees on Oct 27, 2010 9:32 AM

    Hi,
    OBIEE has infinitely superior reporting functionality to Essbase.
    Essbase is absolutely excellent if you want to give your users data input and intuitive drill features. For financial projects Essbase is excellent for budgeting, planning, forecasting etc where you want a good deal of user input on a flexible and intuitive basis for data modelling from a large end user audience.
    Essbase is a highly complimentary product for OBIEE as OBIEE fills its reporting needs, modelling Essbase cubes in the repository is brilliantly fast and Essbase' cubes create things like dimension hierarchies purely by dragging physical cubes into the business model layer.
    11g features like asymmetrical drilling, ragged hierarchies etc could have been built with Essbase in mind - and MOLAP was definitely built with Essbase in mind.
    I would recommend looking at the Oracle by Example for Hyperion (which has Essbase at its core) for a feel of what Essbase can do for you.
    regards,
    Robert.

  • Common GO button for multiple prompts created in OBIEE Dashboard

    Hi,
    Is there any possibility to have a common GO button for multiple prompts created on the OBIEE dashboard.
    Any response to this would be appreciated.
    Regards,
    Rajkumar.

    Hey i used the java script given in link :- http://sranka.wordpress.com/2008/11/09/how-to-replace-multi-go-button-prompt-by-one/#comment-96
    to hide multi-go-button in prompts and it works for IE 7 and firefox 2.0* with 10.3.4.1.
    Now since 10.1.3.4.1 is certified with firefox 3.0* ,when i use this same script in firefox 3.0* for my prompts it doesn’t work .
    Any idea why ? Please help me with this,as i want to use this hide go button feature in firefox 3.0* too.
    Are these scripts browser to browser incompatible ? If yes from where can i get the script for firefox 3.0* ?
    Awaiting for the inputs.
    Thanks,
    Nisha

  • Error navigating from OBIEE Dashboards 11g to BI Publisher

    Environment: WebLogic Server 10.3.5 OBIEE 11.1.1.5 AIX 6.1
    Browser: IE8 (company standard) and others like Firefox
    Hitting the links on browser in OBIEE dashboard to create a Published Report in BI Publisher, I get the following error:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; MS-RTC LM 8; InfoPath.1; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.5.30729)
    Timestamp: Tue, 21 Feb 2012 20:39:23 UTC
    Message: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
    Line: 85
    Char: 1
    Code: 0
    URI: http://<servername>:9704/xmlpserver/editor/report.jsp?_xmode=2
    I can login directly by using http://<servername>:9704/xmlpserver/login.jsp
    Any help would be appreciated.

    hi,
    I have the same issue but only with one user.
    Have you solved the issue?
    thanks in advance
    Rosario

  • Another newb question: multiple virtual servers

    Hi, I have yet another ignorant question. I have several unrelated web projects that I am working on, and I would like to be able to set up a virtual server for each one for testing purposes, such as: http://project1, http://project2, http://project3. Can someone tell me if this is doable, and if there are any tutorials/resources on this for someone who has 0 experience running a web serer? Sorry for being so ignorant!

    Yes, it is doable.
    You can setup virtual server either by IP or by name.
    If you have one IP, and want to set them up by name (ex. http://project1, http://project2, http://project3) you can do so easily with this type of configuration:
    <virtual-server>
        <name>mydomain</name>
        <http-listener-name>http-listener-1</http-listener-name>
        <host>*.mydomain.com</host>
        <document-root>/www/domain</document-root>
      </virtual-server>
      <virtual-server>
        <name>myotherdomain</name>
        <http-listener-name>http-listener-1</http-listener-name>
        <host>*.myotherdomain.com</host>
        <document-root>/www/myotherdomain</document-root>
      </virtual-server>
    ....The important part here is that
    a) all virtual servers share the same HTTP listener
    b) which virtual server serves the request depends on the $HOST request header send by the client. Sun Web Server does the matching for you. It will match $HOST vs. the virtual server's host attribute. Depending on which site you connect to the right virtual server will be used.
    c) if the $HOST request header does not match any of the virtual servers, then the default virtual server defined in the HTTP listener will be used.
    To create a virtual server, use the Admin GUI, access the configuration, and then add new virtual server. Or use the following CLI command.
    wadm> create-virtual-server --config=myconfig --http-listener-name=http-listener-1 --document-root=/www/docs/myserver.com --host-pattern=myserver.com --log-file=../logs/myserver.com-error_logs myserverHost pattern will be used for matching. Some of this elements might be optional.
    Hope that helps. And keep the questions coming :D
    Edit: Also check the documentation
    Using Virtual Servers in SJS Web Server 7.0

  • OBIEE Dashboard:- how to trigger a sql update from obiee dashboard?

    I want to trigger an update database query from a click in obiee dashboard.What is the best way to do it
    Edited by: Tataji vijjapu on Aug 7, 2012 11:20 PM

    Check WriteBack functionality
    http://gerardnico.com/wiki/dat/obiee/write_back
    Hope this helps

  • Another simple questions

    Hello friends:
    Another simple question: I need to learn things about Oracle on my desktop.
    My machine runs Windows 98. Oracle has some desktop product of its Database Line?
    For example: Oracle Personal?
    And Oracle Lite? What's the main difference between Oracle Personal and
    Oracle Lite?
    Thank You
    Gracias
    Ing. Pablo Romero
    CORDOBA ARGENTINA

    1. I didn't know the answer to your first question, but I googled it and it says the item is the in-call audio boost.
    http://forums.crackberry.com/f71/flag-icon-47659/
    2. isn't this setting determined by the carrier? So it's not a setting in the phone, but when you call in to your voicemail you can change your options?

Maybe you are looking for

  • How can I connect to multiple WLS instances from a single Apache virtual host

    Configuration : WebLogic 5.1 SP8 & Apache I need to be able to have a configuration that looks something like this. www.company.com/x -> WL cluster01 www.company.com/y -> WL cluster02 In all the examples that I have been able to find they alway defin

  • Ipod nano 4th gen error message -208

    I bought and downloaded a movie from the istore but when I try to sync it to my ipod I get an error message "unable to sync-unknown error 208". My music and photos sync really well and this is the first time I've tried to buy and sync a movie. Any th

  • IChat Wake Mac from Sleep

    I have just started using iChat, and frequently missing invites becouse my iBook has fallen asleep. How can i have iChat wake the computer and play an Alert whenever i am invited to a text chat, audio chat and video chat? Thanks for any help on this.

  • How to create an HTML link into Text

    How is it possible to fire a new browser window or tab from a piece of text that should be a link to a webpage ? Thanks in advance for your help. DDA

  • Osx mavericks not downloading

    It keeps telling me an error has occured and isnt letting me download. What could the problem be?