Presentation Variables in the report column

Hi Experts,
I have one requirement like when a Dealer log-in in the Monthly report there is one date prompt[format 1995/01] now i have to create one new column that column as to filter the data based on date selected by the Dealer in the prompt
and the filter should be like this
case when
*date={selected date from prompt by the user}*
then
*{monthly sales of that particular Dealer}*
result of this column i have to use in the other column.
how i have to implement this logic can we do this by using presentation variables please let me know the syntax.
Thanks in Advance,

Write the case statement as below.
case when
date=@{Pv_Date}{1995}
then
{monthly sales of that particular Dealer}
Pv_Date is the presentation variable name.
Thanks

Similar Messages

  • 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

  • How can i display the presentation variable in my reports

    Was facing a problem to display the Presentation variable on my report, however i managed to display it on answers, but when i try to display it on my Publisher report it doesnt shows any data.
    I use to Select the Values From my prompt, and it shows the Reflection of Presentation Variable on my Answers Report. but i cannot see the Reflection of data on my Publisher Report Please any One Can help me with this.

    Removing '' does not work it given the following error
    "State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <@>: Syntax error [nQSError: 26012] . (HY000)"
    and by adding space you mean that I use it as '@{ BbranchCode}'?
    What I am doing at the moment is
    1. Write the given query in oracle BI Answers.
    2. Made a dashboard prompt in Answers.
    3. Made a report in dashboard using the Answers report and the dashboard prompt.
    Up till this step it works perfectly fine and the data displayed in manipulated on the basis of the values selected in the prompt.
    4. Now what I want is to display this report in Dashboards using oracle BI publisher. For that I use the template builder provided for microsoft word.
    5. I login to that add-on, open the answers report where I can see the field in the rowset. I select that field and save the template.
    6. I open the oracle BI publisher and make a new reprt with data model of the answer's report and Layout of the one I just created.
    7. I open the dashboard and put in the BI publisher report in the same page in which the asnwers report and the prompt was.
    8. Upon changing the values of the prompt the report in the answers is still getting manipulated but I am not able to see its reflection of the BI publisher report.
    The thing is that I am currently using this presentation variable to manipulate my reports in dashbords using dashboard prompts. The report is built in oracle BI Answers and it is working perfectly fine with it. Now when I use the template builder for Microsoft Word and open the template with the answers's report of this query I see the field in the row set but when I display the template in the dason the bases of this presentation variable the report in the oracle BI Answers is getting updated when I change values but when I use the template builder for microsoft word the the field is being shown in the row set.

  • How to include variable in the text column in report painter?

    Dear Expert,
    Would like to seek for your help to include How to include variable in the text column in report painter?Please advice.
    Thank you.
    Regards,
    Karen
    Edited by: Karen Swee Ping Ho on Jun 17, 2011 2:48 AM

    Hi,
    Thank you for the promt reply.
    1) How I include the variable in the column header to display fiscal year which I have selected from the selection screen?
    which variable should i use?
    2) Where can i find more information about the characteristic and which variable to be use base on the characteristic?
    For example: I would like to display the fiscal year from the selection screen/input screen when execute the report which also will reflected to the element definition and will display the fiscal year also in the column text?
    3) Kindly advise base on question 2, the variable that i use in element definition it will also display  in selection screen?
    4) When execute the report the first selection screen input parameter it obtain from where it is from element definition?
    5) Please advice how to be done when report execute with first screen input selection will also reflect the element definition of column and rom with the selection of the fiscal year?
    Please help.
    many thanks
    Edited by: KH on Jun 18, 2011 7:18 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

  • Passing Presentation variblae to the logical column in the rpd

    Hi,
    Can some one please tell me how to pass presentation variable to RPD logical column
    i am capturing a date from prompt and defining a status column based on the date user selects in the prompt,
    can some please tell me how to achieve this..
    Thanks in advance

    You can pass request variable to RPD.
    Create a session variable called PRESENTATION_VARIABLE. Write some SQL in initialization block like select 'something' from dual.
    Now you can use this session variable in logical column as VALUEOF(NQ_SESSION.PRESENTATION_VARIABLE).
    Now go to dashboard prompt , edit the column using which you wanted to set presentation variable. Select Request Variable in Set a variable dropdown.
    Type the name of the Request variable as PRESENTATION_VARIABLE.
    Now in your dashboard report you can use the logical column which is using this request variable.
    Let me know whether it worked or not.
    Thanks

  • Presentation Variable in the SQL default section in the dashboard prompt

    Hi Gurus,
    I have two prompts and two go buttons. First Go button is used to populate pv_category1 presentation variable.
    category_column --> pv_category1--> 1st Prompt
    Product_Column --> pv_product2 --> 2nd Prompt
    I want to set the default for the 2nd Prompt depending on the 1st Prompt ( Category) chosen by the user.
    In the SQL default --> i have typed in the below Query.
    *Select TableName.Product_Column from Subject_Area where category_column = '@{pv_category1}'*
    The Problem is that i dont get any default value for 2nd Prompt after choosing the First prompt and hitting the GO Button.
    If i hardcode the value in @{pv_category1} ...
    for eg
    Select TableName.Product_Column from Subject_Area where category_column = 'Incidents' i get the corresponding value as default.
    But i want this 2nd prompt (product) to dyamically default depending on the 1st prompt (category) chosen by the user.
    I am using OBIEE 10.1.3.4 and i have googled a lot on this topic...
    can we not use Presentation variable in the SQL default section of the Dashboard Prompt?
    Any help in this regard would be highly appreciated.
    Thanks
    Ashish

    Thanks for the Quick Reply.
    But the functionality that i want to achieve is the default value in the 2nd column (out of many values for 2nd column) based on the 1st column chosen by the USER. for eg we have two columns in our database ie category and Product.. Data goes like this
    category ProductName
    Incidents --- A
    Incidents --- B
    Incidents --- C
    Changes --- D
    Changes --- E
    Projects --- M
    Projects --- N
    Projects --- O
    Projects --- P
    If the User chooses Incidents in the first prompt then the default in the 2nd prompt should be B ( out of A,B,C Values available in the 2nd prompt)....
    Checking the constraint checkbox doesnt solve the default problem...
    Thanks
    Ashish

  • How to display a variable in the report?

    hi all
    i want to use one complex sql statement which will return only one value and i need to display it in report. i'm new to OBIEE. i thought of creating a repository variable to hold that value. but im not sure of how to display the variable in the report.
    Any idea?
    Your help is appreciated

    Hi where do you want to show that value in answers i mean in which part of answers, you want to show that?
    see this
    http://bischool.wordpress.com/2009/05/05/presentation-variable-values-in-report-titles-or-using-presentation-variable-in-dashboard-text-object-and-narrative-view-directly/
    also see this to where and how to use variables in answers
    http://shivabizint.wordpress.com/2008/10/02/oracle-bi-ee-variables-overview/

  • Examples of chart in the report column like monitor activity page

    Hello,
    Can anybody help me how to create a report having chart as one of the column in the report like Administration->Monitory Activity pages.
    I have a report having columns like date, salesman, collection%.
    The collection% must be displayed as bar chart showing % in the report column itself.
    I searched a lot and end up with no examples found for this kind of example.
    Any help will be appreciated.
    Thanks,

    First of all, it appears that there is no "HTML EXPRESSION" or an area to assign a CSS class to a column for interactive reports. I've even tried to use "COMPUTE" on an interactive report to introduce the <DIV> tabs and style, but that doesn't seem to work either. So If you're using an interactive report, it looks like you're out of luck.
    But if you use a standard report, here is a quick example using the standard Demo tables on an interactive report. I'll do my best to describe what I'm doing step by step.
    The query I'm using is a simple list of employees that shows the following columns:
    <ul>
    <li> EMPNO
    <li> ENAME
    <li> JOB
    <li> SAL
    <li> COMM
    <li> COMM / (SAL + COMM) *100 (What percent of total Salary is the employees Commission)
    </ul>
    So here is the SQL statement I'm going to use:
    select empno, ename, job, sal, comm, round(nvl((comm / (sal + comm) *100),0)) Pct_Comm
    from empNow, Create an standard (SQL) report on the page of your choice by selecting the CREATE button at the top of the page editor. Select "REGION ON THIS PAGE" => "REPORT" => "SQL REPORT"
    Enter a the TITLE and TEMPLATE of your choice, then click the NEXT button.
    Copy and paste the select statement above into the page region for the select statement, and press the CREATE REGION button.
    Go ahead and run the report and you will see a whole number for the COMM_PCT.
    Now to turn this into a graph within the column perform the following steps.
    <ol>
    <li>Edit the page and then edit the report by clicking on the "Report" link on the page definition. This will bring up the Report Attributes Page.
    <li>Edit the PCT_COMM column by clicking on the EDIT icon at the beginning of the row.
    <li>Cut and paste the html from my above post into the "HTML EXPRESSION" field.
    <li>Edit the HTML you just pasted to remove any unnecessary spaces in the tags that might cause it to render incorrectly.
    <li>In the HTML EXPRESSION string, replace the #COLLECTION_PCT# string with #PCT_COMM#. (This is a substitution variable that represents the value of that column. We're using that to set the WIDTH attribute of the bar).
    <li>Apply your changes and re-run the report.
    </ol>
    et. Voi la! You have a graph in your report.
    Hope that was clear enough.
    Doug

  • Query Stripping not working properly when using variable in the report

    We have issue with WEBI document that have query stripping enable.
    Once the query stripping enabled there is no data return in the report.
    We have investigate on the problem, the query stripping function are notable to retrieve objects that indirectly used in the report
    as we have
    many variable in the reports.
    Ex.
    Var1 = object1 + object2
    Var2 = Object3 + Object4
    Var3 = Var1 + Var2
    Var4 = Object1 + Object2 + Object3 + Object4
    If we use only Var3 in the report, the object1,2,3,and 4 will not be
    retrieve.
    But if we are using Var4 in the report, the object1,2,3,and 4 will be
    retrieve properly.
    Please let me know is it a by-design behavior, if yes please share points on it

    Hi Amit,
    Thank you for response, however i already had alook on that VIdeo and it tells us about the basic enabling of query stripping.
    But my question is when we have a Variable in a report which is dependent on the other two variables it gives me #error so is it by design or not.
    Regards,
    Abhinav

  • How to Print the Report Column headers on each page of any report

    Can someone offer assistance on how I can go about achieving the ability to show and print the Report Column headers on each page of any report using the Print Attributes of APEX 3.0? These reports will be printed using Excel and Word.
    I read a thread with a similar request but the answer seems vague for my level of understanding.
    I am connected to a print server and using BI Publisher.
    Thanks,
    Ric

    Hello Ric,
    >> These reports will be printed using Excel and Word.
    I'm not sure I understand what you are trying to do. You are using a very powerful tool – BI Publisher – why do you need Excel or Word for printing? Is there a special need only Excel or Word can provide?
    One of the major advantages of using BI Publisher is that it's taking care of all these tedious tasks like reasonable page breaking, headers and footers, and also table headers.
    Regards,
    Arie.

  • How to use customer exit variable in the report

    Dear All,
    i want to use a standard customer exit variable in the report properties.
    In the Bex Query Designer right hand bottom you will find two buttons "Properties" and "Task". Click on task you will get different option. Choose properties from there and then select "variable sequence tab".
    I need to add a standard variable there. How can i achieve it?
    Appreciate your early help.

    You need to add variable to corresponding charctertic then you can get that varaible for sorting the sequence....
    If 0CUST is the varaible then you need to assign it 0CUSTOMER then 0CUST will be available for the sequence.
    Edited by: shanthi bhaskar on Apr 2, 2009 5:41 PM

  • Variable in the report agent.

    Hai All,
       I have used a variable in the report agent to run a query in the background. The variable I used already incrementing dates automatically when the report is executed on the web.  Do I need to make anymore other setting in the report agent for this variable or Is it going to be fine.
    Thanks, Vijay.

    Anil, Ravi,
      Thanks for your advise. When I created the variant in the webtemplate the date range is feb1 to feb28. But the Date range for the query changed to march1 to march1.
      After I scheduled the package, when run rsrt with statistics for FEB I see all 0's in the statistics and for march I see some count in the statistics. Will this be okay? When run using the process chain this will take right dates?.
      In the Agent settings, under filtering I am using 'No Filtering'. If I click on 'explicit thru query rslt then there is variant. Do I need to take this route?
    Thanks for your help in this regard, Vijay.
    null

  • Userexit variables in the report designer

    I want to use a query with userexit variables where 1 variable is derived from another variable in the report designer. This does not seem to work, behavious seems to be as follows:
    1) when variables are derived from other variables they are filled in step 2 of the variable userexit. Variables filled in step 2 have no effect on the query: everything is selected
    2) if the derived variables are mandatory, they even cause a dump saying the variable is empty
    3) if variables are filled in step 1 (thus before the selection screen), they do impact the selection. The problem is that step 1 is too early to have access to the other variables.
    How can I derive variables from other variables when using the report designer?
    Thanks in advance for your answers,
    Best Regards,
    Filip Ledoux

    Hi,
    For example if you want use value from variable ZVAR_02 (manual entry) in variable ZVAR_01 (user exit) you can use similar code:
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
      DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
      CASE I_VNAM.
       WHEN 'ZVAR_01'.
        IF I_STEP = 2.
          READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
               WITH KEY VNAM = 'ZVAR_02'.
          IF SY-SUBRC = 0.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW.
            L_S_RANGE-SIGN     = 'I'.
            L_S_RANGE-OPT      = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDIF.
        ENDIF.
    ENDCASE.
    Variable ZVAR_01 shouldn't be ready to input.
    Krzys

  • Unable to see substituion variable in the reporting studio

    Hi,
    I have added substitution variable to the reporting studio the variable name I gave as var1
    and value as 2009,but I am unable to see the substitution variables in my reporting studio.
    What can be the reason for it?
    Thanks

    Hello,
    you have to quote the value because it doesnt start with a letter.
    Every Value which you had to put in quotes in an Calc Script or Member Formula or so, you have to quote in FR Studio too. Planning accepts the value without quotes, FR Studio doesnt.
    Bye
    Kevin

Maybe you are looking for

  • Sparks when plugging external monitor in

    Slightly worried, just connected my Dell monitor via DVI to my macbook pro and noticed a small spark each time the adapter touched the port. This only happens when the display is powered. Should i be worried, is this normal? thanks.

  • WS Adapter Vs SOAP in PI 7.1

    Hi All, I would like to know the main difference  between WS adapter and SOAP adapter and when to use what adapter? Regards, Praveen Kumar

  • How can I create chapters in iMovie 10?

    How can I create chapters in iMovie 10?

  • FUNCTION KEY Alt+L+G+L+G+

    Hello everyone there, I would like to know what is this FUNCTION KEY Alt+L+G+L+G for? and How and when to use it??? Is it convinient to delete those events in the list? Thanks 

  • DPS Tools for InDesign CS5 / CS5.5

    Hi everyone. Can't find download link of DPS Tools for InDesign CS5 / CS5.5. on Adobe site. We plan to use CS5/CS5.5, cause we use  WoodWing Enterprise in production. Anyone can help us to download latest builds for CS5/CS5.5? Thanks Thanks