Dynamic Change Of Column Name based On The Dashboard Prompt in OBIEE 10g

Hi All,
I have a dashbord prompt called "calendar date". And, my report having some columns called "Product Name", "Code", "Yest Balance", "Today Balance". Now, while displaying the report in the dashboard, instead of "Today's Balance" they want to see the date which we have selected in the promt as a column name (each time we select a date in the promt, that would appear as a field name in stead of "Today's Balance" but values will be same (should show the balance for that date).
Please advice.
Thanks,
BK.

yeah...you are correct....these are workaround ...no out of box solution.
Take the MAR11 target example in this current month is MAR 11 is populated by a session variable which gives you always current month.
Second using union -combined query creating a header from one report and results from other report.
But, coming to your req.......what ever the value selected in the calendar date that should come up in the column heading. so this is not possible with variable because for date of calendar image type you can not set a presentation variable. If not you can use a REQUEST VARIABLE.
You can try 2nd way creating 2 reports one for header other for value.
You can choose based on your flexibility. Instead you are showing the report along with prompt. I would suggest use appropriate name as 'selected date value'.

Similar Messages

  • How to realize this reqirement in the dashboard prompt in OBIEE 10G?

    Hi,
    I have a new query about dashboard prompt in OBIEE 10g..
    All below is needed to Operator in the dashboard prompt.
    We have 4 columns, 4 columns using multi-select type need to constrain together and need to show value which is related with product..
    e.g.
    Now I display "REGION" column using multi-select in Control, and I need to show data which product name is not null. After I add "where product name is not null" in the SQL results in Show, then I cannot use the Constrain box.. and I cannot set any variable if I using multi-select type..
    So anybody have any idea about this?
    Your reply will be highly appreciate..
    Regards,
    Anne

    Hi Anne
    User Input type as " Multi select prompt" keep it with constrain option then apply below query
    apply like this kind of SQL query in Default selection --->SQL result section
    SELECT "MX_PORTFOLIO_STATIC"."MT_BU_Level1" FROM "Position" where "MX_PORTFOLIO_STATIC"."MT_BU_Level1" is not null
    Thanks
    Deva

  • How to change datasource name based on the partition in configplan

    Hi
    Can any one please give me some solutions regarding how to change datasource name based on the partition in
    configplan.
    can't we do this in configuration plan?

    If you want to change template based on parameter. you have to use below syntax
    v_layout boolean
    V_LAYOUT:= FND_SUBMIT.add_layout(template_appl_name => 'SQLAP' -- application short name
    ,template_code => 'HUBAPAPN' -- template name
    ,template_language => 'en'
    ,template_territory => '00'
    ,output_format => 'PDF');
    Above can be used in plsql stored procedure before submitting Concurrent Program (Bi Publisher report) or may be you can try to add this code in Oracle reports after report or before report trigger
    Thanks
    Kamalakar

  • How to get the column names of the table into the Dashboard prompt

    how to get the column names of the table into the Dashboard prompt
    Thanks & Regards
    Kishore P

    Hey john,
    My requirement is as follows
    I have created a Rank for Total sales by Region wise i.e RANK(SUM(Dollars By Region)) in a pivot table.
    My pivot table looks like this
    COLUMN SELECTOR: TOTAL US , REGION , DISTRICT , MARKET
    ---------------------------------------------------- JAN 2009          FEB 2009        MAR 2009
    RANK              REGION                  DOLLARS           DOLLARS        DOLLARS DOLLARS
    1 CENTRAL 10 20 30 40
    2 SOUTHERN 10 30 30 70
    3 EASTERN 20 20 20 60
    4 WESTERN 10 20 30 40
    When i select the District in column selector
    Report has to display rank based on Total Sales by District. i.e
    ------------------------------------------------- JAN 2009         FEB 2009       MAR 2009
    RANK             DISTRICT              DOLLARS           DOLLARS        DOLLARS DOLLARS
    for this i need to change the fx of rank i.e RANK(SUM(Dollars By Region)) to RANK(SUM(Dollars By District)) and fx of Region i.e Markets.Region to Markets.District dynamically.
    so , i need to capture column name of the value selected from the column selector and dynamically i need to update the fx 0f RANK & fx of region.
    do you have any solution for this?
    http://rapidshare.com/files/402337112/Presentation1.jpg.html
    Thanks & Regards
    Edited by: Kishore P on Jun 24, 2010 7:24 PM
    Edited by: Kishore P on Jun 24, 2010 7:28 PM

  • Invalid Column Name message in the subquery

    Hi All, I am receiving the invalid column name message in the subquery. Please help me if there is any work around or change in the query:
    Sample query:
    update table1 set table1.column1 =
    (Select column1 from
    (Select column1 from table2 where
    table1.columnX = table2.columnX
    order by table2.columnM desc,table2.ColumnN desc,
    where rownum =1)
    When i run the above query i am receiving the following error message:
    ORA-00904:invalid column name at table1.columnx.
    This column is already existing in table1 and looks like this table is not recoginzed inside of the subquery.
    I am trying to update table1.column1 using the first value from table2 after ordering by table2.columnM desc, table2.columnN desc. (ColumnM and ColumnN are the Date columns which i need to perform the sorting). I am new to sql/Plsql. Thanks in Advance for help....

    The problem is that you can not refer to columns from the outer table from inside a second subquery inside your subquery. Only one level of subquery can be used to transport the column name,.
    A solution can be to use groups and aggregation functions instead of rownum = 1.
    The following might work.
    untested
    update table1
    set table1.column1 =
      (Select max(column1) keep (dense_rank first over table2.columnM desc,table2.ColumnN desc)
       from table2
       where table1.columnX = table2.columnX
       ) Another way can be to to make a UNCORRELATED subquery first and then filter on that uncorrelated query with the column name from the outer statement.
    This time I use a analytic function.
    untested
    update table1 u
    set u.column1 = (select v1.column1
       from
         (Select t2.column1, t2.columnX, row_number over (partition by t2.column1, t2.columnX order by t2.columnM desc,t2.ColumnN desc) as rn
          from table2
          ) v1
       where v1.columnX = u.columnX
       and v1.rn = 1
    where /* where clause is missing! */

  • Change a column name

    What is the correct syntax to change a column name. say
    ID VARCHAR2(10)
    to
    ID_NO VARCHAR2(10)

    You can alternatively do this:
    Connect as sys user and run the following script:
    SELECT obj# from obj$
    where name = 'Your_Table_Name';
    SELECT col# from col$
    where obj# = obj# from previous query
    and name = 'your_column_name which you want to rename';
    update col$ set name = 'your_new_name'
    where obj# = obj# from the first query
    and col# = col# from previous query;
    Alter system flush shared_pool;
    connect as your user and you will see the change there.
    Hope this helps
    Rajeev

  • Why do I get a class conflict between the Prepare SQL.vi and the Get Column Name.vi with the SQL Toolkit compatibility vis from the Database Connectivity Toolkit?

    I have done extensive programming with the SQL Toolkit with LabVIEW versions through 6.1. My customer now wants to upgrade to Windows 7, so I am trying to upgrade to LabVIEW 2009 (my latest purchased version) using the Database Connectivity Toolkit, and the SQL Toolkit Compatibility vis. Everything seemed to be going okay with the higher level SQL operations, but I ran into trouble with the Get Column Name.vi. 
    The pictures below show the problem. The original SQL Toolkit connected the Prepare SQL.vi with the Get Column Name.vi with a cluster of two references, one for connection, and one for sql. The new compatibility vis have a class conflict in the wire because the Prepare SQL.vi contains a cluster with connection, and command references, but the Get Column Name.vi expects a cluster with connection and recordset references. 
    How do I resolve this conflict?
    Thank You.
    Dan

    I've never worked with the old version of the toolkit, so I don't know how it did things, but looking inside the SQL prep VI, it only generates a command, and the the column name VI wants a recordset. I'm not super familiar with all the internals of ADO, but my understanding is that is standard - you only have the columns after you execute the command and get the recordset back. What you can apparently do here is insert the Execute Prepared SQL VI in the middle and that will return what you need.
    I'm not sure why it worked before. Maybe the execute was hidden inside the prep VI or maybe you can get the column names out of the command object before execution. In general, I would recommend considering switching to the newer VIs.
    Try to take over the world!

  • I want to change my full name deatil in the email account. It is grey ed out.Help Please

    I want to change my full name details in the email account. It is greyed out.Can you help Please.

    Change your name at...
    My Apple ID

  • Fetch the operating unit name based on the country name

    Hi all,
    I want to fetch the operating unit name based on the country name, there is no link between fnd_territories(_tl) and hr_all_organization_unis(_tl) tables.
    Can any one know how to get this thing.
    any help or idea is appreciable.
    Thanks,
    Giri

    Giri,
    I don't think you will find such a link. One country can be used by multiple operating units.
    Hope this helps,
    Sandeep Gandhi

  • Can I change the Caption (name) of the button Go for the dashboard prompt

    Hi,
    Can I change the Caption (name) of the button Go for the dashboard prompt
    I need to change the name of the button to Set Prompt Values.
    i did not see an option to do this
    Thanks

    Hello Yusuf,
    First follow the forum Etiquette, see this http://forums.oracle.com/forums/ann.jspa?annID=939
    You have to close the answered threads...
    And regarding your question
    Go to *{OracleBIDir}:\oraclebi\web\msgdb\l_en\messages*
    Open globalfiltermessages.xml file.
    Find this text
    <WebMessage name="kmsgGFPGo"><TEXT>Go</TEXT></WebMessage>Now edit the Go which is there between the TEXT tags..
    Ex: i am editing Go to Confirm
    <WebMessage name="kmsgGFPGo"><TEXT>Confirm</TEXT></WebMessage>Save this file and just restart your presentation service.
    Check your dashboard prompt now...
    (Editing this post from here)
    As per your requirement edit should be:
    <WebMessage name="kmsgGFPGo"><TEXT>Set Prompt Values</TEXT></WebMessage>Edited by: Kishore Guggilla on Jul 18, 2009 2:45 AM

  • To use two presentation variables based on the period selection in OBIEE

    Dear All,
    I have period prompt in my report, based on the period prompt selection in my report I need to get the start and end dates of the period and apply in the report filter.
    For e.g. Period Name selected in the prompt is "2010 - Q1" (For this Period, Period Start Date = 01/01/2010 and Period End Date is 30/03/2010, which is not going to be displayed in the prompts).
    How can I get the start and end dates of the period into my report filter. I tried using the presentation variable for the period name, but unable to resolve the requirement.
    Your help is highly appreciated.
    Best Regards,
    Rajesh

    Hi Rajesh,
    Create a report A which will give you the period start date and end date and filter it using the period prompt.
    Then filter the main report using the report A start date and end date, using Filter -> Advanced ->Filter based on results of another request .
    Add the report A in separate section on the dashboard along with main report and hide report A section.
    Thanks,
    Vino

  • Unnecessary Report refresh on the dashboard when changing the dashboard prompts

    Hello All
    I have two reports on a dashboard with two dashboard prompts for example Report 1) Year, State, Count; Filter: Year is prompted 2) Year, State, Count; FIlter: State is prompted. On the dashboard we have two reports Report1) and Report 2) with Year and State dashboard prompts.
    The issue is when you change year prompt both the reports gets refreshed even though nothing changes on report 2 but it still dissapears and appears as it is refreshing and  the same happens with report 1 when i change the state prompt it refreshes that report.
    Please letme know how i can limit the dashboard prompt to refresh only the report where it is prompted.
    Thanks
    Ravi

    are you talking about the database table caching? if so we are using OLAP cubes and I am not sure if caching is disabled. Is my issue related to caching? also another updated if I have just one dashboard prompt for example just year  only report 1 refreshes and the report 2 doesn't disappear. But when I add state dashboard prompt, which ever prompt I change state or year  both reports refreshes. The problem is when I add more than one prompt on the dashboard all the reports refreshes when the dashboard prompt selection changes. Any ideas.
    Thanks

  • Rolling 18months report based on the month prompt.

    Hi All,
    In one of the requirements in OBIEE, I have to create a report of rolling 18months. Now the challenge is that I will not be taking sysdate in here to calculate the rolling 18 months. I need to take the value of a month prompt on dashboard for calculation and fetch the 18 months rolling data in the report.
    E.g: If the user selects Dec-2009 in the month prompt on dashboard, I need to fetch data from July-2008(which is 18 months from Dec-2009) to Dec-2009.
    I will be passing the value of the month prompt in a presentation variable in the report, but can I calculate the 18 months prior month on the fly to put in the filter to fetch data? If yes, then how?
    I have also created a calculated logical column in the rpd that calculates 18 month earlier date for each date. Now the question arises, how to use filter on this column so that it selects only the month which will be 18 months prior to the selected month prompt on the dashboard so that the data gets fetched for the report?
    Thanks in advance,
    Sumita

    Hi,
    Please check out the following blog :
    http://shivabizint.wordpress.com/2008/09/19/rolling-months-data-for-year-month-prompt-in-obiee/
    Another way I have done it is follows,
    On my time dimension, which is at day level, for each given row (day) I derived the rolling period start date and the rolling period end date (which was always previous friday for a given day).
    I created a simple report with the following :
    Day, Rolling 6mth Start Day, Rolling 12mth Start Day, Rolling 18thmth start day, Rolling End Date.
    With day 'is prompted'
    In the dashboard reports, you use complex filters to say the day range you are interested in is between 'Rolling X Start date' (6, 12 or 18mth) and Rolling Period End date on the filter query created in the step above.
    When the dashboard prompt Go is selected, OBIEE runs the filter query to determine the start and end ranges and these are passed to the dashboard requests to achieve rolling period ranges from a Date prompt. - Im pretty sure you could use a similar method but using a month selector prompt, rather than my day prompt - The theory is the same.
    Good luck !
    Alastair

  • 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 get the value of multi-select in the   Dashboard Prompt

    I have a multi-select prompt in the Dashboard Prompt,  what I want is,   how do I know that user has choose one value,
    for examle,  for some reasons,  if user didn't choose any value,  then I will set one column in answer as "customer office" , if user choose one value, then the column in answer will be "customer name". 
    any comments, thanks.

    Hi,
    first define the presentation variable for the required column prompt. ex: PV
    Then in report level set the filter for that column = @{PV}{customer office}. here u have to give default value as "customer office", so by default the report in dashboard will show customer office even though the user does not select any value from dashboard prompt.
    Mark If Helpful/correct.
    Thanks.

Maybe you are looking for

  • How can I know if my new internal hd for macbook pro is compatible?

    I have been trying to upgrade my internal HD for macbook pro early 2008 2.4 and have been having a hard time getting it to boot.  Problems with both WD and Seagate.  I am wondering if the problem is with Mavericks.  I got a good back up from Time Mac

  • How to fill text with the negative of the background image

    I have a picture of grass as the background. I am trying to put text on the image, and have the fill of text be colored as the negative of the background grass image colors. To represent what I wish to do, I demonstrated the color I wish to obtain in

  • Webdynpro application with multiple DCs

    Hi, I have an application where it is splitted in to multiple DCs for the team development. Now at runtime there are navigation happenening across DCs, means on click of a button in view1 of DC1, it needs to call view2 of DC2. What is the best way to

  • Hardware Inventory for Ipad

    I have integrated SCCM 2012 R2 with Windows Intune and created APN for apple devices. I have enrolled my ipad and see it in Mobile devices in SCCM 2012 R2 console. However when I right click Ipad and select Resource Explorer the hardware , hardware h

  • My phone cut off by itself and will not tun back on

    the iphone cut off and will not cut back on or do anything. it is not receptive when i plug it into my computer either. Help please