Issue on presentation variable with calendar control

Hi Gurus,
I have a date control prompt with a presentation variable.
I have a filter condition on Date field(Start Day).
Filter Condition:
Start Day is equal to / is in timestampadd(sql_tsi_day,-1,evaluate('to_date(%1,%2)' as date,'@{sdate}{01/30/2009}','MM/DD/YYYY'))
Here 'sdate' is my presentation variable.
If I keep the date control as drop down or edit box, I am getting the results(basically I am trying to get one day ago counts). When I select a date from calendar control and hit the GO button I am getting the below error.
[nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 12801, message: ORA-12801: error signaled in parallel query server P147 ORA-01843: not a valid month at OCI call OCIStmtExecute
Can you pls. help me on this?
Thanks,
Ramesh

Ramesh,
Did you already load the patch (8599681)?
http://obiee101.blogspot.com/2010/01/obiee-patches-101341-part-2.html
regards
John
http://obiee101.blogspot.com/

Similar Messages

  • Setting Presentation Variable with a Calendar Control

    I have a situation where I need to create a dashboard prompt on a Date field that allows the user to select a start and end date. Part of this requirement also requires that I capture those two values in two presentation variables - but I can't seem to figure out how to set a presentation variable in a dashboard prompt while still using the Calendar control for the date selection.
    I can't use a drop down list or anything else besides the Calendar pop up - Does anyone know how to go about setting a presentation variable while still allowing the end user to select dates via the Calendar control pop up?

    Hi
    in dashboard prompt, select control as calendar control but not drop down
    And if you want in between operation with presentation variables.. go through the following link...
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/
    Regards
    Kishore Guggilla

  • Using presentation variable in multiselect control

    Hi All,
    I have a requirement.
    I'm showing a dashboard page which contains a Direct SQL request and a prompt. The prompt needs to be a multiselect control.
    The SQL request is as follows:
    Select user_name, user_id from table_name where user_id = @{presentation_variable}.
    The presentation variable will be declared in the prompts, which I can use it in the sql request.
    But when we select multiselect control, it doesn't show the box where we can declare a presentation variable.
    It allows us to declare presentation variable when we select drop dwon control, in which only one value is selected.
    Can anyone guide me how I can use multiselect with Direct SQL request, so multiple values can be passed to filter the results.
    Thanks.

    hi rgksugan,
    Presentation variable will not hold more than one value,so we can't set presentation variable(set variable) to multi select
    how I can use multiselect with Direct SQL request, you can't do this with multi select
    Thanks,
    saichand.v

  • Problem with calendar control in report preview

    I am using Crystal Reports XI.
    When I preview reports containing a date/time parameter the calendar control does not work. Clicking on it brings up a JavaScript error box indicating that the page has an error and whether I want to continue running scripts on the page.
    This started happening after I installed the stand alone CR viewer.
    Uninstalling the viewer did not help.
    Please help!
    Regards
    Lawrence

    Hi,
    Unfortunately there is no exact solution fot this issue. but still try replacing prompt.dll which is located in
    C:\Program Files\Business Objects\Common\3.5\bin
    with the working one.
    hope for the best
    Regards,
    Harry.

  • How to pass presentation variable with enclosing single quotes

    HI All,
    As all of you know in 11g, Presentation variable can hold more than one value.So we can pass multiple values to the report through presentation variable.
    If we select x,y,z values from prompt drop down,then those values will be stored like x,y,z in the presentation variable.
    but I would like to store these values with enclosing single quotes like 'x,y,z'
    The reason is I need to pass this variable value as input to BI Publisher sql dataset query where clause.
    Please share your Ideas.
    Thanks,
    Aravind

    Aravind,
    Check this
    Predefined Presentation Variables in OBIEE 11G | Praveen's Blog

  • Setting Presentation Variable with Multiselect Prompt

    I want to know if there is a way to set presentation variables from a multiselect prompt. I want to store all the values that the user has selected from the prompt.
    Mrinalini.

    I have a report in which I use Oracle analytic functions. But I have to show only subset of all records because of analytic functions. In case of ListBox I use a presentation variable in a FILTER(expr1 USING expr2). How may I do this in case of multiselect prompt? It doesn't support presentation values.

  • Presentation variable is not supported in "SQL Issued"

    hi, there is a presentation variable called @{ps_var} from a prompt
    and I have written a custom sql and typed in "SQL Issued"
    !http://img31.imageshack.us/img31/8673/customsql.jpg!
    I found that the presentation variable is not supported in "SQL Issued" (exception flows when I clicked the "Set SQL" button.)
    (in the captured screen, it is hardcoded as 'REPLACED_BY_PRESENTATION_VARIABLE', no error occurs when I clicked the "Set SQL" button. the result is correct.
    however, when 'REPLACED_BY_PRESENTATION_VARIABLE' is replaced by @{ps_var}, exception flows when I clicked the "Set SQL" button.
    is there an alternatives to avoid the error ? or any ways to assign the selected value from the prompt to this sql ?
    thank you very much!

    Just set your presentation variable with an other method.
    Check here you will find how you can set a presentation variable for a filter
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_presentation_variable_area

  • Using Presentation variables..along with case statements..

    Hi All.
    I have a issue using presentation variable along with CASE statements. My approach is
    1) I have a dashboard prompt, which is being set as Presentation variable.
    Based on the value selected in prompt, for ex the values of prompt can be 'ABC' and 'DEF'.
    I have a calculated column, the calculation goes this way...
    The forumal is
    CASE WHEN @{Presentation Variable Name} = 'ABC' THEN xxxxxxxxxx ELSE IF @{Presentation Variable Name} = 'DEF' END. It gives error of "no table being referenced"..
    Is this is the right approach??
    Can i get the values of variable in a column formula, so that a column can have values selected in prompt?
    Can anybody pls help me here..
    Thanks in advance...

    Hi
    Thanks for the quick response..
    I agree to ur point..
    But the requirement is
    Based on the value of the prompt I need to switch the calculation in one of the formula area of one column..
    If Prompt value is ABC then one kind of calculation in Fx and If the prompt value is DEF then one kind of calculation in the same Fx..
    How can I acheive this?
    Thanks in advance..

  • OBIEE 11g Front End Calculations with Presentation Variables Error

    Hi Guru's,
    Long time user first time poster to the forums but hopefully you can help.
    I have a requirement to perform an aggregation on certain fields with a dynamic grouping requirement (so users can select which grouping they require ie, sum profit by [outlets or companies or region]).
    The approach I am using is a prompt setting a presentation variable with the possible groupings for the calculation as choices, and a column in the report with a formula to SUM("table"."column" by "@{variable}{default}") this also contains a dynamic column name containing the presentation variable too.
    Where the column could be profit and the variable prompt options could be outlet, company or region (from the above example).
    This is currently separate from the RPD due to the dynamic nature required with groupings changing at run time and is done in the front end.
    However on selecting some columns via the prompt I receive this error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22027] Union of non-compatible types. (HY000)
    This only occurs on some field groupings, and is not a certain type in particular. (Including both short date, short time and varchars).
    Any ideas where this problem could stem from?
    Regards.

    Based on given info: Try this
    SUM(cast("table"."column" as int) by "@{variable}{default}")
    Pls mark if helps

  • Passing a date presentation variable in 'Invoke a Browser Script'

    Hi,
    I have a problem with passing presentation variable with Invoke a Browser Script.
    In my main report i set the filters and it works correctly:
    ColumnDate is greater than or equal to  @{vStartDate}{01/05/2015}
    ColumnDate is less than or equal to  @{vEndDate}{04/05/2015}
    (It works with different dates, i have tested, not only for the values between 01/05/2015 and 04/05/2015)
    i gave the same filters to the detail report.
    When i choose the action link to go the detail report, it only brings me the values between 01/05/2015 and 04/05/2015 .
    If i remove the default date values then both report gives the error :
    A date value was expected (received "vStartDate"). 
    Error Details
    Error Codes: GYYEWLWG 
    What i am doing wrong?
    Please help me.
    Thanks in advance.

    You should be using prepared statements.
    String scoredGoalsQuery = "SELECT count(name) from player_goal_rel where name = ? and pdate BETWEEN ? and ?":
    PreparedStatement pstmt = connection.prepareStatement(scoredGoalsQuery);
    pstmt.setString(1, pName);
    pstmt.setDate(2, startYear);
    pstmt.setDate(3, endYear);
    ResultSet scoredGoalsResult = pstmt.executeQuery();

  • Presentation Variables Date Format

    Hi,
    I have a direct sql request that uses date presentation variables via a dashboard prompt:
    Direct SQL:
    select id, customer
    from test
    where date between @startdate and @enddate
    If I enter startdate '31/03/2013 00:00:00' in the dashboard prompt selection:
    OBIEE converts the above query into database date format:
    'YYYY-MM-DD HH24:MI:SS'
    The database is in date format DD-MON-YYY, this results in error ORA-01861: literal does not match format string
    can anyone help with where the date format should be set?
    Thanks

    There are different levels of users on this forum so you need to be more specific and provide examples to novice users....I want user to think on given hints and fix by himself instead of detailed with examples, this would help user to learn and think in new dimensions instead of depending on any one.
    Sometimes I'll be responding more detail based on their registered date with OTN and # posts posted.
    in your case my hint not fired!! so no full points ;)
    Check this
    Re: How set two presentation variables with one prompt
    Edited by: Srini VEERAVALLI on Apr 11, 2013 10:55 AM

  • Presentation Variable Formatting in Report Title

    I have populated 3 presentation variables via a dashboard prompt. I also display their values in the report subtitle, but I did not expect the following format in the display:
    from TIMESTAMP '2009-10-19 00:00:00' to TIMESTAMP '2009-10-25 00:00:00' for Abilene
    The dates appear formatted as 10/19/2009 and 10/25/2009 in the dashboard prompt which is how I want them formatted in the title. Where is this subtitle formatting originating? So, I can reformat it.
    Edited by: Bob from Austin on Oct 26, 2009 11:28 AM

    Hi.
    I suggest you to read this first:
    How to change date format mask in date dashboard prompts - drop-down list and calendar
    http://108obiee.blogspot.com/2009/03/how-to-change-date-format-mask-in-date.html
    On the end of this post is a explanation of date format and presentation variable in the title:
    And you can find a complete example here:
    Date between in filter and title when using presentation variable from calendar dashboard prompt or drop-down list in OBIEE
    http://108obiee.blogspot.com/2009/03/date-between-in-filter-and-title-when.html
    Before everything customize instanceconfig.xml, change datatype of TABLE.COLUMN in the physical layer to DATE and keep on eye if you are using repository variables as default values to dashboard prompt, which datatype they have, character, date or timestamp, this can cause problems. That's explained in the posts above.
    Regards
    Goran
    http://108obiee.blogspot.com

  • Date Presentation variable

    Hi,
    If Date presentation variable (with between operator) returning two values,
    how to call the first value specifically...
    thanks in advance.
    Siva Prasad

    Siva Prasad wrote:
    Hi,
    If Date presentation variable (with between operator) returning two values,
    how to call the first value specifically...
    thanks in advance.
    Siva PrasadRead this...
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/

  • Hide entire column based on presentation variable?

    Has anyone ever tried to do this? If user selects all records from prompt i want to display analysts assigned to those records. If user selects specific analyst i don't want to display analyst column. I know i can null out or show analyst based on presentation variable but what about hide entire column?
    If this is not possible has anyone tried to use conditional formatting to hide entire column?

    Try this:
    0) Create a dashboard prompt on "analysts" and check the "All Choices" checkbox. Set the prompt to a presentation variable.
    1) Create a small report with two columns, one column will be your analyst column, the other will be a column which houses MAX(RCOUNT(1)) in the Edit Column formula window (what you get when you press the fx button). Put another filter on the analyst column set to the presentation variable with one of the analysts as the default.
    2) Put a filter on the the MAX(RCOUNT(1)) column "greater than 1"
    3) Create two copies of your actual report, one which has the analyst column, one without.
    4) Now in your dashboard you will need three sections, one for your prompt, one for the "with column" report and one for the "without column" report.
    5) In the Section Properties of the "with column" report, click on "Guided Navigation" and navigate to the small report you created in step one. Set this section to display "if request returns rows." Don't forget the filter on this report set to the presentation variable.
    6) In the Section Properties of the "without column" report, click on "Guided Navigation" and navigate to the small report you created in step one. Set this section to display "if request returns nothing." This report will not need a filter on the analyst prompt, because by definition it will display all analysts.
    Now when "all choices" is selected on the prompt, the second report displays in the dashboard, and when a single analyst is selected, then the first report will display with the analyst column.

  • Oracle BI Web Services to extract Presentation Variables

    Hi Folks,
    I have a complex requirement and was unable to find the right solution on web.
    My general question is,
    What is the C# code which uses Oracle BI Web Services to extract Presentation Variables information and write it to XML files?
    We are unable to extract for Presentation Variables with Variable Value but able to extract for Column Value.
    So please share your thoughts as how to extract the presentation variables.
    Thanks,
    Oj

    Oj,
    Check this
    O.B.I.E.E: Obiee Web Services – Using .net and C#
    http://msdn.microsoft.com/en-us/library/windows/desktop/gg537745(v=vs.85).aspx
    Try this and let us know the outcome.
    Thanks,

Maybe you are looking for

  • Apex Modal Page (Skillbuilders) error

    hello, I have an issue. I have a page (IR) and when click link it open a modal (skill builder) page. when I try to submit the page then i get this error. An unexpected internal application error has occurred. Please get in contact the Support and pro

  • Syncing a single calendar to multiple iPhones

    I have a situation that Im hoping has an easy solution... My fiance and I both have 3G iPhones. My phone is synced to my work computer as well as our home machine via MobileMe while my fiance's is linked solely to the home computer via USB sync. We e

  • Error in Setting up JDeveloper

    Dear all, I am unable to create a page in OAF. I will tell the steps i followed and the error i am getting. 1) Seeing the Correct version of OAF By clicking About this Page i found the information as Product/Component Version OA Framework 12.1.1 Orac

  • STO Outbound delivery issue

    Hi All, I've a intercompany customer (say ICABCD) which has Ship-to Party maintained as 12345678 (not same as Sold-to Party) in Customer master. Now when I create a I/C PO to procure goods for ICABCD and create delivery (outbound), it sets Ship-to Pa

  • Can't open a document I created an hour before with Pages 5.0.1; get message saying my Pages is too old, for me to download 5.0.1

    Can't open a document I created an hour before with Pages 5.0.1; get message saying my Pages is too old, for me to download 5.0.1