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.

Similar Messages

  • How to make use of the presentation variable in SQL result query

    I have 2 prompts in my dashboard.
    Prompt1 decides the values of Prompt2.
    I have set a presentation Variable (selected_comp) in prompt1 which holds the value selected.
    To populate the values for Prompt2, I need to execute a query using the presenation variable set by Prompt1.
    SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=@{selected_comp}
    the query is resulting into
    SQL Issued: SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=0
    but the value in selected_comp is "ABC".
    Can anybody help in how to make use of the presentation variable in query to get the correct value
    thanks
    Shubha

    Just use constrain check box to filter your 2nd prompt values based on the 1st prompt.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Dashboard Prompt -- One Column Setting Multiple Presentation Variables

    Hi everyone,
    I've been playing with dashboard prompts, trying to get a deeper understanding of how the function.
    I created three dashboard prompts, all on the same column, account number. Each prompt defaults to a different value i.e. 1,2 and 3 respectively. Each prompt sets up a different presentation variable. PVAR1, PVAR2 and PVAR3 respectively.
    I created a report that referenced the three variables i.e. '@{PVAR1}', '@{PVAR2}', '@{PVAR3}'.
    I put all three prompts and the one report in a dashboard.
    When I view it, all of the prompts have the same value, value 2, however, only PVAR3 is setup. PVAR1 and PVAR2 are blank.
    Why aren't all three presentation variables set to the same value? Why is only one populated?
    Thanks for the help!
    -Joe

    Hi Joe,
    Thanks for posting this interesting question, I played around and found the same issue.
    This is my finding and hoping that this makes sense, The PV variables are set only when you hit a Go button. As there are 3 prompts in the question and all the prompts are build on the same column hence the values of the columns are the same, but only one variable is set. In my opinion the last prompt which got executed.
    I tried the similar thing with one more prompt with one Go button and VAR1 and VAR2 values got set but VAR3 was still black. But the 2 prompts had the same values.
    I believe since its the same column on which these prompts are build hence the issue of setting the values.
    Hope this helps,
    Sunil S Ranka
    Blog :: http://sranka.wordpress.com
    "Superior BI is the antidote to Business Failure"

  • Report in new page does not know of session and presentation variables

    I have a question about GOURL.
    I am using GOURL as a column function in one report (report A), so that when i click on that column it takes me to another report(report B) that open in new popup window.
    the first report (A) also uses some session and presentation variables, which is also used by Report B as filters. I am curious that if I add these filters which are using variables to report B, why can't report B get the value of these, (it just errors out ) because it didn't found any value to those variables in the filter.
    Becuase I am ending up with passing all these variables in GOURL and setting them as 'isprompted'.
    Does this report (B) knows nothing else than what it finds in GOURL?
    thanks

    In a nutshell, if u use gourl then its parameters will be only using in navigated report. This is functionality

  • Explain How delivery date is calculated using backward and forward schedul

    How can anyone please explain how delivery date is calculated using forward and backward scheduling
    I want to have it broken down into the following steps
    for eg for delivery date calculation following dates are used
    Material Availabilty Date
    Material Staging Date
    Pick/pack time
    Transportation PLanning date
    Loading date
    Goods issue date
    Transit Date
    Delivery Date
    Can some one please give me an example and explain wht these dates are
    for eg customer needs delivery date on  11/20/2008
    how would the system cacluate whether it can meet the delivery date using backward scheduling
    and if it doesnt meet how does the system do the forward scheduling
    also i am not clear with the following dates
    material avaialibilty date
    material staging date
    transportation date
    can some one please explain me all this in detail
    Thanks

    Hi,
    Basically this is the CRSD(Customer requested ship date logic)logic in which system calculates the ship date depends upon the material availability. If material is available system calculates ship date on the basis of master data maintained in customisation.Master data is maintained in the  following link.
    If material is not available then system takes into consideration vendor delivery date & then calculate customer ship date.
    Please go through the link in SPRO
    LE-Shipping -Basic shipping functions-Scheduling -Delivery scheduling & Transportation scheduling-Maintain duration.
    In customisation following data is maintained
    Material Availabilty Date
    Material Staging Date
    Pick/pack time
    Transportation PLanning date
    Loading date
    Goods issue date
    Transit Date
    Delivery Date
    Hope you got the idea of CRSD calculation
    Regards,
    Prashant.

  • I want to use system and job variables to make the information dynamic in the Email Subject Line

    Someone could mention the subject line character limitation needs to be expanded. 50 chars is not much to work with! 
    Is it possible to make SUBJECT Line to make , use system and job variables to make the information dynamic , Right now there is a limit for Characters in the Subject line ... is it possible to expand ???  

    I've encountered the same issue and worked around it by using generic variables that would always be the same for a certain email alert. eg =  "System XYZ -source file delay for :"
    So a sample subject would then be: 
    Where ENV = DEV/UAT etc.
    This functionality allows you to use generic alert templates for all filewait jobs, and just filling in the variables.
    A slight problem is that although this works very well, the use of group variables in email / alert actions is (/ wasn't) officially supported by Cisco when I last ran it past then. Cisco, any update in this?

  • Can I pass parameters from a dashboard via a dashboard prompt and presentation variable to publisher report based on a data model with select statements in OBIEE 11g ?

    I have a publisher 11g (v 11.1.1.7)  report with a single parameter. The report is based on a data model not a subject area.  I created a dashboard put a dashboard prompt and link to the report in separate section on the same page.  The dashboard prompt sets a presentation variable named the same as the parameter in the report. 
    The problem was when I created the dashboard prompt, it forced me to select a subject area which I did (though did not want to) and then I created both a column and variable prompts. But clicking on the
    report link completely ignored the value that I thought would be passed in the presentation variable to the report.
    Side note :  My report uses a pdf template for its layout where I have mapped the columns names from my data model to the form fields on the pdf form.  I noticed that if I create a publisher report based on a subject area, then I do not have the choice to choose a PDF as a template type for my layout.  (I only see BI Publisher Template as a choice). 
    I see some documentation online that suggest it could be done in 10g.
    Thanks
    M. Jamal

    Ok,
    I just tried that and it still doesn't pass anything to the prompt.
    I changed the prompt to an edit field and I made the following weblink but when i click the link from an account it doesn't put anything in the prompt and all data for all accounts is shown.
    This is the URL maybe I messed something up...
    https://secure-ausomx###.crmondemand.com/OnDemand/user/Dashboard?OMTHD=ShowDashboard&OMTGT=ReportIFrame&SelDashboardFrm.Dashboard Type=%2fshared%2fCompany_########_Shared_Folder%2f_portal%2f360+Report&Option=rfd&Action=Navigate&P0=1&P1=eq&P2=Account."Account Name"&P3=%%%Name%%%
    thanks

  • Server and Presentation Variables and Displaying in Dashboard Report

    Hello I am running into dead ends trying to get what seems a simple request implemented. The user would like to be prompted for a Date range and have the dates they select displayed in the Title of the report, they also would like the default data set returned be the prior month (so not all data is returned when they initially run the Dashboard)
    I have a Dashboard prompt where the user is prompted for a Date Range (Date column). My first issue was being able to display the Date range in the title. I used the below post from Venkash
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/
    I set the Case statements in the Dashboard prompt to equal then passed them to a Presentation variable. I then used these to be displayed in the Title of my Answers report.
    The issue now is automating prior month, I was informed I would have to set up a Repository Variables to initialize two columns - one bringing in Prior Month First Day and one bringing in Prior Month Last Day. I then set these as the defaults in the Dashboard Prompt.
    This works, however, my problem now is when the values are displayed in the report initially, they have the value of TimeStamp '01-01-2008 00:00:00'. When I put in values in the Dashboard Prompt and hit go the values are replaced correctly with whatever I put in - 1/1/2008.
    I assume the TimeStamp shows because of the initialization I am doing in the repository, I don't see any way of changing this so it reflects just the date, I am using the sysdate in the formula on the repository - I tried converting to_char first setting the format then converting back to Date. But still no luck.
    Has anyone else encountered this? Or am I even going about it the wrong way? Sorry for the long post, I look forward to any input, thanks!!!

    No it errors out when I try to Cast the server variable as a Date in the Dashboard Prompt interface.
    The variable I created in the repository (Server/Dynamic) has the formula:
    SELECT Add_Months(TO_DATE((to_char(sysdate,'mm')) || '/' || '01/' || to_char(sysdate,'YYYY'),'MM/DD/YYYY'),-5) from dual
    This is set up with an Initialization block that when I first run the report it displays in the title
    TIMESTAMP '2007-10-01 00:00:00'
    This will display no matter what I change the Initialization block to (01, ab, etc) so I guess it is something from the formula.
    Now when a user does enter a value into the prompt box and hits GO the title changes to reflect a date and looks great (10/1/2007), but I guess this is because it is now passing the database column value to this presentation variable.
    I assume this all revolves around the formula I am creating in the repository to return a default of 10/1/2007 so it can be displayed in the report header like that and not with the TimeStamp format above.
    I appreciate all your input, thanks again!

  • Sharing a date-prompted report between dashboards and ibots

    I have a report that has a single filter which is an "is prompted" date filter. I use it in conjunction with a calendar dashboard prompt when displaying the reports on a dashboard, and the dashboard prompt has a default value that references a repository variable called "yesterday", which is a datetime datatype. Well, I want to schedule this report to be executed and emailed by an ibot, and the ibot execution of the report should always be for "yesterday". Furthermore, whatever solution I come up with to accomplish this, it must be able to be reapplied to report after report after report by much less technical BI end users than myself. So I'm thinking that if I can create a saved filter, no matter how complex to create, that can be easily added to all such reports by the end users, that would seem to be ideal.
    i've tried to exhaustively go down a road of effecting a logical NVL() in an "Advanced SQL Filter" of the report using syntax along the lines of this, but I can't quite get it working. This is the closest I came to getting it to work:
    "Dates and Times"."Transaction Date" = @{VALUEOF("TransactionDate")}{VALUEOF("yesterday")}
    In the above example, "TransactionDate" is a presentation variable set by the dashboard prompt, and "Dates and Times"."Transaction Date" is a DATE datatype in the repository. Anyway, the above generates no error in either the dashboard with a prompt, nor in the "Results" tab of the Answers report-writing webpage (which I'd imagine simulates an iBot since the dashboard prompt is missing). However in both cases, "yesterday" is unconditionally used, and the "TransactionDate" presentation variable is ignored. In other words, everything works fine, except that when I select different values from the dashboard prompt, yesterday's data is still displayed. Argh!
    I've seen a lot of threads & blogs online that seem close to this problem, but no cigar in the long run. any and all suggestions are so welcome. I'm ready to tear my hair out... :)
    -Jim

    Okay, let's see if I understand this correctly. You want to use a report in an iBot and for this you want the Transaction Date to always be for "yesterday." You also want this report in a dashboard and you want the default to be "yesterday" but you want the users to be able to override this by selecting another date from the dashboard prompt. If yes, then proceed; else explain again.
    First, you need to create a repository variable (not a presentation variable!) in the rpd called "yesterday."
    In the dashboard prompt, for the Default Value, click on "Server Variable," click on the ellipsis and type "yesterday." This will default the dashboard prompt to "yesterday." Use the "drop down" type and save this to the presentation variable pvTransDate.
    You will need to build two reports, one for your iBot and one for your dashboard.
    For the iBot report, click on the Transaction Date column filter button and, after converting the filter to SQL, type this:
    "Dates and Times"."Transaction Date" = TIMESTAMPADD(SQL_TSI_DAY,-1, SYSTDATE).
    Schedule your iBot and you report will always be for "yesterday."
    For the dashboard report, make a copy of the report above. For this report, you will need to add the PV piece and delete the TIMESTAMPADD filter.
    Click on the Transaction Date column filter button, click on Add>Variable>Presentation, and type pvTransDate.
    When the report is viewed in the dashboard, the report will initially be filtered by the "yesterday" repository variable. When the user selects a value from the dashboard prompt, it will filter the report for that.

  • Performance issue using webelements and crystal

    We have 2 reports named, u201CDAMAGE_REPORTSu201D AND u201CTDI_CHARTu201D
    DAMAGE_REPORTS
    There are 13 dynamic or static Prompts created using Webelements .After clicking on submit button(using
    webelement)  by selecting the prompt values, TDI_CHART report will get opened below the u201CDAMAGE_REPORTSu201D report.
    TDI_CHART
    TDI_CHART created using free-hand SQL which contains 2 commands
            1. Command-SQL is created based on two categories.
                  Trend -Trend By Month ,Trend By Quarter,Trend By Week
                   Non-Trend- Current Month ,Current Year to Date,Last Year to Date,Current Quarter,Last
                                 Quarter,Current Week,Last Week,Last Month,Last Year Total
                 Charts,Cross-tabs and table information is coming from this Query
           2.Image count-contains number of images information based on the prompt selection and it acts as a 
                  URL(opendocument) in the report to open TDI_THUMBNAIL report to display the thumbnail images.
    Report information
    TDI_CHART Report contains 8 charts,4 cross-tabs, summary information showing in table format(Detail
           section) and2 open document links(1.For image count 2.Export to excel(which shows the detail information
            of summary table)
    Description
    If the selection is Non-Trend Value from the Time period parameter , corresponding Chart will be shown along   with table information.(Table information is only required for Non-Trend Values).
    If the Selection is Trend Value from the Time period parameter,the corresponding cross tab and chart will be shown and others will get suppressed.
    Problem Area
    After the prompt selection from u201CDamage_Reportsu201D, TDI_CHART report is taking around 1min 30 sec to show the chart and table or cross-tab.
    In Database when we execute the above queries, it comes in 12 secs but whereas in reports it takes 1min 30 sec,can you guide us some steps to bring down this time?

    hello Mufiza,
    copy the url created at the step "After the prompt selection from u201CDamage_Reports".
    paste this url into a new browser window and press enter.
    what is the time to return this report?...this time should also be 1.5 minutes.
    it sounds like you are using 2 commands in the same report. this will often cause performance issues, just like linking two stored procedures together or linking two disparate datasources together.
    this would not be an issue related to webelements but related to the design of your target report.
    jw

  • 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

  • GoURL and Presentation Variable

    Experts,
    I have the following requirement.
    I have a dashboard with two pages P1 & P2.
    P1 has a page prompt with presentation variable set to TEST.
    P2 has a request with a column which has a drilldown. On clicking the drilldown, I want to go to P1.
    So far so good.
    The problem is P1 has many requests on different dimension levels.
    So I just cannot use GOURL function with Table.Column eq @ since that Table.Column is Prompted would not work on different requests as they do not have that column at the same level which i drilled down from.
    So, I thought if I can populate the TEST variable by using the GOURL and then use individual request's Table.Column=TEST.
    So, does anybody have any idea if we can set the PV through the GO URL or say javascript..or guys do u have any other idea to achieve this requirement..
    thx,
    parag

    Hi.
    As I understood you need to jump from the report on the P2 to page P1 and call all reports in the P1 with parsed value from the P2 report.
    You can put a new prompt in P1 on the top, just put 1 in edit column and set the presentation variable to pv_var1.
    Now, put this prompt in P1 in the separate section and hide this section (with guided navigation) or you can use existing field in the first prompt from P1 to populate value from the P2 report to presentation variable in the P1 prompt.
    The syntax is like this:
    '<--a href=http://localhost:9704/analytics/saw.dll?Dashboard&PortalPath=/shared/Folder/_portal/Folder/&Page=Yourpage1&Action=Navigate&col1=1&val1='||'@{pv_var2}'||'>Go to a page one P1<--/a>'
    Remove --.
    Where pv_var2 is pres. variable thet you set in P2, or you can use (parse) current row value from the P2 report instead pv_var2.
    When you parse pv_var2 to prompt 1 in the P1 pv_var1 is populated and you can use it in the P1 reports.
    Just put in every report on P1 is equal to pv_var1, for example:
    Employee.Customer Number='@{pv_var1}'
    Hope this helps.
    Regards
    Goran
    http://108obiee.blogspot.com

  • Using multiple value presentation variable in a formula

    I am using 11.1.1.5 version of OBIEE. I have a dashboard prompt that contains a value for a list of departments. I want the user to select multiple values. I am pushing these values into a presentation variable called deptname. I know would the multiple values in a formula. I want to do a filter using a statement like this. I don't get an error. It works for one value but not for many. I have tried to use it with an in clause but can't seem to get that to work either. Formula is below. I have also been playing around with quotes since these are strings. Any help is appreciated. I only want the value in the formula filtered not the whole report which is why I am doing it this way. The below works for one value. Returns blank for more than one value.
    FILTER( "Fact Class Enrollment"."Units Taken") USING "Academic Organization"."Academic Organization Level 5 Desc" = '@{deptname}{Sociology}' )

    Michael Nichols wrote:
    I am using 11.1.1.5 version of OBIEE. I have a dashboard prompt that contains a value for a list of departments. I want the user to select multiple values. I am pushing these values into a presentation variable called deptname. I know would the multiple values in a formula. I want to do a filter using a statement like this. I don't get an error. It works for one value but not for many. I have tried to use it with an in clause but can't seem to get that to work either. Formula is below. I have also been playing around with quotes since these are strings. Any help is appreciated. I only want the value in the formula filtered not the whole report which is why I am doing it this way. The below works for one value. Returns blank for more than one value.
    FILTER( "Fact Class Enrollment"."Units Taken") USING "Academic Organization"."Academic Organization Level 5 Desc" = '@{deptname}{Sociology}' )I don't have 11g so this is a shot in the dark. Try something like this:
    FILTER( "Fact Class Enrollment"."Units Taken") USING "Academic Organization"."Academic Organization Level 5 Desc" IN ('@{deptname}{Sociology}'))

  • Date prompt issue in obiee 10g

    Hi Experts,
    Am facing the date prompt error, but the type is mentioned as date, after this also am getting same problem
    plz help
    Thanks
    Vijay

    Hi,
    It will be useful if you specify what error you are getting and what you are trying to do.
    Regards
    MuRam

  • Uk date format issue with ASP and Access Database

    I have an Asp form which updates records in an Access
    database. Problem is
    that the date format in the database record is dd/mm/yyyy
    (UK), when
    the record is displayed on the form it is mm/dd/yyyy(US)
    which after I
    update the record in the database the date has changed to the
    new format.
    I have tried everything I can to change the format but to no
    avail...anyone any ideas how I can resolve this issue?
    Thanks
    Steve

    stevo.s wrote:
    > Hi
    >
    > I have tried changing the format on the date field on
    the server behaviours
    > panelto ddmmyyy. Also have tried to set the form field
    format to ddmmyy. I have
    > also tried to use a function I got from a posting
    somehwere on the net to no
    > avail. <%function ddmmyyyy(varDate)
    > ddmmyyyy = Day(DateValue(varDate)) & "/" &
    Month(DateValue(varDate))
    > & "/" & Year(DateValue(varDate))
    > end function
    >
    > I believe that this is a recognised issue with
    Dreamweaver and Access but
    > can't seem to grasp the work around! Problem being I am
    teaching myself through
    > books and internet articles and can be weeks at a time
    without being able to
    > look at the issue..each time I come back to it it is
    like starting all over
    > again! I was hoping that somewhere out there there is a
    simple solution the
    > issue perhaps a date picker with the built in
    functionality to address the
    > issue...I am keen to understand how to deal with the
    issue rather than just
    > change my database date field to fudge the problem as I
    am in the UK and when I
    > eventually start to use the application I would like
    there to be some
    > consistency with dates and that users are familiar with
    the format.
    >
    > Any help gratefully received!
    Its not Dreamweaver, or Access, its your servers locale, its
    set to US
    format, not the UK.
    On your page at the top use:
    <% Session.LCID = 2057 %>
    This will force the page into using UK formatted dates. Use
    it on any
    page that needs to format the page correctly.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

Maybe you are looking for

  • Trading goods Purchase

    Dear SAP Gurus, For trading material tax procedure needs to be creater for no exicisable. or any option for show trading material is having nill tax. but basically we are declaring material as a excisable. Vinod

  • Is thre any view to check the date & time of switch ovr frm prim to standby

    Hi All, Is there any view to check the date and time of switch over from primary to standby. Thanks,

  • Reterive data

    reset company code level data by T-code OBR1. I want all data to be retrieve back to respective tables please let me know

  • Max. data volume with JAXB

    Hi, my question is about memory consumption using JAXB. I�ve to import some xml-files daily into a RDBMS using a JDBC connection. The given XML-files are generated from flat-files with up to 1.000.000 lines, so the resulting XML-structure is not much

  • Disable clearing of /tmp on boot - where is the command in rc.sysinit

    Hi there, I want to disable the clearing of the /tmp folder on boot, but I can't seem to find the appropriate line in etc/rc.sysinit. Apparently this should be the line /bin/mountpoint -q /tmp || /bin/rm -rf /tmp/* /tmp/.* &>/dev/null but my rc.sysin