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!

Similar Messages

  • 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

  • Numeric and Presentation variable

    Experts,
    Do number columns work with Presentation Variables?
    I want to filter my report based on the Age..I am using a PV for that.
    parag

    Yes.
    In your case you can set number or character type as input to a presentation variable and reference it in the filter.
    If you write manually filter write @{var} or '@{var}', or you can filter with presentation variable in the column properties.
    Regards
    Goran
    http://108obiee.blogspot.com

  • Presentation Variable not working in Dashboard Prompt

    Hey Folks
    I Created a BI Publisher report and i embedded the report on my Dashboard and and i am using the parameter as a presentation variable in my Dashboard prompt and it was working fine suddenly i dont know what happened when i try give different values from my dashboard prompt its not taking the values
    PTCLID is the Parameter i am using in BI Publisher and i am referencing PTCLID as my Presentation Variable in Dashboard Prompt(Dropdown Field)
    I know that BI Server and XMLP Server are not communicating properly , I restarted my services couple of times but no luck, Can you help me out how to debug the issue
    Thanks
    Srix

    Hello Everyone
    I changed the parameter and recreated the presentation variable and its still not working, Can anyone tell me how to debug it we actually have a go live with in a week and this report suddenly stopped working
    Thank you

  • PR and PO should be display in IWBK report for stock item.

    Hi Exterts,
    Our client requirement is to display PR and PO number in IWBK report for stock item as well.
    I know PR and PO can be display in IWBK report for non-stock item but how we can display PR and PO for stock item,as PR is generated through MRP for stock item.
    Please share your ideas on this.
    Regards
    Vishu

    Vishu,
    In typical MRP settings you "procure to stock" not "procure to order".
    This means that there is no direct link between the PM/CS orders and any PR/POs created via MRP.
    Subsequently you will not be able to show this data in IWBK.
    However, we are currently designing a customer-specific report similar to IWBK that also counts the number of open POs for a given material on a PM/CS work order. The user can then navigate to ME2M (PO list) or MD04 (stock requirements list) to get further details.
    PeteA

  • 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

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

  • 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

  • Purpose of Presentation Variable and in what ways it is used?

    Thanks a lot for ur time.

    Presentation Variable (PV) is for the web layer to store a particular value at run time and use it in the calculations. At any point in time,
    10g - variable holds only one values.
    11g - Variable holds an array of variables
    You can use PV in prompts, filters, fx
    http://gerardnico.com/wiki/dat/obiee/presentation_variable_use

  • Presentation Variable not working in Dashboard Prompt Urgent !!!!

    Hey Folks
    I Created a BI Publisher report and i embedded the report on my Dashboard and and i am using the parameter as a presentation variable in my Dashboard prompt and it was working fine suddenly i dont know what happened when i try give different values from my dashboard prompt its not taking the values
    PTCLID is the Parameter i am using in BI Publisher and i am referencing PTCLID as my Presentation Variable in Dashboard Prompt(Dropdown Field)
    I can run the report with different parameters in BI Publisher but when i try to run from Dashboard prompt its not working
    I know that BI Server and XMLP Server are not communicating properly , I restarted my services couple of times but no luck, Can you help me out how to debug the issue
    Thanks
    Srix

    You mentioned that you are able to run this report from BI publisher using parameters. Do these parameters have a List of Values? What is the 'Parameter Type'?
    You can try the following steps:
    Create a copy of the BI publisher report and set the parameter type to text. Ensure that the parameter identifer (name) is exactly the same as the presentation variable.
    Add this new BI Publisher report object to the dashboard and then test with the dashboard prompt.
    Hope this helps.
    Thanks!

  • How the repository variable work on the dashboard report in static text

    I would like to display something like the below on the dashboard prompts in static text.
    The Data extracted as of <repository variable>
    I created a repository variable which extracts the last updated date of the warehouse.
    The static message on the dashboard should show as above where repository variable should be the last updated date from the warehouse.
    I appreciate if anyone can help me do this.
    Thanks in advance.

    1) Put an extra column in your workspace. It doesn't matter what column you choose. Drag this column all the way to the left so it is the first column in your Request.
    2) Click on the fx button and delete the contents.
    3) Click on the "variable" button on the bottom right of the fx window, select "repository variable" and then type the name of the repository variable you created.
    4) Go to the Narrative View.
    5) Type the text, "Data extracted as of" and then type @1.
    6) Change the "Rows to display" (right-side of the Narrative View window) to 1.
    7) Add this view to your Compound Layout.

  • STORAGE OF PDF IN A TABLE, AND ALSO WAY TO DISPLAY THROUGH THE REPORT

    Hello All,
    Kindly help me out if possible,
    I have a table, lets say table1.
    Kindly guide me that if I want to store a PDF under a column of table1 then how can I store it? What the datatype should I use to store this pdf.
    Also Kindly give me the way to display this PDF through Report...
    Thank you...
    Edited by: 974572 on Dec 3, 2012 2:26 AM

    PLEASE DO NOT SHOUT (in the title as well).
    >
    I have a table, lets say table1.
    Kindly guide me that if I want to store a PDF under a column of table1 then how can I store it? What the datatype should I use to store this pdf.
    >
    Store in a BLOB column.
    >
    Also Kindly give me the way to display this PDF through Report...
    >
    See < a href="https://forums.oracle.com/forums/search.jspa?threadID=&q=display+pdf&objID=f137&dateRange=thisyear&userID=&numResults=15">this link and check the solutions given.</a>

  • Danish character and Symbol are not displaying in crystal report 2008

    I am developing a crystal report. The report displays data from database. The data is entered into database from a asp.net web form where a JavaScript Editor is used. Mainly data is saved in Danish character and also there are some emotion symbol. The web page is showing these data reading from database perfectly. But the Crystal Report is missing some Danish character as well as emotion symbol in some cases. The screen print both for web page and crystal report is shown bellow.  The database field DataType is “CLOB” and using Crystal Report 2008.
    Can anyone help me to get rid of this situation.
    Thanks to you all.

    Please have a look at the resolution in this thread:
    CR 2008 - Oracle 11g - CLOB fields are blank when using command
    -Abhilash

  • Is it possible to manipulate and use variables and parametres from a .dll converted progr. (C++) with a labview written progr.

    Hi fellows
    I got a program written in C++ and I want to comunicate with it and use some parametres and variables from it, to handle these with my labview written program.
    I just want to be shure if it is possible??
    Zamzam
    HFZ

    Hi Zamzam,
    You'll find an example at National Instruments\LabVIEW 8.2\examples\dll\data passing\Call Native Code.llb\Call DLL.vi
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Reg: 0COUNTRY and 0REGION are not displaying in the report

    Dear SDNERS,
    I am facing a problem in CRM Report " 0CRM_C04_Q003" I am not able to get the 0COUNTRY & 0REGION data in the reports it is showing # Not Assigned.
    When I check the 0REGION & 0COUNTRY it is having data in it in the info objects.
    I come to know that both the objects are navigational attributes of "0CRM_PROSPE" info object in the report and this info object  does not have any data in it as it is having a referece char of 0BPARTNER.
    0BPARTNER is not showing the data for 0COUNTRY AND 0REGION. pleaes advice how to get this in CRM report.
    Points will be assigned for a quick response.
    Regards,
    Prasad.

    Hi,
    0COUNTRY and 0REGION as you said are Nav Att of 0CRM_PROSPE Master data.
    If Master data object itself is not having data then it would not be possible for you to get data for these objects.
    You can include these two objects in your InfoProvider and add in your Query as normal InfoObjects instead of Nav att.
    Note: The two Infoobjects should be mapped with the appropriate source fields in the transformation and data load should be successful.
    Hope this would resolve your issue.
    Regards,
    Geeta

Maybe you are looking for