Report display in dashboard based on selected value

Hi Experts,
I have an requirement.
when I select quaterly in prompt the quaterly report should display.
when Yearly selected then  yearly report should display in dashboard
we are using OBIEE 11.1.1.7
Any idea pls.

Hi,
    I feel you can achieve this by using OBIEE11g Conditions. You can show the quaterly or yearly report based on the Rowcount fetched on the conditional analyis created. Please see if this helps

Similar Messages

  • Select list coloured based on selected value

    Hello,
    Could anyone please tell me if it is possible to display a LOV with a background colour based on the selected value ?
    In fact , I have a report with many select lists whose value can be Y,N,N/A and I would like that the corresponding LOVs have the background colour set according to the value .
    Thanks in advance,
    Andreea
    Edited by: user12064977 on 20-Oct-2009 02:15

    Andreea,
    Lets assume your select list item name is P1_SL and return values as follows
    Display -  Return
    N/A     -  NA
    YES     -   Y
    NO      -   NEdit you page and put JS code similar to following in footer section
    <script>
    slval = $v("P1_SL");
    sl = $x("P1_SL");
    if(slval=="Y")
    sl.style.backgroundColor="#FFCC80";
    else if (slval=="N")
    sl.style.backgroundColor="#CCAA80";
    else
    sl.style.backgroundColor="#CCCC80";
    </script>So background color will be set on page load.
    Now edit your page and put JS code similar to following in HTML Header section
    <script>
    function setColor(this1)
    slval = this1.value;
    if(slval=="Y")
    this1.style.backgroundColor="#FFCC80";
    else if (slval=="N")
    this1.style.backgroundColor="#FFAA80";
    else
    this1.style.backgroundColor="#CCCC80";
    </script>Edit your select list item and set following for 'HTML Form Element Attributes'
    onChange="javascript:setColor(this);"So the select list color will be set accordingly 'onChange'.
    Cheers,
    Hari

  • How to populate table of values based on selected value of dropdown list

    Hi
    I have an urgent requirement.
    Whenever I select a value in Dropdownlist, Based on the selected value I need to display serveral values in tabular form.
    I have created a dynamic LOV and created the actionListener
    I have created a table by dragging the ViewObject and i have set the partialTrigger attribute value to the LOV Id.
    Now My doubt is What should I return in the actionListener method
    Thanks

    Hi,
    So get the value what i tried is ,bind the list item of the select one choice ,
    and then i used the method something like this
    UISelectItems see=getSelectItems1();
    System.out.println("Selected Value"+ see.getValue());
    but it returns me something like this
    Selected Value[javax.faces.model.SelectItem@b20090, javax.faces.model.SelectItem@431753]
    Don't know what are those ,hoe can i get the display value.Please help.
    Thanks

  • Passing DB values to the textbox based on Select Value item

    Hi,
    I am very much new to the Oracle APEX. In my project, I have a requirement wherein I have to pass the different values to the corresponding textboxes on a different page based on the value I select from the "Select Value" item.
    I have tried using calling On-Demand Processes, but couldn't get the desired result.
    Please suggest!

    Hi 796444 ,
    Welcome to the forum. It will be good if you familiarize yourself with the forum ettiquittes. Also, when posting always state the following:
    a. Apex version
    b. DB version
    c. Web server ; EPG, apexlistener, etc
    d. Provide adequate details for others to understand your problem / what you are trying to achieve.
    e. Any code snippets you post should be enclosed in a pair of tags
    If your current problem is that the you are *calling* Page 2 from Page 1, and while doing so you want the value of P1_ITEM1 to be passed and set in p2_ITEM1 then
    a. Edit the branch
    b. In Action in Set these items write P2_ITEM1
    c. In With these values write &P1_ITEM1. (do not miss the dot at the end)
    It looks good if you use a better handle than 796444 :-)
    Regards,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Autosuggest based on Select Value

    I'm in the process of reworking a pre-existing form and
    related queries that
    allows a person to search for my agency's services based on
    City, County or
    ZIP Code.
    We have two fields: locationtofind (text field) and
    locationtype (select
    containing the above values, with City being the default)
    What I'd like to do is populate the autosuggest with values
    based on the
    value of the currently selected locationtype. How do I pass
    or bind the
    currentvalue of locationtype to the autosuggest call to a
    CFC?
    Texas has a huge number of place names in addition to its 254
    counties, so a
    dynamic search using a cfc as you type query is a must.
    Any examples would be quite helpful.
    Thanks in advance,
    Michael Brown
    Texas Department of Aging and Disability Services

    I'm in the process of reworking a pre-existing form and
    related queries that
    allows a person to search for my agency's services based on
    City, County or
    ZIP Code.
    We have two fields: locationtofind (text field) and
    locationtype (select
    containing the above values, with City being the default)
    What I'd like to do is populate the autosuggest with values
    based on the
    value of the currently selected locationtype. How do I pass
    or bind the
    currentvalue of locationtype to the autosuggest call to a
    CFC?
    Texas has a huge number of place names in addition to its 254
    counties, so a
    dynamic search using a cfc as you type query is a must.
    Any examples would be quite helpful.
    Thanks in advance,
    Michael Brown
    Texas Department of Aging and Disability Services

  • Showing and hiding dropdowns on product page, based on selected values

    Hello.
    I would like my product page to show different subsequent dropdowns based on individual dropdown values.
    I've managed to achieve this via JavaScript, but I do not like how it works.
    As far as I can tell, there is no proper identifier for each individual dropdown to determine which one it is, so all I can do at the moment is to rely on their order in the DOM, which is bad and makes it difficult for me to create a solution that would work for all products.
    For instance, if the following is a single attribute:
    <div class="catProductAttributeGroup" style="display: none;"><div class="catProdAttributeTitle">Metallic Foiling</div><div class="catProdAttributeItem"><select><option value="">-- Please select --</option><option value="6051720">Not required </option><option value="6051721">Foil ONE side + £45</option><option value="6051722">Foiling BOTH sides + £75</option></select></div></div>
    I would like the outer-most div to have some sort of html attribute that holds the product attribute id. Something like, data-attribute-id="XXXXXXX". Is that possible?
    Here's what I have up to this point:
    I use {tag_attributes_json}, {tag_product_json} and {tag_currency} to get these values into javascript on page load, so I can use them later.
    Then, I hook to change events of the drodpowns I have and then toggle their visibility based on which ones are selected. I rely on the jequery ':eq(n)' selector to achieve this, which I do not like. Is there an option for the {tag_attributes} helper which would make it add some extra information (such as attribute ID on the dropdown) on the generated HTML?
    All of this works initially, but If I then 'Add to cart', the product element get's ajax-reloaded and the events are suddenly unhooked, so it doesn't work anymore. For that one, there are two options:
    1. I could hook to an event that triggers once the product has been added to cart and the page is ready again. Is there such an event?
    2. I could implement my own add to cart using bcInternals.shop.addToCart. I tried doing this, but I have two problems with it.
    a. addToCart seems to add my selection twice, for some reason. Any ideas what I might be doing wrong?
    b. the cart info in  the top right corner doesn't refresh. it seems it tries to refresh, but there's some sort of access error in the script. This part is not yet fully added to the page, but there's a function that would do the adding to cart at the bottom of the bigger script block. Am I using the built in addToCart function incorrectly?
    This is the page I have the partially implemented functionality added on:
    Matt Laminated Business Cards
    The scripts are currently embedded inside the HTML. Once I have it properly implemented, I'd like to extract it into a separate file. Search for "$productAttributesElement" to find the block with the functionality and for "productInfo" to find the part where I store the product data with the _json tags.

    Hi,
    No worries, Didnt know if you solved or the answer wasnt helpfull
    You need to trigger you script within the product details template layout, or you could add a listener to the product container and trigger the script if any changes are detected.
    Regards

  • Conditional display in textbox based on calculated value

    Hello,
    I have radio buttons that each have a numeric value. For example A=1 B=2 C=0. In the example below, the total equals 5.
    The sum is displayed at the bottom of the document and is passed to another text box:
    Instead of "5" being displayed in the text box on the right, it needs to display a word "Mastery" like this:
    The word displayed is based on the totals via this range:
    1 to 2 = "Acquiring"
    3 to 4 = "Practicing"
    5 to 6 = "Mastery"
    The script I used to pass the value from the left to the right text box in the graphic above is:
    // name for the text box field;
    var cTextBox = "Firm-Wide Talent Strategy Knowledge - Totals";
    // get the value of the field with the name in cTextBox;
    var sTextBox = this.getField(cTextBox).value;
    // set the value of this field;
    event.value = sTextBox;
    What would I need to add to this script to display one of the words, such as "Mastery" above?
    I'm a complete neophyte to scripting. I found the script above online and somehow got it to work.
    Thank you all very much for any help or pointers you can provide.
    Best Regards,
    Chris

    Hi try67,
    Thank you so much for your help. Your code has brought me one step closer, I would never have gotten even this far without it!
    Initially, it was giving me and error, so I added a ")" and now it does display "Mastery", but I cannot get it to display the other two ("Acquiring" and "Practicing"), it just displays a blank space but does not give me an error.  I tried to fix it on my own by searching for some help, so I found and started playing around with jsbeautifier.org and JSLint. However, since I really don't know much about coding or syntax I hope these were not harmful. So now the code looks like this:
    // name for the text box field;
    var cTextBox = "Firm-Wide Talent Strategy Knowledge - Totals";
    // get the value of the field with the name in cTextBox;
    var sTextBox = +this.getField(cTextBox).value;
    if (sTextBox >= 1 && sTextBox <= 2) {
        event.value = "Acquiring";
    if (sTextBox >= 3 && sTextBox <= 4) {
        event.value = "Practicing";
    if (sTextBox >= 5 && sTextBox <= 6) {
        event.value = "Mastery";
    } else {
        event.value = "";
    Do you know what I might be missing that prevents "Acquiring" and "Practicing" from displaying? 
    Thank you so much again for your help,
    Chris

  • Can I have a LOV for display and a LOV for select values in a form ?

    My LOV are in table :
    lov_return, lov_display, lov_available
    To avoid a loss in translating lov_return in lov_display values, I manage a flag, lov_available, Y/N to filter out obsoleted values.
    By example, at the beginning of using the application, I have :
    LOV_RETURN
    LOV_DISPLAY
    LOV_AVAILABLE
    1
    TOP
    Y
    2
    CENTER
    Y
    3
    BOTTOM
    Y
    And I have records with 1, 2 or 3 in the field corresponding with the LOV.
    So far, so good.
    Then I want to have a slightly different set of values in my LOV, for new records :
    LOV_RETURN
    LOV_DISPLAY
    LOV_AVAILABLE
    1
    TOP
    Y
    2
    CENTER
    N
    3
    BOTTOM
    Y
    4
    CENTER-TOP
    Y
    5
    CENTER-BOTTOM
    Y
    So, when I edit an old record in my form, I want the 2 to be well deciphered into CENTER, and in the SELECT list, I want TOP,BOTTON,CENTER-TOP,CENTER-BOTTOM.
    When I assign the dynamic LOV : select lov_display d,lov_return r from lov_table where lov_available = 'Y', to the corresponding field in my FORM, even allowing extra values will not help and will display '2' instead of 'CENTER'.
    Is there a way I can manage to show the translated 'CENTER' in the field, and offer a list of values taking in account the 'availability' of the value, other than including the PX_FIELD test in my SQL for the dynamic LOV ?

    A common logical problem I encountered back the days of Oracle Forms.
    A solution I often see is displaying invalid options with an asterisk, and applying validation to ensure users don't change to invalid selection.
    No doubt there are some clever ways to tart this up with jQuery, also.
    Scott

  • How to display chart region based on select list in html region ?

    Hi all,
    i'm using 4.0.1.00.03 apex version,in a page i have 2 regions one is html and another one is Chart region.in html region i have a select list and button.when user sign into my application select list have some values in that page,user select's a value and clicks on the button then chart will be displayed.my query is when user first sign into my application i want to dispaly chart region when only select list is selected and clicks on the button.can any one guide me on this.
    thnx in Adv.

    Hi yann,
    thnx for ur reply,
    i have done what u have written but i didn't meet my requirement..
    let me explain what i need exactly
    as of now my application is like this..
    i have a html region in that i have select list(P6_LIST) and go button
    and chart region.
    chart query is like this..
    SELECT your_value
    FROM your_table
    WHERE your_value = :P6_LIST
    AND ...
    how it is working??
    when user sign into my application, user can see html region with 'select list and go button' and chart region with 'no data '.
    when user select a value in select list and click on go button automatically chart region will be dispalyed with chart.
    what i wanted to change is..
    when user sign into my application, user can see html region with 'select list and go button' and no chart region
    when user select a value in select list and click on go button then only user can see chart region with chart.
    plz help me how to do it.. :)
    thnx in Adv.
    Edited by: moulani on Nov 4, 2011 12:05 PM

  • Changing value in drop-down based on selected value in another drop-down

    Hi,
    I have two drop-downs - changing value in Combo1, should cause the form to be submitted and values to be populated in Combo 2.
    Approaches i tried - 1) I am using an ActionListener. I am having a valueChange method which accepts an action event. However this appraoch is not working for me. 2) I was wondering if I could use Javacsript to catch the OnChange event , the javascript function would call an appropirate method in my ActionListener. I know in Struts its straightforward, but how do i achive the same here in JSF.
    Any tips would be helpful.
    Thanks
    PS: I already came across some threads in the forum, but could not get an answer. Also, I have a retsriction in terms of using Action LIsteners itself.

    Try using ValueChangeListener instead of ActionListener.
    Here's a working example of a ValueChangeListener. You can customize it and use it for your application.
    The JSP will look like this:
         <h:selectOneMenu value="#{globalsBean.selectedFirst}"
              valueChangeListener="#{globalsBean.changeList}" onchange="submit()">
              <f:selectItems value="#{globalsBean.first}" />
         </h:selectOneMenu>
         <h:selectOneMenu value="#{globalsBean.selectedSecond}">
              <f:selectItems value="#{globalsBean.second}" />
         </h:selectOneMenu>The globalsBean will look like this:
    public class GlobalsBean extends Bean {
         ArrayList first;
         ArrayList second;
         String selectedFirst;
         String selectedSecond;
         public GlobalsBean() {
              first = new ArrayList();
              second = new ArrayList();
              first.add(new SelectItem("1", "1"));
              first.add(new SelectItem("2", "2"));
              selectedFirst = "1";
              selectedSecond = "";
              second.add(new SelectItem("White", "White Cows"));
              second.add(new SelectItem("Brown", "Brown Cows"));
              second.add(new SelectItem("Green", "Green Cows?!?"));
         public ArrayList getFirst() {
              return first;
         public ArrayList getSecond() {
              return second;
         public String getSelectedFirst() {
              return selectedFirst;
         public void setSelectedFirst(String selected) {
               selectedFirst = selected;
         public String getSelectedSecond() {
              return selectedSecond;
         public void setSelectedSecond(String selected) {
               selectedSecond = selected;
         public void changeList(ValueChangeEvent event) throws AbortProcessingException{
              second = new ArrayList();
              String newValue = (String)event.getNewValue();
              setSelectedFirst(newValue);
              if (newValue.equals("1")) {
                   second.add(new SelectItem("White", "White Cows"));
                   second.add(new SelectItem("Brown", "Brown Cows"));
                   second.add(new SelectItem("Green", "Green Cows?!?"));
              } else if (newValue.equals("2")) {
                   second.add(new SelectItem("White/Black", "White Cows with Black spots"));
                   second.add(new SelectItem("Black", "Black Cows"));
              setSelectedSecond("");
    }Let me know how it works out for you.
    CowKing

  • Report "Display Text (Based on LOV)" columns don't like colons - Bug?

    This is a bit hard to explain in text, so I've built a sample app: http://apex.oracle.com/pls/otn/f?p=9608:1
    The app has two pages, which demonstrate two related bugs in the handling of Report "Display as Text (based on LOV)" columns.
    Basically, if the LOV query returns a string that contains colon characters (":") in the display column, the values are matched up correctly, but the colons are stripped from the display.
    If the LOV query returns a string that contains colon characters in the return value column, then the matching fails entirely.
    Removing the colon characters eliminates the problem.
    We actually ran into this in a production environment, after an upgrade from Apex 3.0.0 to 3.2.1. The behavior definitely did not occur in Apex 3.0, but was added at some point between the two versions.

    The colon is actually part of our data (the field in question is a URN namespace).
    And yes, I understand the function of the colon in Apex URL parameter passing. However, I wouldn't expect that sort of parsing to be used against the results returned from an LOV query.
    Also, the LOV is fine in of itself -- a select list based on the LOV displays & returns the expected values. It's only when I use a report column based on an LOV that this behavior creeps in.
    We've found a (fairly painful) workaround -- altering both the report query and the LOV query to to do something like replace(column, ':', '_') -- but that's a manual change to a large number of pages for us.
    This behavior is new to version 3.2.1. It didn't happen in version 3.0.

  • Restrict Dashboard based on Role

    Hi
    Is it possible to Restrict Dashboards based on Role. I want hide out-of-the-box dashboards and display custom dashboards based on Role.
    Regards
    Sundar

    Hi,
    but note that the Look In function is not available in the custome web tab. this is really a shame because the lookin allows managers to see the data in different ways. If any of you found a way to get the look in functionaliyt into the web tab, I would love to find out.
    Regards,
    Gonzalo

  • Is there a way to hide some reports based on the selected values in prompt.

    Hi Experts,
    Is there a way to hide some reports based on the selected values in prompt.
    For ex. if a year is selected in the prompt then the report should display year wise report.
    If a year and half year both are selected in the drop down from prompt section then 2 reports should come.. One for year wise and another for half year wise.Kindly look into this.
    Regards
    Ashish

    Hi,
    Use presentation values in prompts for year,half,qtr and month.Example- For year-y is presentation variable in the same way for halfyear-h,qtr-q and month-m.
    create four intermediate reports.Example-Report r1 with only year column,r2 with only halfyear column,r3 with qtr column and r4 with month column.
    Make column in each report(r1,r2,r3,r4) is equal to their presentation variables(y,h,q,m).
    Use four sections.
    Section1-Place report that should come when only year.
    section2-Place report that should come for year and halfyear.
    Section3-Place report that should come for year,halfyear and qtr.
    Section4-Place report that should come for year,halfyear,qtr and month.
    Apply guided navigation for each section selecting guided navigation-
    For section1-
    properties->Guided navigation->check this Reference Source Request(Yes)->select report r1(year)->check this Show Section(if request returns row)
    In the same way do for remaining section2(select r2),section3(select r3) and section4(select r4)
    Thanks,
    Srikanth
    http://bintelligencegroup.wordpress.com/

  • SSRS Matrix report to show or hide year column based on parameter value "Date" selected.

    Hey experts!
    I have a requirement an ssrs matrix report should display columns (year/s) based on parameter value (date/s). 
    My Dataset fileds are: Product, Year_name, Month_name, Date
    Currently my report output looks like this-
    Param Date: 2013-08-01 00:00:0.000
    Product +Calender2011      +Calender2012     -Calender 2013........                        +Calender2014
                             Total
                      Total Jan13  Feb 13  Mar13..  Dec13   Total           Total
    Abc                      100
                        220
    10      20         30.......  20       250              400
    Xyz 110
    200 50      80         40.......  30       450              600
    My requirement:  if I'm selecting Date parameter value as '2013-xx-xx' I should only able to see Year column 'Calender2013' and rest of the years should hide. Similarly If I'm selecting Date parameter value as '2014-xx-xx' I should only able to
    see Year column 'Calender2014' .
    Appreciate your kindly help. 
    Afan

    Hi Afan,
    According to your description, you want to only show the selected year on your report, right?
    In this case, you need to get the year from the date parameter using the expression below
    =Year(Parameters!Date.Value)
    And then use the expression below to get the year from Year_Name field.
    =Right(Fields!Year_Name.Value,4)
    Then add a filter to the dataset to filter the data like below
    Expression:=Year(Parameters!Date.Value)
    Operator:=
    Value:=Right(Fields!Year_Name.Value,4)
    Reference
    http://msdn.microsoft.com/en-IN/library/dd255287.aspx
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Report displayed based on Select List condition

    Hello,
    Any help would be appreciated.
    I have a report and a select list, P55_MISSING. The select list contains the column names in the table that the report displays.
    If I select one of the column names, I would like to display all records where that column name is null.
    The sql I have at the moment is:
    select
    "ID",
    "APPLICATION",
    "SHORT_DESCRIPTION",
    "DESCRIPTION",
    "OPC_NET_NAMES",
    "PROCESSING_SCHEDULE",
    "PROCESSING_REGULARITY",
    "PLATFORMS_INVOLVED",
    "UNIX_DIRECTORIES",
    "SOURCE_FILES",
    from "APP_METADATA"
    where :P55_MISSING IS NULL
    If I select 'source files' for example, I would expect to see 3 out of 4 records stored in the table. However, I receive the message 'no data found'.
    Any help would be great. Thank you.

    Hi
    In order to doe this you will have to use dynamic sql (so you have to change your report type to 'SQL Query (PL/SQL Function Body Returning SQL Query)').
    It would then look something like this...
    DECLARE
    l_sql VARCHAR2(32767);
    BEGIN
    l_sql := 'SELECT id,
                     application,
                     short_description,
                     description,
                     opc_net_names,
                     processing_schedule,
                     processing_regularity,
                     platforms_involved,
                     unix_directories,
                     source_file
              FROM   app_metadata
              WHERE ';
    l_sql := l_sql||:P55_MISSING||' IS NULL';
    RETURN l_sql;
    END;Sorry, I can't test this as I don't have your tables.
    Cheers
    Ben

Maybe you are looking for