Manipulating Dashboard Prompt value in Column Labels

Guys,
I have a bit of strange requirement and I was wondering if anyone resolved this before
Users select month value called 06_12 in the prompts, I need to extract 12 out of that and display it in column labels
So if 06_12 is selected then my measure label should display Actual 12
So if 06_11 is selected then my measure label should display Actual 11
Any ideas??
Edited by: Prash11 on Jul 23, 2012 4:36 AM

Combining with similar request really doesnt work for me so well becuse there is a lot of conditional formatting on my measures which i lose them when i use that approach
Now if u set a variable and define it at session it will still be the same as it doesnt give me the flexibility to manipulate the value.
So any other suggestions?

Similar Messages

  • Dashboard prompt value not carried over to report in a Link on Dashboard

    The Dashboard prompt value is not carried over to the report displayed as a link on the dashboard. The report has the 'Is Prompted' filter. It does not work in both cases:
    1. when the report in the shared folder is specified in the link.
    2. when the report in a different page on the same dashboard is specified in the link.
    Please help.

    First change column data format to HTML.
    Then use following syntax:
    '<aa href = "http://server/analytics/saw.dll?Dashboard&PortalPath=%2Fshared%2FPortal%2Ffolder&Page=pagename&Action=Navigate&P0=3&P1=eq&P2=Tablename1.column1&P3=1+'|| cast(Tablename1.column1 as varchar(30)) ||'&P4=eq&P5=tablename2.column2&P6=1+'|| cast(Tablename2.column2 as varchar(30)) ||'&P7=eq&P8=tablename3.column3&P9=1+'|| cast(Tablename3.column3 as varchar(30)) ||'" TARGET="_blank"> <ffont color = #000099>'|| cast(Tablename1.column1 as varchar(30)) ||'</ffont></aa>'
    change ffont to font and <aa to <a and </aa to </a

  • Passing Dashboard Prompt values to different dashboard.

    Hi All,
    I want to pass the selected prompt values from my current dashboard to a different dashboard. I am using a navigate function to go to the other dashboard.
    The scenario is:
    I am using a column formulae to navigate to the different dashboard.The column formulae written is:
    case when rank ("Table".column ) <=10 then cast(rank ("Table".column) as char(10)) else ''||'+'|| '' END
    In this scenario, the dashboard prompts are not get passed to the other dashboard.
    In other case when I do not customize the column as stated above and in the Column Property just give a 'Navigate' in the Value Interaction it passes the prompt values to the other dashboard.
    Similarly can we do something in the column formulae or using something else to pass on the dashboard Prompt values to the other dashboard.
    Please Note that the dashboard Prompts in both the dashboards are exactly same.
    Regards,
    Bhavik

    Bhavik,
    Your nearly there, simply extend your URL syntax and pass the colum values with it, see here :
    http://sureshotstrategies.wordpress.com/2008/12/13/integrating-oracle-obiee-content-using-go-url-syntax-2/
    e.g
    http://webserver/analytics/saw.dll?Go&Path=%2Fshared%2FSupplier%2FRegionDollars&Action=Navigate&col1=Periods.%22Year%22&val1=%221999%22&op1=eq
    Passes colum : Periods.Year
    value : 1999
    operator : equals (=)

  • Getting the dashboard prompt value

    Hello,
    I there a way on how can i get the dashboard prompt value when using other operators beside equal/is in. It seems that you can only set a presentation variable using the equal/is in operator.
    Also how can i get prompt value when using multi-select control?

    Hi. Yes, presentation variable is only for is equal to/is in.
    But no need to use other operators ( is less than or equal to, etc) if you want to write data in presentation variable, use equal/is in if you want to show data that is for example less and set presentation variable and in the report instead if IS PROMPTED write advanced SQL filter like:
    TABLE.COLUMN <= '@{pv}'
    You asked also how can to get prompt value when using multi-select control?
    No way to do that. But what do you need that information for. Lets say that you are able to do that and you put multiple values from multi-select into variable, where do you need to present that data? In the report? No need for that because the report is already filtered by it.
    Also check this one:
    Using multiple values row wise session variables in dashboard prompts and requests
    http://108obiee.blogspot.com/2009/10/using-multiple-values-row-wise-session.html
    Regards
    Goran
    http://108obiee.blogspot.com

  • Column hiding based on Dashboard Prompt value in OBIEE 10g

    Hi,
    Can you please let me know, whether there is any possibility of "hiding the column based on the value selected in the Dashboard Prompt".
    Your suggestions are highly appreciated.
    Thanks & Regards
    Siva

    Hi,
    Simple way to solve it.
    Steps
    1.) set presentation variable for each columns of your dashboard prompt
    2.) edit your analysis of table/pivot view ---> colums formate header in this place just keep it your presentation variable values like below
    E.x
    @{ccy}
    Then save it and then test out
    Some more reference:
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting
    http://total-bi.com/2011/03/obiee-dynamic-column-headings
    Thanks
    Deva
    Edited by: Devarasu on May 17, 2012 8:32 PM

  • 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

  • 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

  • How to Pass dashboard prompt value to RPD variable??

    Hi Experts,
    I am creating RPD variable with below query in initialization block
    SELECT extract(month from Max(report_date))  from xyz_date_dim where report_id=14 and year=:YEAR
    I am having YEAR prompt in dashboard..from this RPD variable i want to get MAX(month) from selected year in dashboard.Here my problem is unable to pass selected YEAR to RPD Initialization block.
    I read some threads we can pass user selected values to session variables. If possible can any one help me how to pass variable to achieve my requirement.
    can any one help me in this....
    Thanks,
    KSS.

    So you want to pick a month in a dashboard prompt and have the answers report filter for that month, and return results for that month, month -1, month -2 etc etc.
    If so try the following, lets assume your measure is simply called 'count'
    in the BMM you have measure 'count' with aggregation set.
    Create a new measure in the BMM called 'count MAGO' or whatever you want (this will be month -1)
    in the logical forumula for that column, use the AGO function, syntax would be AGO(count measure,<time dimension.Month>, -1) - this function is found under the 'Time Series Functions' category.
    repeat steps to create 'count 2MAGO' and use -2 in the AGO function to take off 2 months.
    Repeat for however many Mth Ago's you want.
    Then in answers, simply use is prompted on your month fied to filter the report for the relative month, select your 'count', 'count MAGO', 'Count 2MAGO' etc, the measure will be calculated for prior months relative to your filtered month.
    Sorted?

  • Two dashboard prompts on single column expression

    Hi
    i need to use 2 dashboard prompts
    currency-transactional,operational,reporting
    period--ptd,ytd,qtd
    i have netamount ,reporting netamount,operational netamount columns
    i calculated ptd,qtd,ytd in rpd
    iam using currency and period as prompts
    how to do this

    Hi veera
    now iam give clearly
    on the netamount column i apply presentation variable for ptd,ytd,qtd
    then period prompt is working
    and im apply another promt currency
    if weselect currency-transactional and currency=ptd in prompt
    then it give transactional ptd netamount
    if weselect currency-reporting and currency=ptd in prompt
    then it give reporting ptd netamount
    like this i get the values
    please give some detail help with sample example

  • Protect selected Dashboard Prompt Values

    Hi there,
    I've created two Dashboard Prompts. The one to select "has Product", the other to select 'has not Product'. I created two Dashboard Prompts add these on a section of dashboard.
    If I select a product in the first DBP and click go, the value is taken over to the second DBP and the other way round.
    I want to select e.g. 'Product1' of the first DBP and 'Product2' of the second DBP, set the values in presentation Variables, so that I can analyze which customers has bought 'Product1' but not 'Product2'.
    Thanks in Advance
    Frank

    Hi,
    ok, its still not working.
    The first DBP Column: Product_description, Presentation Variable: HAS_PRD
    Second DBP Column: Product_description, Presentation Variable: HAS_NOT_PRD
    In the Report 2 Filters:
    1. Product_description is equal to / is in @{HAS_PRD} - Filter Option: Protect Filter
    2. Product_description is not equal to / is not in @{HAS_NOT_PRD} - Filter Option: Protect Filter
    By clicking go on a dashboard Prompt, the other DBP shows the values of the first one and the other way round.

  • Dashboard prompt value is not passing into the report

    Hi,
    I am using OBIEE 10g. The problem is in Oracle BI Answers
    I have a prompt and its related report. In the prompt, in one of the column, I am using sql result. The sql query is a co-related sub query where i have used 2 tables. employee_data and employee_region. The reason for using sub-query is that there is no data_center column in the employee_data table. It has the records for all the data_center e.g USA, UK,IND,AUSTRALIA etc So, I used the sub query with condition which will give the result on a particular data center (here it is USA) and this sub query's output is input for the main query. And the prompts works fine and gives correct result
    The sql query used for the column in the prompt (in Oracle BI Answers) as
    SELECT EMPLOYEE_DATA.ENAME FROM EMPLOYEE WHERE EMPLOYEE_DATA.ENAME IN (SELECT EMPLOYEE_REGION.ENAME FROM EMPLOYEE WHERE EMPLOYEE_REGION.DATA_CENTER = 'USA')Now in the report, there are 2 coulmns. - EMPLOYEE_DATA.ENAME and EMPLOYEE_REGION.DATA_CENTER
    I have used the main column EMPLOYEE_DATA.ENAME for filter as 'prompted'.
    The problem is the value from the prompt is not passing from the prompt to the report, what I found. Because, instead of showing the result for 'USA' data_center, It also shows other data_center 's (UK,IND,AUSTRALIA) data.
    How filter condition I should use for EMPLOYEE_DATA.ENAME column in the report so that the prompt value will pass to the report properly ?
    Thanks
    Edited by: Kuldip on Feb 21, 2013 6:17 AM

    Hi Kuldip,
    There are 2 ways of doing it.
    1. Nice and good: For the section where the report is put have a condition to display only if it returns rows. For details please refer to :
    http://bischool.wordpress.com/category/guided-navigation/
    2. The easy way: Add a "No Result" view to your report and add few spaces in the text.
    Let me know if this helped.
    Regards,
    Jay

  • How to pass dashboard prompt value to requests in folder

    Hi,
    I want to have a dashboard page that contains dashboard prompt for period and list with requests (for this I add Folder and select "Expand folder").
    If I use dashboard prompt to set presentation variables, the chosen value is not passed to requests in folder list and as I understand this is the way presentation variables work. Therefore I tried to use Request variable, but get the same result - value that is chosen in dashboard prompt, influences request only if it is shown in dashboard not if I open it from folder list.
    Steps I did:
    (1) Created session variable "Period", that users can alter. Initialization block is simple dummy select - Select ’2008.08’ from dual;
    (2) Created dashboard prompt that sets Request variable Periods;
    (3) Created report with session variable value in it:
    SELECT Time."Period code" saw_0, VALUEOF(NQ_SESSION.Period) saw_1 FROM "TEST" WHERE Time."Period code" = VALUEOF(NQ_SESSION."Period") ORDER BY saw_0, saw_1
    If I include this report directly in dashboard, it shows the session value that is set from dashboard prompt, however when I open it from folder list, it shows the default value 2008.08 although I have stayed in the same session.

    Iza, you are correct in your assumption regarding passing Presentation Variables to reports that are in the Folders object. If you have a dashboard prompt on the same page as the Folders object, then even if you select a value in the prompt, it will not pass when you click on the report name in you Folders object.
    Here is something you might want to consider to achieve what I think you are trying to do. Instead of having the Dashboard prompt on the first page, create a "table of contents" home dashboard page. What I mean is:
    1) First, create a Dashboard page with the prompts you wish to filter a report with and set the default values. Save this as the template dashboard page. Now, with a second copy of this template, drag one of your reports to this page. Save it. Using your dashboard template page, create another copy and drag the second report to this page. Save. Do this for each report you wish to display. Note that you can drag more than one report to a dashboard page.
    When you are done, you will have several dashboard pages, each with one or more reports and the dashboard prompts on the top of the page.
    2) Now on your "home page," drag the Link or Image to a section. Link this object to the first dashboard page you created in step one. Name the link the title of your report. If there are more than one report on this page, title the link appropriately. Click the "open in new window" checkbox. Drag a Link or Image object for each dashboard page you created in step one.
    When you are done, this home page will look similar to your Folders object, with links to each of your dashboard pages that contain the reports. When the user clicks on the link, the appropriate dashboard page will appear with the dashboard prompts and the report will be filtered on the default values. Now the user can change the values of the prompts as desired. When the user is done, he/she can close the window and he/she will be taken back to the home page to select another report.

Maybe you are looking for