Issue with Calendar prompt presentation variable

Requirement: (OBIEE 11g)
A dashboard should have two prompts - one calendar prompt and one text field prompt giving number of days. There is a timestamp column (SHIP DATE) in the analysis. There should be a between limit in this timestamp field. Logic to be implemented is - Calendar Prompt DateTime <= SHIP DATE < (Calendar Prompt DateTime + No. of days from text field).
Solution Tried:-
Using the dashboard prompt, two prompts and two corresponding presentation variables were created. First presentation variable is for calendar prompt timestamp (Date1) and other one is for no. of days (Num_Days) text field prompt.
Then in the analysis, two filters were created on the Ship Date. First filter is set as 'Is Prompted' and it takes the values '<=' from calendar prompt in dashboard.
For the other filter, I converted it to SQL and wrote the following:-
"Time"."Ship date" <= (timestamp '@{variables.Date1}['YYYY-mm-DD HH:MM:SS']{2013-01-01  00:00:00}')  + @{variables.Num_Days}{30}
The analysis runs fine for the above filters, but when run from the dashboard, it throws up an error.
Error getting drill information: SELECT "Time"."SHIP DATE" saw_0, "Base Facts"."QUANTITY" saw_1 FROM "SHIPPING DATA" WHERE ("Time"."SHIP DATE" <= (timestamp '''2013-00-01 00:10:SS''') + 30) AND ("Time"."SHIP DATE" >= timestamp '2013-10-01 00:00:00').
From the above it seems that error is coming because I am unable to set properly the calendar prompt presentation variable in a format which can be read by the analysis. Since analysis is running fine from the default value of Date1, I was thinking of somehow converting the calendar prompt presentation variable in the similar prompt.
Any pointers to the correct approach?
Thanks
Kundan

I found a workaround to my above issue for now but I would like to know the proper approach from experienced folks.
My workaround is as follows:-
I created an additional column in the analysis -> TIMESTAMPADD(SQL_TSI_DAY,- @{variables.Num_Days}{30}, "Time"."Ship date"). Then I applied a filter on this new field. The filter is set as < variable expression Date1 (coming from presentation variable). Since I am not converting this filter to SQL, OBIEE server seems to be taking care of timestamp format conversion.
I think I need to study the logs and the config XMLs to see how date format is being stored to get a better solution.
Regards
Kundan

Similar Messages

  • Issue with Calendar not syncing with iPhone 3g

    Issue with Calendar not syncing with iPhone 3g.
    Solution
    Create backup of your entire mailbox before starting (THIS IS IMPORTANT)
    Create offline folder (.pst file) Check windows help on how to do this for your version.
    Open folders view on Outlook
    Right click on Calendar in tree view and 'copy to' offline .pst folder
    Go back to main calendar view and delete all entries in your calendar.
    Create simple cal entry and sync test with iphone
    If this works then start dragging cal entries back from the offline folder into the main calendar then sync after each step....
    I moved events in this order
    -Yearly recurrences (ie Birthdays)
    - Monthly recurrences
    - weekly recurrences
    - Daily recurrences
    All appointments from the beginning of this year >> to the end of time!
    If all these sync then the issue is with an older cal item and you have to decide if you actually need these in you current calendar.
    I chose to leave these in the offline cal and if i need access them from there.
    If at any point the sync fails then you know you have a corrupt cal entry in the block you just transferred. Move the offending items back into the offline folder and try again in smaller chunks until you identify the offending items and delete them and manually recreate them in your real calendar.
    Also smart to run the inbox (.pst /.ost ) repair tools for your OS/Outlook version.
    Fixed so far
    XP Pro / Outlook 2008
    XP Pro /Outlook 2003

    I just updated the firmware to iPhone 2.0.1 and the syncing works great both ways.

  • Date Prompts Issue using Calender and Presentation Variables

    Hi All,
    This is what the requirement is...
    I need to create a two prompts (from_date and to_date) on a date column so that I can filter the data using a between condition. This is how I am doing
    I have created two prompts (edited the formula) and passing the values to two presentation variables var_from and var_to. And in the report I am limiting the request on the using between operartor for both the presentation variable. Everything is working fine but the issue is that I need to display var_from and var_to in my report also.
    I am referencing both the variables as '@{var_from}' and '@{var_to}' but I am getting both the columns as blank. I am really not sure why I am getting blank values for both these columns only when I am able to filter my report successfully on the basis of date values in the prompts ...
    Just to metion ..in my database I have values in the format m/d/yyyy only. Hence I am able to use the calender successfully
    Any help on this would be much appreciated...
    Thanks
    -Ronny

    Ronny,
    Are you seeing blanks in answers ? Id expect this, but on the dashboard, when you set the filters , you should see the values coming through?
    You can extend the syntax of the pres variable and provide a default value, so when working in answers you can see what it looks like,
    something like @{var_from}{'01-Jan-2010'}
    Also you can reference the variables in the title, subtitle or narrative views if you wish.

  • OBIEE Issue with Hierarchy Prompt

    Hi,
    I am using a Hierarchy Prompt to select a member from a Hierarchy column whose members come from a essbase cube.
    I set a presentation variable *"Select_Cliente"* to the prompt and set the filter to a column like "Gen3,Cliente - Default is equal to / is in *@{Select_Cliente}*"
    The issue occurs when someone enter to the dashboard and select a member in the Hierarchy Prompt and clicks in "Apply". The Analysis shows the following 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: 96002] Essbase Error: The identifier '<saw:dimensionSelection xmlns:saw=""com.siebel.analytics.web/report/v1.1"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""><saw:selectionStep stepID=""1"" type=""startWith"" category=""member""><saw:stepMembers xsi:type=""saw:staticMemberGroupDef""><saw:staticMemberGroup><saw:hierarchyMembers><saw:hierarchyLevelMembers><saw:hierarchyLevel levelName=""Gen2,Centro de Costo"" levelID=""Gen2,Centro de Costo""/><saw:members xsi:type=""saw:stringMembers""><saw:value> GERENCIA DIV. COMERCIAL* </saw:value></' on line exceeds maximum character limit (HY000).
    The problem is that the selected member is filter with a lot of caracters that not apply. The selected member is underlined.
    The version of the OBIEE is 11.1.1.6.9.
    Thanks for the help.
    Edited by: cpmacgre on 08-abr-2013 14:14

    Switch the filter in the criteria part of the target report into Advanced SQL Filter, then type your filter with that kind of syntax : "Period"."Period - Default" = '@{var_per}{P3}' and it should work
    P.S. if you want to have multiple elements in the prompt selection, then use instead this syntax : "Period"."Period - Default" IN (@{var_per}['@']{'P3'})
    Edited by: pmerle on May 3, 2013 5:38 AM

  • Help needed with calendar prompts!!

    hi ..
    I have an issue in displaying the date difference between the user selected calendar prompt date and the time period date.
    TIMESTAMPDIFF(SQL_TSI_DAY , Fact.due_Date, @{selected_date}{CURRENT_DATE}) works fine,
    But when user selects a date from the calendar prompt, date format is not matching. Obiee uses YYYY/MM/DD but the calendar returns 'MM/DD/YYYY' as a character.
    Any idea how to cast a date function from MM/DD/YYYY to YYYY/MM/DD ??
    I tried using Evaluate, it hangs up the BI server. So is there any alternate way to achieve this??

    Hi,
    I had faced a similar issue:
    My work around was
    the date prompt column was cast to date in dashboard promt and set as calender control. The date value captured in presentatiion varaible 'date' and in the report the below calcuation on the presenation variable was done.
    calculation posted below for ur help.
    WHEN 'week' THEN (TIMESTAMPADD(SQL_TSI_DAY, DAYOFWEEK(EVALUATE('TO_DATE(%1,%2)' AS DATE,'@{date}','dd/mm/yyyy') )*-1+2,EVALUATE('TO_DATE(%1,%2)' AS DATE,'@{date}','dd/mm/yyyy')) )
    hope this will be of help.
    Aachala

  • Issue in usage of presentation variable

    Hi
    I have made a Presentation Variable which reflects a value like 'FY 11 Q3' and gave a name yearqtr. Trying to use it as filter to report like 'name_quarter < @{yearqtr}. When i select an option of 'FY 11 Q2' it has to populate like this 'name_quarter<'FY 11 Q2'' instead it is replacing the variable like a number 'name_quarter<FY 11 Q2. Used another option of 'nam_quarter is less than @{yearqtr}' then it passing the sql as name_quarter='FY 11 Q2'. Tried to use cast it is not working.
    Pls help me out, how to resolve this issue. To achieve < with presentation Variable.
    Thanks
    Sandeep

    Hi Amith
    Thanks for responding, but my issue is when i pass the filter " period<@{presentationvariable}" and its getting converted to "period=presentationvariablevalue".
    I didnot get why its happening, it their a way to get out of this issue.
    Thanks
    Sandeep

  • Date format problem - dashboard prompt - presentation variable

    Hi,
    I've created a dashboard prompt on a date and defined a presentation variable.
    In my report I make use of the following object : TimeStampAdd(SQL_TSI_MONTH,-12,date '@{pv_afw_start_date}' )
    My report works when making use of a drop down list, but when I want to make use of a calendar to select from, I receive the following error
    *A general error has occurred. [nQSError: 46047] Datetime value 17/11/2009 from 17/11/2009 does not match the specified format. (HY000)*
    Is there a difference in the date formats used by the prompt type (drop down list, calendar, ..)? And how you can align them..
    Txs for your help.
    Kr
    A

    Timestampadd ask for a timestamp not for a date.
    Check here :
    http://download.oracle.com/docs/cd/E12103_01/books/admintool/admintool_SQL14.html
    The syntax is :
    TimestampAdd(SQL_TSI_DAY, 3, TIMESTAMP '2000-02-27 14:30:00')You may have to change your prompt to retrieve a timestamp.
    Where do you use your formula ? In a formula column ?

  • Issue with optional prompt

    Hello,
    We have a universe built on top of bex query and it has a couple optional prompts prebuilt with the help of variables in the bex query. My understanding is that when there is optional prompt the lov is not generated unless the user manully clicks the refresh lov button on prompt window. This is how it works in the webi report I built on the universe. But when I use the same webi report as a live office component in the xcelsisus dashboard the lov's are genrated ignoring the <optional> prompt which is causing lot of delay refreshing the dashboard. This happens only when I have the connection in the universe to use SNC( Single sign On). I dont see any issue with hardcoded username and password.
    any thoughts?
    Thanks
    Ram

    Ingo
    >> What exactly you mean here that a list of values is being generated ? a list of values doesn't show up automatically in Xcelsius for the dashboard - it needs to be created / designed as part of the Xcelsius design.
    When I have a prompt with <optional> tag in the universe the webi report or xcelsius should not request the new lov's from the database it should only use the lov's available in chache. 
    But I my case I am using SSO connection in the universe, when the SSO is turned ON the lov's from chache cann't be used, the webi report is not requesting a lov's from the database when there is no chache or when the chache off which is correct. but the live office plugin iin xcelsius s requesting new lov's from database everytime I refresh a connection.
    In xcelsius we are not using any list of values, I don't think lov's are usefull in xcelsius dashboard as we can't see the prompt window in the flash mode.
    Thanks
    Ram

  • Outlook 2011 for Mac Sync issue with Calendar

    Does anybody know if there is an issue with the Calendar not syncing with iCloud. Everything in Outlook will sync using iCloud except the Calendar.iCal has no issue, just Calendar from Outlook.

    Hi Robert,
    I found a KB for your reference:
    Sending email error "Authentication failed. Error 17897" in Outlook 2011 for Mac
    http://support.microsoft.com/kb/2492901
    If it not matches to yours, please paste the details without sensitive information.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Syncing issues with Calendar - ITouch

    I am using 8GB Itouch, running on Software 2.2 and ITunes 8.0.2.20.
    In the past anytime that I sync my information it would update contacts & calendar at the same time. Right now it would act as though it is syncing but it does not show the updated information on my touch. Can anyone help or guide me in the right direction of what to do?

    There is apparently (according to our IT department) a known issue with Exchange calendar syncing, where the meeting status (and sometimes presence) is affected by how the meeting is accepted (on the iPhone vs. in Outlook vs. in Outlook by someone else with admin rights on your calendar). Reportedly, Apple is working on a fix.

  • Issue with Date prompt Format

    Hi Guys,
    help me..pls
    i have created one date prompt with calendar input, the date format in that prompt is like '03/15/2013' but i need to show the date format like '2013-03-15' . when i try to convert the date format, the user input calendar popup is not enabling only text box is appearing to give date input.
    can any one guide me any work around..pls

    Hello,
    Check this one : http://obiee10grevisited.blogspot.com/2012/02/customizing-obiee-calendar-display.html
    Mark if helps.
    Thanks,
    SVS

  • Huge issues with Calendar

    Hello,
    I have very irritating issues with the BB calendar syncing to a caldav (iCloud) server. The server contains 4 calendars which are are all synced successfully initially. After the first automatic refresh however, in 2 of the four 4 calendars,  entries disappear randomly. I can bring them back by manually hitting the "refresh" button in the menu, but after a while (assumably after the automatic sync) they disappear again.
    Is this an extremly ugly bug or can I do something about this?
    Best,
    Andree

    Same here (I've posted in the Z10 forum several months ago)
    I'm not on BES
    I sync to web (Outlook.com)
    Almost invariably, if I invite other participants to a meeting, the entry will appear in my calendar for a while and then randomly disappear ON MY BLACKBERRY ONLY.  
    The even still shows up in my calendar on the computer (i.e. at outlook.com), so something is wrong with the sync to BB?
    The rediculous workaround is to make a duplicate entry (without inviting others) - which always seems to work but everything shows up twice if I view it on the computer.  And then I obviously can't see the participant status on my BB.  
    For a consultant, this is just no good.  I have missed client meetings.  
    If it's not fixed by the time my contract comes up I'm switching to Android.  
    A number of other people reported the same issues I don't understand how it could not be fixed by now.  

  • Issues with Calendar

    Good Morning,
    I have a user who has consistent issues with his Outlook Calendar. 
    Sometimes he will receive meetings and the invite appears basket as “out of date” and has disappeared from my calendar.  The organizer of the meeting says nothing was changed.
    The other issue that he seems to have is that meeting are being accepted on his behalf, but he is not accepting them.  He has one other user who has Publishing Author permissions to his mailbox, but states that she does not accept meetings on his behalf. 
    He manages the Calendar on his own. Almost like there is a "hidden" delegate.
    He is using a MAC laptop with Outlook for MAC installed (but connected to our Exchange environment
    Also has an IPhone for accessing corporate email. 
    Have suggested that he just use the OWA client from his MAC, but he does not feel it is the same.
    He is one user (and only user) who seems to consistently have Calendar issues like this.
    I have used MFCMAPI and ADSIEdit to look for the "hidden" delegate rule or the PublicDelegate attribute, both of these did not return anything.  Does anyone have any other tools, tricks or suggestions I can try.
    We have also asked him to install Parallels or VFusion so he can run a Virtual Windows machine from his MAC, but that was shot down also.
    Thanks in Advance for any assistance.
    Brian Dougherty

    Hi,
    First, please make sure the user's Outlook has installed latest updates.
    Then, please let the user temporarily turn off his security software to test the issue again. Also we can open Outlook in safe mode to test the issue.
    Since this is the forum to discuss questions and feedback for Microsoft Outlook which is installed on a Windows Operating system, better to post your question to the forum for Mac:
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011?tab=Threads
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for
    your understanding.
    Steve Fan
    TechNet Community Support

  • Issue with calendar

    Good Night,
    I have the following issue.
    An employee belongs to a Personnel Areas 'MTY1' Monterrey(Mexico) that have the calendar of US however as here this the module of PS(Project System), the employee can is assign to a project of GUAD Guadalajara(Mexico) that have the calendar of MX.
    The question is following: ¿ What I do here?
    I have that do in the HR a change organitational?
    Regards,

    Thank Kapil Kaushal 
    In the enterprise is the module of PS and HR. They have since 2 months ago project in the Personnel Areas that work and this customizing for wok with the calendar of US three project that only work with the calendar of MX, but they want in the system appear the calendar of MX, but as in the system is configurated for work with calendar of US  because this is the agreement in the blueprint.
    I want an idea for give to the user final,  if SAP can or not do this.
    Regards,
    Wilman

  • Issue with Dashboard Prompt passing value to Presentation Variable

    I have 2 tabular reports that grab 2 variables respectively: @Month and @Year.
    The reports work fine.
    My issues is that to compute the most recent month & year, so I can pass the values to the 2 variables mentioned above, I have a dashboard prompt on the same page as the 2 reports. In the dashboard prompts (Edit Box types), I have SQL in the "Default" that computes the most recent month & year. This logic also works perfectly when you preview the results of the prompt.
    My issue is that when I land on the page, it seems that the month & year prompts are not computing. I have an old value of "Dec" "2009" instead of "May" "2010".
    It seems the Default SQL logic is NOT running on its own? As an aside, we do our development in a test environment and the catalog is promoted to production nightly. The "Dec" and "2009" I see is the correct value for the test environment, so it looks as if the defaul values are just being migrated with the catalog, but then the SQL to compute the latest values of the 2 propmts are never executing when the user lands on the page? Thus everyone sees Dec 2009 data instead of May 2010...Help!

    Hi,
    dgerena wrote:
    My issues is that to compute the most recent month & year, so I can pass the values to the 2 variables mentioned above, I have a dashboard prompt on the same page as the 2 reports. In the dashboard prompts (Edit Box types), I have SQL in the "Default" that computes the most recent month & year. This logic also works perfectly when you preview the results of the prompt.You are creating the second prompt (edit box) to make the first prompt values, You can use the same sql in the report default to SQL in the first prompt itself.
    If I am wrong please clarify.
    Thanks,
    Vino

Maybe you are looking for

  • How to cancel membership?

    I can't get a hold of anyone from this company to cancel and now my membership auto-renewed!

  • Specifying Network path in Topology for flat files

    Hi, Is it possible to specify Network path for Files in Topology. e.g:- like we specify say d:\source ,here can we specify like \\netwokmachine1\source ? Thanks, Mahesh

  • Dreamweaver 5.5 mac crashes when I use a site

    I am using Dreamweaver CS5.5 Version 11.5 Build 5366. This program crashes every time I edit a file within a specific site. The other sites that I have created in Dreamweaver do not share this issue. This is the crash report that I keep getting. I ha

  • Unable to start the android app while clicking the appropriate file

    Hi I have developed andoid app and now I am porting it on bb z10 using eclipse plugin. I have set intent filter in AndroidManifest.xml which should allow any file with .camem extension to start the app. It happens in original android app in android m

  • How would I add voice to text and record it to audio

    I have a soundblaster 6 and text assist program I have several large text files that I want to have spoken and recorded in wave format and burned to CD, How would I go about duing that?