Dynamic column in dashboard prompt

Hi all,
I have to dispay 'TOP' & 'BOTTOM' dynamic value in the dropdown of dashboard prompt how to create a dynamic column value in dropdown of dashboard prompt?I m trying to create it by writing case in show sql result but not getting correctly according to TOP & Bottom selection i have to make a the changes in report

Hi Sonal,
SELECT CASE WHEN 1=0 THEN "D2 Market"."M01 Market" ELSE 'Top' END FROM "Sample Sales"
union all
SELECT CASE WHEN 1=0 THEN "D2 Market"."M01 Market" ELSE 'Bottom' END FROM "Sample Sales"
something like this in dashboard prompt sql results
http://img709.imageshack.us/img709/7893/prompt.jpg
Later,refer this to get a selected report http://varanasisaichand.blogspot.com/2010/02/dashboards-as-prompts-in-obiee.html
thanks,
Saichand.v

Similar Messages

  • How to add some text between columns in dashboard prompt?

    Hi,
    OBIEE version:10.1.3.4.1
    Can we add some words between columns in dashboard prompt?
    like, I want to add OR, make sure user not to select different month, if selected the different months it will make the report no data.
    Month OR Date Range(this is a calendar)
    Does anyone have any idea about this?
    Thanks in advance!
    Regards,
    Anne

    Hi,
    If you are using the prompts with presentation variables or referring only the columns separately then you can create individual prompts and place static text between them.
    But if you need to have both the prompt columns together then create the prompts and use 'space' as the label names for both.(ie prompts would appear but the name wont appear). And create a static text in the page or in a report and place in the page. Which appears as the name of the prompt with 'OR' between the prompt names.
    This should solve your problem.
    Edited by: MuRam on Jan 13, 2012 10:18 AM

  • Deactivating column in Dashboard Prompt

    Hi Experts,
    Is it possible to de-activate a column dashboard prompt??
    scenarion.
    suppose for a month column in prompt v have set the defauly value to Jul12,now we dont want the user to select anly value other tha jul12,how can we achive this?
    thnaks

    Why even put a prompt when you dont want user to select anything other than what is hardcoded? You can just hardcode it in the report filters, right? Just trying to see what is the purpose.

  • Dynamically change column heading without Dashboard Prompt

    Hi All,
    My requirement is change the column heading dynamically in a report. I have achieved this through setting the presentation variable to the dashboard prompt.
    I have 5 columns in the dashboard prompt. Out of these 5 columns, I want to use only 1 column as dashboard prompt.
    But still I want to dynamically change the column heading of the other 4 columns based on the only 1 column selected in the dashboard prompt.
    Is there anyway to achieve this?

    You need to have some logic to change other 4 columns based on 1 selected column.. where you want put that logic?
    BTW: Check these
    http://total-bi.com/2011/03/obiee-dynamic-column-headings/
    http://rampradeeppakalapati.blogspot.com/2012/02/dynamically-change-column-names-in.html
    If helps mark or also update back if you are thru with this.

  • GoNav function with dynamic columns 10g

    Hi,
    I have a report with a dashboard prompt that dynamic change the report column. The result of this prompt is set into a presentation variable @{dimension}.
    Now I want to use the GoNav function on the column that dynamically changes.
    The data format for this column should be:
    @[html]"<font class="Nav" onclick=\"javaScript:GoNav(event, '/users/Administrator/Test', 'Department', 'Department_name' ,'"@"','_self');\">"@"".
    But this syntax only works for the column Department.Department_name. If the prompt on the dashboard is changed to another column the navigate link doesn't work anymore.
    Is there a solution to make this work so that also the column can be set dynamically for the navigation?

    I have a report with a dashboard prompt that dynamic change the report column. The result of this prompt is set into a presentation variable @{dimension}.
    Now I want to use the GoNav function on the column that dynamically changes.
    The data format for this column should be:
    @[html]"<font class="Nav" onclick=\"javaScript:GoNav(event, '/users/Administrator/Test', 'Department', 'Department_name' ,'"@"','_self');\">"@"".
    But this syntax only works for the column Department.Department_name. If the prompt on the dashboard is changed to another column the navigate link doesn't work anymore.
    As per your comments above you are using Column selector kind of functionality using a Dashboard prompt and in your GO nav you are taking column Department that's way it is working for that column only , if you change the Column in Dashboard prompt also still GO nav point to Department column only...make the GO NAV to take dynamic columns..
    I am not sure whether we can pass presentation variable .....with my knowledge its not..use GO URL instead of GO NAV

  • Making dashboard prompts mandatory

    Hi All,
    I am facing one issue.
    I have 4 columns in dashboard prompt.I want to make it mandatory that user should select some value in atleast one prompt column.
    Means user can't run the report with all 4 prompt columns as "All Choices" or all 4 blank.
    If user do this than popup should appear (like in javascript) saying that "You should select atleast one prompt".
    Can we achieve this in OBIEE? PLease let me know if any other information is needed.
    Regards,
    Vikas
    Edited by: Vikas Barsaiyan on Aug 20, 2009 5:21 AM

    hi,
    I have not faced this "problem" .I try to avoid drop down and prefer using multi select(more flexible).
    Anyway,you face your problem from one way..why not try an other one???
    let the user to choose anything he/she wants,and make the filter in your answer.
    Meaning,put some case when in your columns....(by using rcount(1) function)...
    1.using the max(rcount(collumnname)) = (the number of your max rows of a column)....then null....the same if
    max(rcount(collumnname)) =0 .....
    2.put in aswers(there is a choise of none results...-->>display your message).
    Otherwise , for your first way of solving,the only way is javascript!
    get firebug and which functions,css control your dashboards prompts and go button.Put there your code.
    hope i helped....
    http://greekoraclebi.blogspot.com/
    ///////////////////////////////////////

  • 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

  • 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

  • Regarding Dynamic Dashboard prompts

    Hi Gurus,
    I have a requirement like this.
    In an underlying dimensional hierarchy say for example Time Dimension ...there are 3 calendars hierarchy..
    1. gregorian
    2. fiscal
    3. business.
    Each one will be having different number of levels also.
    gregorian has 6..starts from Year->Halfyear->Quarter->Month->Week->Day
    fiscal has only 4..starts from Year->Quarter->Month->Day
    business has only 5..starts from Year->Quarter-> Month->Week->Day
    Now the requirement is like this.... the customer wants to have the first prompt which should have these 3 calendars as values... and if they select Gregorian..then the values should go cascaded( cosntrain) to the next level of prompt..
    if its gregorian next prompt values should be Half year...based on that, he then selects quarter, then month, week and day..
    So here we need to give 6 prompts.
    but if the user happens select fiscal ...then after selecting year the next prompt will be quarter...then month and day...so after the 4th level of prompt the last 2 prompts should be blank.
    is there any way by which we can hide these last 2 prompts dynamically??
    Note: All this is happening the requirement phase and we have not yet got the data to test this.
    Any help will be appreciated.
    Regards,
    D

    Hi,
    don't know a posibility to hide a column in a prompt, but here is a workaround...
    create 4 prompts:
    first prompt: type of calendar:
    column:
    case when 1 = 2 then Time.dummy else '' endwith show SQL results
    select case when 1=2 then  "Time".Dummy else 'gregorian' end from catalog
    union all
    select  case when 1=2 then  "Time".Dummy else 'business' end from catalog
    union all
    select  case when 1=2 then  "Time".Dummy else 'fiscal' end from catalogthis prompt will set a variable var_calendar
    create another 3 prompts each with all columns that needed for specific type of calendar.
    gregorian has 6..starts from Year->Halfyear->Quarter->Month->Week->Day
    fiscal has only 4..starts from Year->Quarter->Month->Day
    business has only 5..starts from Year->Quarter-> Month->Week->Day
    In dashbord put each calandar prompt in different sections and use guided navigation to show only the calendar prompt that you need as selected by first prompt...
    you will find here an example on how to use guided navigation
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/
    you will use it to hide prompts..
    Regards
    Nicolae

  • Possible to have dynamic default selections for a dashboard prompt?

    I'm running OBIEE 11.1.1.6.5, and I have customer who would like to know if it is possible to dynamically select default values on a dashboard prompt based upon other user prompted columns on the same prompt. For example, I built a dashboard prompt with three fields: Month, Customer, and Product; and I want to add a default selection to my Products prompt to pick the "top 4 products" based on the selected Month and Customer.. assuming every Customer+Month has a different "top 4 products".
    Does anyone please have a suggestion on how I could approach this solution?

    Thank you for your response. I've tested this approach and it seems promising. My concern I have there is how to treat "(All Choices)" values. Say the user selects All Choices on customer or period, and the presentation value in my SQL Results query reverts to whatever default value specified, which is not the intended behavior. My question then becomes how do I treat the null or All Choices and somehow omit the filter criteria or specify fy All Choices as a default to the presentation variable? Your advice is much appreciated.

  • Dashboard Prompt - Variable - Populate/Calculate column in Pivot Table

    1. I have a need to store the values of three prompts (Year, Quarter and Month) in my dashboard prompt, So a 'column A' (calculated value/measure) can be dynamically populated in my pivot table based on the users chioce.
    These prompts have to be multiselect prompts as the user may opt for 2 or more years/ quarters / months etc.
    I don't think Presentation Variable would work as I have to use multiselect prompt, I have been trying Non-System Session Variables & dynamic repository variables- but could not get it to work. I am thinking only of using one of the three variables (session/dynamic/presentation) so far, is there a better way to tackle this?
    Any help/pointers would be much appreciated, thanks

    I should clarify a little: our sales "process" is very simple (not really a process). We do not use Opportunities. We enter new Leads, and if we win the business, we convert them to a Contact. Thus, our "win %" is simply the number of converted Leads divided by the total Leads for a given period. In my table I would like to display the % of Leads for a given period that are converted to Contacts.
    Thanks again.

  • How to add different columns in a single dashboard prompt?

    Hi
    I am new to this forum. I got a new requirement, my client is asking me to show multiple columns with multiple tables in a single dashboard prompt
    for Ex: Column name Table name
    1. Customer 1. Customer Details
    2. Market 2. Region
    3. Order 3. Order Status
    4. Product 4. Product Type
    He wants to show all these column names in a single prompt when user click on the particular column name it should appear on report. Is it Possible? if possible tell me how?

    See this thread...
    Re: How to add new columns by using Multiselect

  • Dashboard Prompt that does not link to any column

    Hi,
    This might be a basic question but I am missing something here.
    How can we create a dashboard Prompt that is not linked to any columns? This prompt has to be a drop down with two values to choose from.
    1. Accounting
    2. Operational
    The value chosen in this prompt will be used for calculations in my reports. The calculation for Accounting and Operational is different.
    I do NOT have these two values in any of the columns.
    Please suggest on how can I do this.
    This is OBIEE 10.1.3
    Your help is very appreciated

    SELECT 'Accounting' FROM "Subject area"
    where Time."Date"=current_date
    union all
    SELECT 'Operational' FROM "Subject area"
    where Time."Date"=current_date
    Pls mark as correct/helpful

  • 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

  • Changing 'All Column Values' in dashboard prompt

    In OBIEE 11g, how to modify the dashboard prompt All label value? I do not want to change value in XML file , because it will impact all dashboard prompt value.
    Is it there better method to implement this problem?
    For example:
    In dashboard prompt-->edit -->options--->tick 'Include "All Column Values" choice in the list', so I can view '(All Column Values)' value in prompt. Customers want to changed this value,such as 'all values'. Is it possible? Thanks.

    Hi,
    Can do it using Union All is prompt SQL and presentation variable in report.
    Refer : http://www.varanasisaichand.com/2010/01/editing-all-choices-in-dashboard.html
    Regards,
    Srikanth

Maybe you are looking for

  • - Add an empty row before every subtotal display -

    Hi, I would like know the best way to define an empty row before the start of subtotal display in the BW query. Thanks, Venu

  • Excel Addin Pull error from Essbase studio cube

    Hi There, I have cube deployed from essbase studio with dupilicate member name enable. however user gets error "unable to resolve duplicate name "2010" on line 1" error when using Excel addin and SmartView. I guess I have year 2010, also have account

  • MACBOOK TOO **** HOT!

    My macbook reaches 82 DEGREES CELSIUS not FARENHEIGHT. What the **** is going on? I reach this temperature when I watch a full screen video on Youtube.com Do other people have the same problem? I went to the genius bar and asked if they could repair

  • Apple mail crashes daily

    I get the following message... Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSSetM addObject:]: object cannot be nil' abort() called terminating with uncaught exception

  • Not Administrator user see uncorrect data

    Hi, i've a problem. I've developed a report in BI Publisher. If i access with Administrator user, i see correct data, but if i access with user not belonging to Administrator Group i see uncorrect data. The query in two scenarios is the same. Is it a