Prompting on Results Column

Hiya,
I have a report which is based on results column. Within in this report I have used one column as prompted. However, it appears prompted does not work as my report returns everything and not what has been prompted.
Is it something I have done wrong or is it simply that you cannot prompt on results column?
Thanks

Well, yeah, it's faster to use the number so you avoid the fraction of a microsecond it takes to look up the name in a hashmap or whatever the driver uses. But to use that as a justification for using the number and not the name would be totally out of proportion.

Similar Messages

  • Overall Result column disapears when dragging in free characteristic

    Hello All,
    I have a headcount report which has % colleague key figure.  At the top of the report there is an 'Overall result'.  The issue I am having is when someone drags in a free characteristic the 'Overal result' column disapears and instead and percent calculations are being calculated by the value in the top column instead of by the overall result.
    Any ideas on how to resolve this?
    Thanks,
    Nick.

    Hi,
    I'm not selecting the node of the hierarchy.In selection criteria I select the entire hierarchy .
    Thanks & Regards
    Anita

  • How to create 'NOT in between' dashboard prompt on a column

    Hello Guys,
    I have a simple request where the dashboard prompt has to send in data for 'NOT in between'. OBIEE does not give this option by default..
    Any one who tried this .. can you please help with some pointers on this.
    Column1 less than 100 or greater than 2000 --> This condition has to be sent from the dashboard. So my option in SQL is to use NOT in between 100 and 2000.
    Thanks in advance
    Kris

    Hi kris,
    in the prompts you will have not between condition check out....if not write a SQL like this for the prompt
    SELECT FROM table_name WHERE column_name not between 100 and 2000*
    (OR)
    SELECT FROM table_name WHERE column_name >= 100 AND column_name<= 2000*
    you want values in that range then the SQL should be
    SELECT FROM table_name WHERE column_name between 100 and 2000*
    check this article
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables
    UPDATED POST
    in place of constant values play with your session variables or Presentation variables by writing this above SQL according to your requirment and you would get your solution.Give a try then comment is it working or not.
    Hope answers your question.
    Cheers,
    KK
    Edited by: Kranthi on Jan 24, 2011 10:43 PM

  • Horizontal and Vertical Results Columns

    Hi Experts,
    Is it possible to set the horizontal results columns as first value/last value/count and the vertical results as summation? How can I do that in my query? Any help is greatly appreciated. Thanks.

    Hi,
      Below are the result options available. Beyond that I bellieve its not possible in a simple query.
    ·        Results position
    This is where you determine where the result is displayed.
    -         Bottom (for rows) right (for columns) (=default setting)
    -         Bottom (for rows) left (for columns)
    -         Top (for rows) right (for columns)
    -         Top (for rows) left (for columns)
    Hope this helps you.........

  • Calculation based on two result columns in combined report

    Hi all - I have a combined analysis and I need to add a result column based on two of my result columns. The calculation involves one column from my first report and one column from my second report.
    The first report has # of opportunities and my second report has a number of booked opportunities. I have to have two separate reports because these two columns need to be filtered on different dates. In my result column, I want to add a column that gives me close % which is # of booked opps/# of opps. I am using the SAW references but it is not working right. I have tried the following calculations:
    (SUM(SAW_9 BY SAW_1) / SUM(SAW_7 BY SAW_1))*100 This gives me 100% in any row that is 1 opp to 1 booked opp. But gives me 0 in all the other fields even if it is 2 opps to 1 booked opp.
    (MAX(SAW_9 BY SAW_1) / MAX(SAW_7 BY SAW_1))*100 This shows 100% for every row that has a number in the opp and booked opp columns. Even shows 100% if it is 2 opps to 1 booked opp which should be 50%.
    Any ideas on what formula I need to use to get the right calculation?
    Thanks!
    Lacey

    Lacey,
    (SUM(SAW_9 BY SAW_1) / SUM(SAW_7 BY SAW_1))*100 is the correct formula so the only thing I can think of is do you have the correct columns selected?
    SAW_9 is column 10 and SAW_1 is column 2?
    and I think the aggregation rule needs to be sum as well.
    Good Luck
    Alex
    PS thanks to Mike Lairson for putting this solution in his book as it got me working.

  • OBIEE UI Interface is missing prompt functionality and Column Selector

    Hi,
    OBIEE UI Interface is missing prompt functionality and Column Selector in Answers when creating a report. This problem occurs on all the reports. Also the problem occurs in firefox too. Could you please suggest me any suggestion to overcome this issue.
    Thanks and Regards

    May sound stupid, but do you have the Privileges to add these things to a report? These features can be turned on/off from the Privilege Administration Screen, for a group or user. Have a look.
    Cheers,
    A.

  • Query block has incorrect number of result columns

    can anyone edit my query to eliminate below error ??
    SELECT FLROOPENHEAD.RONBR RepairOrder,FLROOPENHEAD.DATEOPENED DateOpened,NULL DateClosed,
    (SELECT FLREPAIRSTAT.DESCRIPTION  FROM FLREPAIRSTAT
    WHERE FLREPAIRSTAT.REPAIRSTATID = FLROOPENHEAD.REPAIRSTATID) RepairOrderStatus,
      (SELECT flrt.DESCRIPTION FROM FLREPAIRTYPE flrt
      WHERE flrt.REPAIRTYPEID = FLROOPENHEAD.REPAIRTYPEID) RepairType,  FLROOPENHEAD.REPAIRCENTER  RepairCenter,
    FLROOPENHEAD.FLVEHICLEID , FLROOPENHEAD.FLATTACHID,'O'
    FROM FLROOPENHEAD   WHERE FLROOPENHEAD.LDEVNBR =2334
    AND ((extract(DAY FROM SYSTIMESTAMP - TIMEOPENED)*24)+(extract(HOUR FROM SYSTIMESTAMP - TIMEOPENED)) <= 72)
    UNION
    SELECT FLROHISTHEAD.RONBR RepairOrder,FLROHISTHEAD.DATEOPENED DateOpened, null, FLROHISTHEAD.DATECLOSED DateClosed,
    (SELECT FLREPAIRSTAT.DESCRIPTION  FROM FLREPAIRSTAT
    WHERE FLREPAIRSTAT.REPAIRSTATID =FLROHISTHEAD.REPAIRSTATID) RepairOrderStatus,
    (SELECT flrt.DESCRIPTION FROM FLREPAIRTYPE flrt
    WHERE flrt.REPAIRTYPEID = FLROHISTHEAD.REPAIRTYPEID) RepairType, FLROHISTHEAD.REPAIRCENTER  RepairCenter
    from FLROHISTHEAD WHERE FLROHISTHEAD.LDEVNBR =2334
    AND ((extract(DAY FROM SYSTIMESTAMP - FLROHISTHEAD.TIMECLOSED)*24) + (extract(HOUR FROM SYSTIMESTAMP - FLROHISTHEAD.TIMECLOSED)) <= 72)
    ORDER BY DateOpened, RepairOrder
    i think error was at second Where condition.
    Error at Command Line:1 Column:0
    Error report:
    SQL Error: ORA-01789: query block has incorrect number of result columns
    01789. 00000 -  "query block has incorrect number of result columns"
    *Cause:   
    *Action:

    Hi,
    On comparison with 1st query and 2nd query,it can be easily noticed that ,1st query is returning 4 columns and 2nd query returns 5 columns in select clause.
    In order to work union ,both of your queries should select equal no of columns.
    Hence replace your query
    Original query(1st ) :
    SELECT FLROOPENHEAD.RONBR RepairOrder,FLROOPENHEAD.DATEOPENED DateOpened,NULL DateClosed,
    (SELECT FLREPAIRSTAT.DESCRIPTION  FROM FLREPAIRSTAT
    WHERE FLREPAIRSTAT.REPAIRSTATID = FLROOPENHEAD.REPAIRSTATID) RepairOrderStatus,
    ....Relplace with :
    SELECT FLROOPENHEAD.RONBR RepairOrder,FLROOPENHEAD.DATEOPENED DateOpened,NULL,/*Here you need missed the comma */
    DateClosed,
    (SELECT FLREPAIRSTAT.DESCRIPTION  FROM FLREPAIRSTAT
    WHERE FLREPAIRSTAT.REPAIRSTATID = FLROOPENHEAD.REPAIRSTATID) RepairOrderStatus,
    ....Hope this helps
    Regards,
    Achyut

  • Prompts for individual columns

    Hi Experts,
    Is there any option for creating prompts for individual columns. means i have to extract data for region,customer,amount1,amount2,amount1+amount2 and % of amount1+amount2.
    But for amount1 i need to extract the data for this financial year and for amount2 is latest month data.
    How to achieve this using prompts.Because client wants those prompts dynamical.
    Please help me.

    Hi,
    If anybody doesn't have a better sollution... let's trick BI...
    to have in one report one mesure that summerize for an entire year, and one masure that is for only one month and we want to filter on that particular month,
    we need to set on measure 1 that it is at year level (so it will always summerize for entire year).
    Now our problem that year is not YEAR(some_date) so for jan 2010 to dec 2010 to give us 2010.
    We want to have from apr 2009 to mar 2010 to be 2009
    so we trick the year map to be
    finanial_year = case when month(some_date) < 4 then year(some_date) - 1 else year(some_date) end
    so now in my measure if I set at levels to financial_year it will summerize from apr to march...
    Hope It helpes
    Regards
    Nicolae

  • Which field denotes result column of Qe01 tcode  in below bapi

    Bapi Name:  BAPI_INSPOPER_RECORDRESULTS
    Hi can anyone help me finding out the field which actually denotes the result column (Summarized Results or Single Results )
    from QE01 TCODE in BAPI: BAPI_INSPOPER_RECORDRESULTS .

    Use SINGLE_RESULTS to write the result value
    Refer
    http://wiki.sdn.sap.com/wiki/display/Snippets/Sample%20Code%20BAPI_INSPOPER_RECORDRESULTS?bc=true
    Also
    Example in ;  BAPI_INSPOPER_RECORDRESULTS, Record Insp Lot Results

  • Error while passing prompt value in Column Formula

    Hi All,
    I have created a dashboard and added a dashboard prompt on that with a presentation variable named "promptdyn" that is basically showing bank names.
    Now i want to calculate the market value based on this prompt selection, so i edited the column formula as
    "WM FACT Sec"."MARKET VALUE" * EVALUATE('getBankBaseCurrencyValue(%2)' As Double,@{promptdyn},"Industry Type".INSTRUMENT_CCY)
    But it is throwing this error:
    \nQSError: 10058] A general error has occurred.
    \nQSError: 22051] The argument number 1 is not referenced in this evaluate expression: getBankBaseCurrencyValue(%2). (HY000)
    SQL Issued: SELECT "Industry Type".INDUSTRY_NAME, "Industry Type".INDUSTRY_TYPE, "WM FACT Sec"."MARKET VALUE" * EVALUATE('getBankBaseCurrencyValue(%2)' As Double,0,"Industry Type".INSTRUMENT_CCY) FROM WMAdHocReportingBMMSec
    I don't know what is wrong here.Here i tried to pass the value of the prompt to the function.
    Basically I have created a function in the database with two parameter as "bank name " and "Currency" and calling it with the help of evaluate function.
    How could we store the prompt value and pass it to some other function?
    Pls help me as it is urgent for me to solve.
    Thanks

    He Solved.
    Just i missed out to write %1,%2 in the evaluate function.
    But one thing i need to know that how can we store the value that is selected in a prompt say in dashboard prompt so that it can be used in query. Because i need to select a value first from the prompt and based on that i need to manipulate the values of the other request of the dashboard.
    Please Reply.
    Thanks

  • How to pass prompt value to columns with formula?

    Hello guys
    I have a situation:
    I have a report with 1 column name 'product' and in this column it has a case statement like 'case when item is ('a','b','c','d') then 'Men' else 'women' end'
    Then I have created a dashboard prompt of the exact same column, and I defined the same case statement in the prompt's column formula as the same.. Then I tested the prompt and it is returning only 2 values 'men', 'women'..
    However, when putting the prompt and report on the same dashboard, the report is not accepting the prompt values..
    Then I set the presentation variable on the prompt and call it 'Product', then in the report I created a filter on 'product' column as equal to presentation variable 'product'--- I tried with and without single quotes.. So the filter itself looks like : case when ...... is equal to / is in @{product}
    However, when I then return back to the dashboard, I am getting the error:
    State: HY000. Code: 388918336. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27005] Unresolved column: "Product". (HY000)
    Could anyone help?
    Thanks

    Hola
    is possible that are you using a BINS agrupation into the Column Formula?
    if you form a CASE statement using a Bins agrupation, in the column Formula, this must be disabled to match statements between columns and DB Prompt
    if you are using a BINS agrupation to form the CASE statement, you have to delete the bins agrupation in the Column but keep the CASE statement
    Regards

  • Insert prompt value as column in report...

    Hello,
    We use reports to populate the recipient list of our campaigns (the segmentation wizard does not meet our needs). The source code assigned to each campaign is as follow, 'YYYYQX', with YYYY being the year of the campaign and X being the quarter of the campaign. During the creation of the report, the year of the campaign is specified by the user through a prompt. The same applies to the quarter. I am trying to build the report in such a way that the data can be downloaded as a .csv file and reimported directly into Siebel, without manual editing, to populate the recipient list for the campaign. This means that I would need to extract values provided by the user through the prompt to automatically populate the source code column in my report. For instance, if the user picked year 2008 and quarter 3 as prompt values, the source code column should be "2008Q3" for each record included in the report.
    Any thoughts?
    Thanks in advance,
    JP

    Thom,
    Thanks for the quick answer! This helps me with the formatting part of the problem. The part which still remains to be answered is how to obtain the value specified by the user as a prompt. I use a prompt with a "less than" condition on the field which records when our contacts gave their consent to be entered into our system (we refer to it as consent date). I also use a prompt to filter contacts based on the quarter of the consent date.
    For illustration purposes, if the user runs the report for the 2008 Q1 campaign (i.e. prompt for year set to 2008, and prompt for quarter set to 1), the report will include all contacts who were entered in the system during Q1 of year 2008, 2007, 2006, 2005 and so on. In this specific instance, I would like to see "2008Q1" as a constant column labeled "source code" since it will be the corresponding source code for the campaign in which we will later on import the output of the report to create the recipient list. Right now, the only way I can think of getting the information to populate the "source code" column is to obtain data directly from the prompt, if at all possible. If not, any other way to get there would be great.
    I hope this makes sense!
    Thanks,
    JP

  • Passing prompt value to column header

    Hi experts
    I'd like to change the column header dynamically.
    the report is using presentation variable so it's displayed after the user had selected a value in the dashboard prompt and clicked on go.
    I'd like to have in the column header the value that the user had selected in the dashboard prompt.
    Is there anyway to do that??
    Regards

    Hi,
    Yes. you can do that by creating presentation variable.
    What you have to do is , create the presentation variable like LOCATION_NBR in the prompt, like this you can create as many as you want to display it in the header.
    The next step is to display the value the user selects in the prompt that should display in the header, for that , you can create narative and like the following things and achieve it.
    <table>
    <tr>
    <td bgcolot ="#00080" width="1500" height="25" align="center">
    The location No is @{LOCATION_NBR}
    </td>
    </tr>
    </table>
    Since we define the presentation variable in Prompt and use it narative view we able to display the header based on the customer choose it from prompt
    I hope the above explanation will resolve your requirement
    Regards
    Raj

  • Converting result column elements to attributes in xml in PL/SQL

    I need to create a stored proc that returns an xml string that has the columns represented as attributes rather than elements. I don't want the result in this format:
    <ROW>
    <my_id>561</my_id>
    <my_desc>Something</my_desc>
    </ROW>
    <ROW>
    <my_id>250</my_id>
    <my_desc>Something else</my_desc>
    </ROW>
    But need to have it in this format:
    <ROW my_id = "561" my_desc = "Something"/>
    <ROW my_id = "250" my_desc = "Something else"/>
    I can get a similar result to the above by typing in a "@" prefixed alias for each column in the select list using:
    select dbms_xmlgen.getxml('select my_id as "@my_id", my_desc as "@my_desc" from My_Table') my_xml from dual
    Is there any way to set some property on dbms_xmlgen that would default to this format of mapping columns to attributes in the result automatically? So, without having to add the @ alias.
    If not, would the preferred method be the use of the xmlattributes function like this:
    select xmlelement("ROW", xmlattributes( menu_id, menu_name)) my_xml from My_Table
    Thanks,
    Steve

    Hi,
    HTP HTF UTL_FILE OWA OWA_UTIL UTL_HTTP
    are packages of the Oracle Application server.
    In 8.1.7 they are included in the DB.
    In the releases before you need the OAS 4.0.8
    to get the packages.
    HTH
    Detlev

  • Query Result Column Order

    I'm working with an embedded db query that specifies columns
    by name in the result set, i.e., no *. However, the order of the
    columns in the result set seem to be quite random - or at least
    dependent on which column is being searched. I'm showing the
    results via "resultsGrid." How do I enforce a consistent column
    order in query results?
    Thanks,
    Al

    What you describe boils down to a reinvention of materialized views.
    Did you consider using them?
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for