Measure to dynamically change based on prompt selection

Hi Experts,
My requirement is, if I select a business segment (from a drop down prompt), it has show one of measure in the report and if I change the prompt value, it has to show a different measure. i.e., It should work like a column selector, but my selection is based on Segment prompt value.
To still make it clear, assume, my report has measures KPI1, KPI2 KPI3. If I select Biz. Segment 1 from the prompt then only measure, KPI1 must appear in the report and so on.
Thanks for your help in advance

Hi,
In 11g, make use of variable prompt and cah be achieved.
Refer-http://prasadmadhasi.com/2012/02/28/variable-prompt-in-obiee-11g/
And also refer-http://obiee10grevisited.blogspot.com/2012/06/multiple-measure-selection-for-graph.html
Hope this helped/ answered
Kind Regards
MuRam

Similar Messages

  • How to hide section based on prompt selection

    Hi All,
    I have a requirement to hide the section based on selection of the prompt . My scenario is like i have 1 dimension table and 10 fact table joined to that dimension table. each fact table is having one code of the dimension table.
    I have 10 different reports in 10 fact tables. i have defined a prompt on the dimension table , if i wil select a particular code in the prompt then it will show me that particular fact table report .
    For that i have done 10 reports and i am showing in 10 different section . Now i want to hide the section based on selection .
    If i can put all report in one section and based on selection i can show the report that will be also ok for me ...
    Please help me ...

    Hi ,
    i am able to show the section based on prompt selection . But in my current scenario i have 300 reports based on 300 fact table . If i will put all my report in a dashboard it will fire 300 queries to data base . It will become a performance issue . and one more thing is , does OBIEE support 300 reports in different sections in one page.
    Please help me ...

  • Previous 4 months column need to be displayed based on prompt selection

    Hi,
    I have prompt named
    JAN
    FEB
    DEC
    and i have 12 columns from month1 to month 12(jan to dec)
    when i select august from prompt i need to display 4 month previous of august
    so my result should be
    apr,may,jun,jul and august
    if i select february then my result should be
    jan and feb
    basically i need to hide columns based on prompt selection
    can i know how to do this

    Hi
    I think you have to go for Data level Security in this case.
    You have to set that Session variable in the Group/User Permissions tab so that the Group members can see only those regions data only, even if they go for a
    search.
    Otherwise there is nothing to restrict the user in all the directions.
    You have to apply that filter on all the tables in that Subject area.
    Hope this will help you.
    Guys, Please correct me if I am wrong
    thanks
    Anand

  • Hiding columns in list based on prompt selection

    Hi,
    Question with me here is How to show the details only for selected Years in the prompts.
    Users have to select a range of years for which they want to see the data and based on this selection, the columns should appear. more importatnly, there are other surrounding columns which should appear always on the result screen (that restricts me to use pivot instead).
    e.g. Case 1 - User selected Year Range = 2011 to 2014 -
    Result set columns should be
    ID, CODE, DESC, VALUE_2011, VALUE_2012, VALUE_2013, VALUE_2014, Contact Person, Mail, Phone
    Case 2 - User selected Year Range = 2011 to 2016 -
    Result set columns should be
    ID, CODE, DESC, VALUE_2011, VALUE_2012, VALUE_2013, VALUE_2014, VALUE_2015, VALUE_2016, Contact Person, Mail, Phone
    Did anyone have a solution for such case?
    Thanks in advance.

    user1997473 wrote:
    Limitation I have is - I can not rearrange columns. I have to have initial few columns static, next few based on Years selected and last few static columns in same order. So I can not use pivot per my understanding. Any alternate approach?I don't understand your situation fully, but to answer your requirement, "I have to have...last few static columns in same order.," do this:
    1) Put the dimension columns you need at the end of the report in the Measures section, on the bottom.
    2) Change the Aggregation Rule to Max and the values will appear.
    So you can have dimension columns at the end of a pivot table; you just have to do a little trickery.

  • Disable or hide a dynamic parameter based on a selection

    I have a report created in CRW 2008. The report is having 3 dynamic parameters and a static parameter.
    The static parameter is a list of 4 values like  indications,controls,Alarms,All .
    Based on the selection of one of theese values I need to access the data from any one of the three dynamic parameters and the remaining two dynamic parameters needs to be disbaled or not selectable.
    What are the choices I am having?

    Please re-post if this is still an issue or purchase a case and have a dedicated support
    engineer work with your directly

  • I have to combo box content change based on the selection on the other

    I have huge unsolve problem where by I have to combo box change content of the combo box based on the selection in the first combo box . The problem is The value changes do not have effect on the second combo box. Below is the content of the coding used for both the combo box.
    function setReasonCode(obj){
                         <%String sql_query3 = "SELECT DISTINCT (ir_tran_typ) "+
                                              "  FROM intrcd ";
                               System.out.println("trans type"+sql_query3 );           
                                try{
                                    rset = db.execSQL(sql_query3);
                                catch(SQLException e) {
                                    System.err.println("Error in query - intrcd - transaction_main.jsp " +e +" sql " +sql_query3);
                                while(rset.next()){
                                    tran_cde = rset.getString("ir_tran_typ");
                                            tran_typ.addElement(rset.getString("ir_tran_typ"));
                                            System.out.println("trans type 34 "+tran_typ );%>
                                            <% }%>
                                          alert(obj.value);
                                  <%for(int i=0 ;i<tran_typ.size();i++){
                                     System.out.println("trans type 222  "+ tran_typ.size());
                                       tran_cde =tran_typ.elementAt(index).toString();%>
                                       <%System.out.println("trans type before "+ tran_cde);%> 
                                        eval(document.all.tran_cde.option
                                      if(D == <%=tran_cde%> ){
                                       <%System.out.println("trans type D"+ tran_cde);%>     
                                       <%String sql_query2 = "SELECT ir_rea_cde,ir_rea_desc"+
                                              "  FROM intrcd"+
                                              " WHERE ir_tran_typ = 'D' " +
                                                        " ORDER BY ir_rea_cde ";
                               System.out.println("query"+ sql_query2);           
                                try{
                                    rset = db.execSQL(sql_query2);
                                catch(SQLException e) {
                                    System.err.println("Error in query - emmast2 - transaction_main.jsp " +e +" sql " +sql_query2);
                                        index = 1;
                                while(rset.next()){
                                        rea_cde = rset.getString("ir_rea_cde");
                                        rea_desc =  rset.getString("ir_rea_desc");
                                       tran_typ.removeAllElements();
                                       }%>
                                  if( R == obj.value){
                                       alert(R)
                                      if(R== <%=tran_cde%> ){
                                       <%System.out.println("trans type R"+ tran_cde);%>     
                                       <% sql_query2 = "SELECT ir_rea_cde,ir_rea_desc"+
                                              "  FROM intrcd"+
                                              " WHERE ir_tran_typ = 'R' " +
                                                        " ORDER BY ir_rea_cde ";
                               System.out.println("query 2"+ sql_query2 );           
                                try{
                                    rset = db.execSQL(sql_query2);
                                catch(SQLException e) {
                                    System.err.println("Error in query - intrcd - transaction_main.jsp " +e +" sql " +sql_query2);
                                        index = 1;
                                while(rset.next()){
                                        rea_cde = rset.getString("ir_rea_cde");
                                        rea_desc =  rset.getString("ir_rea_desc");
                                       }%>
              <%}%>
                }

    Not unless you know which file in the app sets the choices. I've been through it pretty thoroughly and can't find the one.

  • Request based on Prompt selections.

    Hi All,
    Please let me know if this requirement is feasible through OBIEE.
    I have a dashboard Prompt which has three columns. These three columns are constrained as per the hierarchy.
    Country
    State
    District.
    I have three requests which show Region, Sales based on the Region
    Request 1 : Shows District level sales
    Request 2 : Shows State level sales
    Request 3 : Shows Country level sales.
    Now the requirement is:
    a) When I select District only( State and Country as All Choices) or State and District or Country and State and District
    then the lowest level only should be shown i.e. Request 1 should show up ( only for District).
    b) When only State is selected ( Country and district as All Choices) or Country and State is selected then show only the State level request (Request 2).
    c) When only Country is selected ( State and District as All Choices) then show only the Country level request ( Request 3).
    That means based on the Prompt selection, only One Request should be shown in the dashboard any time.
    Please let me know if this is achievable.
    Thanks in advance.
    Bhavik

    Hi Bhavik,
    Put each request in a seperate section and control which section is shown via Guided Navigation.
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • How to make a value changed based upon values selected in dropdown menu

    Hi,
    I am making my first Dreamweaver website using Dreamweaver CS6 on a windows 8 PC.
    I am trying to make a website where the user selects different criteria; in this example an ipod's model, condition and size from three seperate dropdown selections (similar to www.itrado.co.uk) and then based upon these selections a value for their ipod is shown. However i cannot work out how to display a value which remains on the same page and changes based upon the values which have been selected from the dropdown boxes. I was planning on creating a database and then creating a simple code which retrieves the value from the database which corresponds to the three selected values, however i am not sure how to go about doing this.
    Any help would be greatly appreciated.
    Many Thanks,
    Henry

    You need scripts for this. Try this jQuery tutorial
    http://anthonygthomas.com/2010/03/14/display-form-fields-based-on-selection-using-jquery/
    Nancy O.

  • Dynamically change onchange event of select control of html

    Can I dynamically the onchange event of select control of html?
    i..e. change the task to be done when the onchange event is triggered.
    Thanks in advance

    Yes.
    At what point do you want to change it?
    What do you want to change it to?
    If you are generating the page, you can obviously produce different code behind the button using JSP to generate javascript code.
    eg
    function alertUser(){
      alert('<%=  alertMessage %>');
    }That will produce a different function every time you load the page, depending on the variable "alertMessage".
    You can also replace javascript handlers at runtime, just by simply assigning functions. However you at the client end you are only able to run javascript - no java.
    eg
    function alertUser1(){
      alert("action a");
    function alertUser2(){
      alert("action b");
    <button id="button1" onclick="alertUser1()">Alert!</button>
    <button onclick="button1.onclick=alertUser2">Alert!</button>Does that help?

  • Dropdown display changes based on user selection in previous dropdown list

    Hi,
    I am really having trouble with this and spent a lot of time researching several blogs, tutorials, youtubes, etc. I just cannot get what I've found to work for me.  I am creating a simple form in LiveCycle Designer 8.0.  I have a table of 14 rows and four columns (row one is the header).  Each cell in the first 3 columns contain a dropdown filling the thirteen rows.  The last row is a user entered numerical field.  My query is related to the second column's drop downlist (months1) containing two items (24, 38) and the third column drop downlist (hours1) containing 5 items (4,000, 6,000, 8,000, 10,000, and 12,000).  In addition, there is a default item in each drop down set at <select>.
    I would like to have the instructions and script needed that will display the correct list of choices to the users in the "hours1" drop down list based on what was selected in the months1 dropdown.
    For example;
    if the user selects "24" in the months1 dropdown, then the hours1 dropdown should display "4,000, 6,000, and 8,000" only.
    if the user selects "36" in the months1 dropdown, then the hours1 dropdown should display "6,000, 8,000, 10,000 and 12,000" only.
    This type of coding would be great to replicate in other forms I have been tasked to do.  Thanks!

    This is helping me out. The only thing I am having trouble with is running the script from a function set up as a variable. I have a variable called "Members" set up with the following function:
    function TeamMembers()
              TimeSheetSF.EmployeeInfoSF.TeamMemDrop.rawValue = "";
              TimeSheetSF.EmployeeInfoSF.TeamMemDrop.clearItems();
              var myTeam = this.boundItem(xfa.event.newText);
              switch (myTeam)
                        case "Team 0":
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Cheryl");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Neil");
                                  break;
                        case "Team 1":
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Pat");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Carl");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Conn");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Gayle");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Gene");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("John");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Mich");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Malind");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Alan");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Maln");
                                  break;
                        case "Team 2":
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("David");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Cris");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Chad");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Linda");
                                  TimeSheetSF.EmployeeInfoSF.TeamsDrop.addItem("Steph");
                                  break;
    When I add the following to the change event of the first field and run it nothing happens. The drop down in the TeamsDrop drop-down field does nothing.
    Members.TeamMembers();
    If I add all of the code to the change event without it being wrapped in a function it works. I can't figure what I am doing wrong.
    I might add that I am creating the first drop down using a function in a variable and it works just fine.

  • Dynamic dropdown based on user selection of another dropdown on the same page

    hi all, ok, I have a table which contains use data, a name,
    and a userID. for the example lets say "Simon Bullen" and my userID
    is "999".
    on a form I have, there is a dropdown box, which is dynamic
    from this table, and allows me to select Simon Bullen, however, I
    have a hidden field on the form, which when the user selects "simon
    bullen" the hidden field populates with the appropiate U number
    from the same table.... no i thought this would do it:
    <cfquery name="userNumber" datasource="userList">
    SELECT userNumber FROM dbo.Users WHERE Name =
    <cfqueryparam value="#form.Name#">
    </cfquery>
    and then my dynamic form field (hidden) would reference to
    this query....
    but it doens't work, could somebody please enlighten me? I'm
    hoping its something silly
    Thanks in advance

    You could make the value of the option the UserID and the
    option display the name.
    If that isn't what you need, I think you'll need some
    javascript to populate your hidden field based on what is chosen in
    the select.
    I think you can modify this:
    http://www.javascriptkit.com/javatutors/selectcontent2.shtml
    ...to populate your hidden field instead of a new select
    list.
    If there's a way to do that without JS I'm not aware of it.
    A third possibility: look up the UserID (based on the name
    chosen) after the form is submitted then do with it whatever you
    need to.

  • Dynamic variation of prompt clause based on user selection

    Hi,
    I would like to know if there is any possibility to change the query to have 'IN' clause or '=' clause based on user prompt selection.
    Say, if user enters single value for a prompt, the query should have = clause and when enters multiple input, the query change to IN clause.
    HummingBird tool has the capability to dynamically change between = and IN based on the prompt selection.
    There seems to be some issue in performance because of the IN clause we’ve used while passing single prompt value when compared to Hummingbird tool.
    Is it possible in BI Publisher???

    Hi ,
    It is not possible to select the IN or = based on Prompt selection directly..
    You can Use IN..that will work as = also..
    Thanks,
    Ananth

  • Dynamic header based on the chosen Grid POV

    Hello,
    I have two grids Grid1 and Grid2. Both the grids have one editable POV and are different from each other. Either of the grids are being hidden based on a flag being input by the user.
    I need to display the dimension name and the member name of the chosen Grid POV in a text box in the header. This needs to dynamically change based on the grid being displayed. e.g. If the Grid POV for Grid1 is "X" and for Grid2 is "Y", I need to display "X" when the grid2 is hidden and "Y" when grid1 is hidden. There is no conditional formatting on text boxes in headers. Is there any other way to do this?
    Thanks,
    Ravi B

    Hi Ravi,
    yes you can not apply conditional formatting on text boxes.
    But it is possible to put the conditional formatting on the grid cell and then you can pick the text from grid cell into text box.
    Hopefully this will solve your problem.
    Regards,
    Rahul

  • How to Filter Key Figures in Columns Based on a Selection

    Hello,
    I am trying to get my columns to dynamically filter based on some selection and would like to know what is the easiest way to make this happen.  My scenario involves displaying 12 months of data for an actual / budget view.  So we may need 8 months of actuals and 4 months of plan, 9 months of actuals and 3 months of plan, 10 months of actuals and 2 months of plan, etc.  The row is cost element and my columns are restricted key figures.  I want the user to be able to easily select an 8/4 look and the dynamically remove the unnecessary columns.  Same with a 9/3 or a 10/2.  Besides these 12 months of Act / Bud, I have 12 months of plan, 12 months of actuals for other years, so I have lots of key figures.  Just doing the basic filter can be too cumbersome.
    Thanks,
    Cherie

    Hi Cherie,
    This is exactly the type of problem that I'm currently trying to figure out. I'm trying to following your solution but I'm not clear on how you actually achieved this in you last note. I want to dynamically select actuals/budget column fields based on what period I enter. I thought about creating 12 separate RKF fields for actuals and 12 separate RKF fields for the budget reforecast and outputting these all and then doing some VBA to hide the fields not required based on which period was selected... how is your variable ZFYAPER7 defined and calculated?
    Cheers

  • Integrating Wordpress into Muse need dynamic height based on content with cross domain

    Since Muse doesn't currently support Blogs and Wordpress integration I have decided to use an iFrame.
    My goal is to have the height of the iframe dynamically change based on the content in my Wordpress blog. I understand this is a common issue with frames that are hosted on different domains.
    I am running into having to over compensate with a bunch of deadspace to allow enough room. Alternatively I get the horrible looking scroll bar.
    I have tried using cross site scripting, JQuery and postMessage but am having trouble figuring out how to put the proper code into Muse and Wordpress for them to communicate back and forth.
    Please, any help on this matter would be greatly appreciated.

    Abhishek,
    Thanks for your reply, however, it is not working with Muse. I added the Javascript to the head section and adjusted iframe and it displays as a small square in the upper left hand corner, unable to view the whole page.
    Inserted into head section --
    <script type="text/javascript">
       function resizeIframe(obj)
      obj.style.height = 0;
      obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
       </script>
    inserted as an html object --
    <iframe name="MycoSmooth" src="http://www.mycosmooth.com" frameborder="0" scrolling="no" id="iframe" onload='javascript:resizeIframe(this);' />
    Below is the result:
    The purpose is to have an independent website run the blogging capabilities, since muse doesn't directly support blogging as of yet.
    Since the site is on a different domain, I am running into cross domain issues and it won't get the height of the page. The methods that apparently work use php and I am unsure how that would work in muse, if at all.

Maybe you are looking for

  • Crystal Reprots Format

    Post Author: DAndre10 CA Forum: General Hello All, I had a question concerning the format of crystal reports.  Is there anyway possible to have the information displayed vertically instead of horizontally?  I know ift may seem like a wierd question,

  • How to call a bean method from html component in jsf

    hi all i need a solution for this problem of mine.. actually em working on a jsf application with contains a jsf-jsp having a span containg html button inside my javascript. i want to call a method on click of this button and fetch some data which i

  • Event triggering by abap class & ISR

    hi gurus 1 ) can i able to see the event triggering by abap class in SWEL ?  , 2) in custom  ISR scenario , new form scenario has been created by our functional consultant , and asking me to trigger a workflow for approval ,  when employee fills that

  • Flash builder doesn't start !

    Hi, I have a cloud version of flash builder and resently I try to start like usual and nothing append ! I try to reinstall it burt no changes ! any help ? sorry the solution is here http://forums.adobe.com/message/5202497#5202497

  • HT1212 how do i get into my ipod when it says ipod diasabled try again in 23,000,000 minutes

    how do i get into my ipod when it says disabled try again in 23,000,000 minutes