Duplication of values in chart that based on hierarchy

Hi Gurus!
Look. For example, I have hierarchy
A
-> AA
->->AA1
->->AA2
B
-> BB
->->BB1
->->BB2
If at the level BB2 I have values (for example Quantity = 10 for BB2) the hierarchy will look like:
A           
-> AA     
->->AA1 
->->AA2 
B            10
-> BB       10
->->BB1   0
->->BB2    10
So, 10 will be shown at BB and B. But this is ok, of course.
But when I created a chart based on hierarchy, and restricted this chart to BB, I see:
Quantity BB = 10
Quantity BB1 = 0
Quantity BB2 = 10
But I would like to see values for BB1 and BB2 only. So, if I select node BB, I would like to see corresponded quantities for sub-nodes, but not for BB. So, the chart usually looks like divided on 2 equal parts sphere, 1 part for BB, and another part divided on BB1 and BB2.. Is it possible to show BB1 and BB2 only when I selected BB in navigation?
Iryna.

Hi Iryna,
there is an entry "Show expanded Hierarchy nodes" in the options for graphics. You can find it in the SAP standard template or in the Web Application designer. If the entry is not set, only the lowest expanded nodes of a hierarchy are displayed.
Kind regards,
Jürgen

Similar Messages

  • Render a trending line chart that tracks 5 values over 13 weeks

    I want to create a line chart that display a trend for 5 categories over 13 weeks. Can someone give me an idea of how the view context would be designed for this at design time?
    I'm new to web dynpro so i hope this makes sense. Would the view context appear similar to this?
    ChartData (node)
    --CategoryType (value attribute)
    --Wk1Value
    --Wk2Value
    --Wk3Value
    --(wk4 through wk13Value)
    Thank you,
    julian

    Crystal Reports is a database reporting tool, thus Crystal's charting engine plots data FROM the database.
    Excel is not; one can manually add values to Excel then plot those values on a chart in Excel.
    So if they only have 5 weeks worth of data being pulled in to CR they'll get a chart for 5 weeks.
    Suggestion:  Report off the excel spreadsheet and pull that data in along with the Excel chart.

  • Creating charts that represent current year in Months in order to show YTD performance by month

    I continue to struggle with what, to me, seem to be the simplest things in SSRS.  I have spent over two days trying desperately to get a chart to properly show the quantities of Manufacturing Orders that we have made each month, Year To Date. 
    Below is the closest I’ve been able to come and the axis is still off by one month and not in sync at all with my data. 
    Then when I run the report for other part numbers, that only have MO’s in say two months (Jan & Jun), they don’t even behave scalar and I get the following screwed up mess.  Notice the two columns have decided to fill most of the scale and they
    did not skip the four months between Jan and Jun and they also are completely out of sync with my scalar x-axis!
    My goal is to create a chart that can be run for any part number on any day and show how many times it has been built during the current calender year.  Chart should always show months of current year starting Jan on left and ending with Dec on
    right (even if I am running report in February for example).  Then for each month that we have data, it should show the QTY on the column chart and leave blank columns for months with no data.
    Can anyone help me with this? 
    Chris

    Hi Chirs,
    From your desription, you want to createa a chart to show all the months on the chart no matter it has data on that month or not, rigth? If in this case, we can create an other dataset to show all the month, and then use the lookup function to get the month
    QTY. The steps below are for you reference.
    Create an other dataset use the query below.
    DECLARE @TMP TABLE (Month nvarchar(20),QTY INT)
    INSERT @TMP SELECT 'Jan',0
    INSERT @TMP SELECT 'Feb',0
    INSERT @TMP SELECT 'Mar',0
    INSERT @TMP SELECT 'Apr',0
    INSERT @TMP SELECT 'Mat',0
    INSERT @TMP SELECT 'Jun',0
    INSERT @TMP SELECT 'Jul',0
    INSERT @TMP SELECT 'Aug',0
    INSERT @TMP SELECT 'Sep',0
    INSERT @TMP SELECT 'Oct',0
    INSERT @TMP SELECT 'Nov',0
    INSERT @TMP SELECT 'Dec',0
    SELECT * FROM @TMP
    Drag [Month] filed to Category Groups and drag [QTY] field to Values.
    Then change the of [QTY] to:
    =Lookup(Fields!Month.Value,Fields!Month.Value,Fields!QTY.Value,"DataSet1")
    The report looks liek below.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Assigning a Numeric Value in a Cell Based on Text in Another Cell

    In advance, thanks for your assistance. I'm trying, in vain, to assign a numeric value in a cell based on text (from a dropdown menu) in another cell. For example, in cell A5 I have a dropdown list that includes the options "blue", "red", "white", and "gold." I want cell C15 to be 2 if A5="blue"; I want C15 to be 0 if A5="red"; I want C15 to be 2 if A5="white"; and, I want C15 to be 1 if A5="gold."

    Tippet,
    This is a job for LOOKUP.
    The expression for the Result cell is: =LOOKUP(A2, Lookup :: A1:A4, Lookup :: B1:B4)
    The aux. table contains the matches that you assign for the colors.
    Regards,
    Jerry

  • Deriving 1 Value from 2 Fields Based on Values in Fields

    I have a query that needs to return 1 of my values based on the values from 2 fields from 2 tables. However, the value should only be returned in 1 field and one of the fields should be evaluated first. If this first evaluated field has a certain value ('Y') then the other field is ignored.
    To be more clear, per the normal query below, what I want is to somehow, if possible, combine the case t2.el_contr and case t1.contr_type statements so that one field, say: mbr_contr_type_desc returns a value.
    So that if the value of t2.el_contr is 'Y' then 'SUB CHILD' is returned. It is important that this field should be evaluated first (If the value of it is 'Y' then the other field evaluation can be ignored). If this is not 'Y', then t1.contr_type should be evaluated and the values as listed below also returned to mbr_contr_type_desc.
    I know the following isn't correct, but it might better illustrate what I'm trying to do (the normal query is below this)
    case t2.el_contr
    when 'Y' then 'SUB CHILD'
    case t1.contr_type
    when 'A' then '1 PARTY MALE SUB'
    when 'B' then '1 PARTY FEMALE SUB'
    when 'C' then '2 PARTY MALE SUB'
    when 'D' then '2 PARTY FEMALE SUB'
    when 'F' then 'FAMILY MALE SUB'
    when 'G' then 'FAMILY FEMALE SUB'
    end as mbr_contr_type_desc
    In an Access query I would do the following in a column:
    iif([el_contr]='Y',"SUB CHILD',SWITCH([contr_type]="A","1 PARTY MALE SUB",[contr_type]="B" etc.))
    *NORMAL QUERY*
    select t1.ssn
    t1.type,
    t1.grp_id,
    t1.contr_type,
    t2.el_contr,
    case t2.el_contr
    when 'Y' then 'SUB CHILD'
    end as mbr_contr_type_desc_2,
    case t1.contr_type
    when 'A' then '1 PARTY MALE SUB'
    when 'B' then '1 PARTY FEMALE SUB'
    when 'C' then '2 PARTY MALE SUB'
    when 'D' then '2 PARTY FEMALE SUB'
    when 'F' then 'FAMILY MALE SUB'
    when 'G' then 'FAMILY FEMALE SUB'
    end as mbr_contr_type_desc_1
    from member_elig t1
    inner join grp_master t2 on
    t1.grp_id = t2.grp_id

    Perfect!
    Thanks, didn't know that existed. Still learning my way around pl/sql..
    One other (unrelated) question..when i hit the CTRL+LEFT ARROW* button in my SQL window, it will not tab back. This is really annoying! I have looked through PREFERENCES-EDITOR and can't seem to find any setting that will allow this. Do you know of any way to change this so I can tab backwards/fowards through code in the SQL window?
    Thanks for any suggestions!
    *Or CTRL+RIGHT ARROW for that matter..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Setting the value of a field based on a dropdown list

    I am using the latest production release of JHeadstart 10.1.3.0.91. I am trying to set the value of a field based on selecting the value of another field (drop down list). The drop down list field has the following attributes set autoSubmit="true" immediate="true" valueChangeListener="#{jhsPageLifecycle.updateModelValue}".
    The other field has the partialtrigger set to the first field. ie "depends on" selection from JHeadStart file. The value of the second field is set in the setter of the VO RowImpl java file.
    The value of that field is only populated on the screen if it is set to disabled="true". This seems a bit bizzare behaviour. Can you explain why it cannot set the value of the field when it is not disabled.

    Worked out that if i set the "Clear/Refresh value" attribute on the field that i want updated then it will work ok
    Alan

  • Get values in dropdown field based on f4 help in another field

    Hi Experts,
    How to Get values in dropdown field based on another field which is F4 Help. If I select one value in f4 help field(ex: 1) I need to get values in dropdown field (ex:a, b, c),If I select another value in f4 help (ex:2) I need to populate different values (ex: d). Can any one please provide sample code that can help more.
    Thanks,
    Ashok.
    Moderation: Kindly search and find the solution, before you post.

    Dear Ashok,
    You can take help from this program in SAP named BCALV_EDIT_08.
    Thanks.
    With regards.

  • Refreshing Flash Chart Report based on a Multi-Select List

    I have P13_SYMBOL multiselect list object..
    Set "HTML Form Element Attributes" property of P13_SYMBOL to onchange="javascript:getchart(this);"
    I have written following code at page HTML Header section.
    <script type="text/javascript">
    function getchart(filter)
    var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=GET_CHART',0);
    get.add('G_SYMBOL', filter.value);
    var ret = get.get();
    if(ret)
    var d = document.getElementById('P13_SYMBOL');
    d.innerHTML = ret;
    Created Application Item G_SYMBOL
    Created Application Process GET_CHART as follows.
    DECLARE
    vSymbol VARCHAR2(100);
    BEGIN
    htp.p(:G_SYMBOL);
    EXCEPTION WHEN OTHERS THEN
    htp.p('No such symbol!');
    END;
    Flash chart flash following query.
    select null link, TIMESTAMP label, OPEN value1, HIGH value2, LOW value3, CLOSE value4 from "DCF"."DAILY_STOCK_QUOTE"
    where symbol=:G_SYMBOL
    order by TIMESTAMP
    When I change symbol in multiselect list flash chart doesn't get refresh.
    Any idea what is the wrong with the code?
    Edited by: user8638468 on Mar 3, 2010 12:39 PM
    Edited by: user8638468 on Mar 3, 2010 5:30 PM

    Hey there...
    The reason it's not refreshing is because you actually have to tell the flash chart that it NEEDS to refresh. Unless you have Asynchronous Update turned on, the chart will not refresh itself when the data behind the chart has changed. And even if you DO have Asynchronous Update, on, (Which you don't want to do), you'd likely see some lag between your user's change and the data in the graph changing.
    You can do this by using an APEX JavaScript function called apex_RefreshChart().
    1) Edit the chart and go to the REGION DEFINITION tab.
    2) In the REGION SOURCE, scroll down to the bottom and ad the following code
    <script type="text/javascript">
    function myRefreshChart(){
       var chartName = '#CHART_NAME#';
       chartName = chartName.substring(1);
       apex_RefreshChart(&APP_PAGE_ID., chartName, 'en-us');
    </script>3) At the end of your JavaScript function, call the new function myRefreshChart().
    That should force the chart to refresh by re-executing the underlying query and passing back in the data to the chart.
    NOTE: This function is not part of the publicly documented API's so it's likely not supported, but it does work!
    Look for a blog post with more detail sometime tomorrow.
    Hope this helps.
    Doug Gault
    http://www.sumneva.com
    http://douggault.blogspot.com

  • Value based dimension hierarchy in OBIEE 10G

    Hi,
    I am a user of OBIEE10G. I have to create a value based dimension hierarchy in my RPD. My hierarchy should be such that when I click on any VP Name, the respective employees working under him/her should be shown. But my columns of VP Name and Employee_Name are present in separate dimensions. Hence when I drag the column of VP Name to Employee dimension and then create the dimension hierarchy, I get an error of illegal cross join .
    Is value based hierarchy possible in 10G?
    Pls reply.
    Thanks
    Ankita
    Edited by: 848789 on Sep 28, 2011 8:40 PM

    Hi Ankita,
    As per my Understanding the VP column did't map to any LTS .
    When ever u have multiple LTS in Dim Admin tool won't create Dimension Hierarchy manually we need to create that.
    Follow these steps to resolve your Problem...
    1) give the simple join in physical layer for that two tables.
    2) Create one Dim table in to BMM layer drag all columns in 2 tables in to BMM Dim table so u can able to see all the columns is mapped in to their respective LTS.
    3) Now u can create hierarchy manually step by step.Like Grand total Parent ----> Child level .
    4) If u have any fact table joined with these dimension in physical layer give the logical joins in BMM layer and set the content levels properly.
    Let me know need any detail clarification.
    Thanks,
    Satya

  • Creating a chart that has one series as a scatterplot, and another series as a column plot?

    I need to create a single chart that has two different series: one as a scatterplot, and another as a column plot. Please, I really have no idea how to do this, I know it's possible with excel, but I'm new to numbers and haven't figured it out yet, despite my best efforts. Thanks, any help would be greatly appreciated.

    Hi sy',
    Scatter charts are the only type of chart in Numbers that have two Value axes. All of the other charts are Category charts, and have a single Value axis and a Category axis.
    The two types can't be combined.
    You can produce a combined line and bar chart; these are both category charts. The two can share the same value axis, or each can have a value axis with a scale and range different from the other.
    Regards,
    Barry

  • 2D Column Flash Chart - Series Showing Zero Values in Chart

    Hi,
    I have created a 2D Column Flash Chart - with 6 series with different coloring of bars..I have obtained the result as I wanted.
    Now the problem is the distance between one series to another series is filled up with value 0.
    Anybody please help me remove the 0 value in chart which is coming between series.
    Thanks
    JP

    Hello,
    I guess you must have data that reflect the 0 value, no?
    In your query can you do WHERE value <> 0, so they don't get taken into account or is it the purpose to keep them in?
    Thanks.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/

  • Having a chart change based on what group is displaying in Report Builder.

    Hello, I'm trying to create a report that is grouped by department that shows data for the last 12 months in the detailed section. I also want to have a chart that will graph that data in the group header. I have tried to 'link' the query in the chart using #query.dept_id# to limit the data to just that department, but the #query.dept_id# does NOT seem to change when the dept_id changes. There seems to be a way to link a sub-report, but no way to link a chart.
    Any help would be greatly appreciated.
    Thanks

    Found a better solution to solve this, subreport is not needed:
    define a calculated field for the value that changes with the group.
    it is not necessary to place this anywhere in the report, just define it.
    use this calculated field in the chart query instead of the report query field.
    Best regards

  • SSRS 2008 - hide chart lines based on parameter selected

    How to control visibility of chart lines based on Params selected by user?
    By default, my report display last 3 years worth of data (including current) with Month on the x axis and Counts on the y axis. I have two Boolean parameters:
    TwoYrs? T/F
    ThreeYrs? T/F
    if False is selected for TwoYr and ThreeYr parameters then I want to hide chart lines corresponding to last year and the year before.
    What I've tried: Created 3 Series groups with filters. eg. YearSeries1 to return only current year data and applying an expression to display it if params TwoYrs and ThreeYrs = False. and so on for YearSeries2 to return current + last
    years data if param TwoYrs is True and ThreeYrs = False.  But I don't see where to add expression to control the display of the individual series groups.  I am open to any way of doing this, but this seemed most logical.

    Hi Ok-Hee,
    In your Source Query just need to filter the series data based on the Parameters.
    I have written sample query below:-
    select * from
    select 1 monthnumber , 'Jan' MonthName, 2013 year,100 amount
    union
    select 1 monthnumber , 'Jan' MonthName, 2014 year ,200 amount
    union
    select 1 monthnumber , 'Jan' MonthName, 2015 year , 300 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2013 year, 300 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2014 year, 350 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2015 year,200 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2013 year, 380 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2014 year, 100 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2015 year, 500 amount
    )t
    where year in (
    select distinct FilterYear from
    select case when @TwoYrs=1 then year(getdate())-1 else year(getdate()) end FilterYear
    union
    select case when @TwoYrs=1 and @ThreeYrs =1 then year(getdate())-2 else year(getdate()) end FilterYear
    union
    select year(getdate()) FilterYear
    ) t
    I have created one post in my blog , you can check the result.
    https://msbitips.wordpress.com/2015/03/12/ssrs-2008-hide-chart-lines-based-on-parameter-selected/
    Thanks
    Prasad

  • Insert value into a column based on value of another column

    Hi,
    I am trying to insert a value into a record based on a column in
    the record, using a trigger. The complication arises because
    the new value is selected from the same table. For example:
    SELECT COL1, COL2, COL3, COL4 from TABLE1
    I want to set COL2 and COL3 based on the value of COL4. And to
    get the value of COL2 and COL3, I will go back to TABLE1 and set
    the condition to TABLE1.COL1 = :NEW.COL4
    I cannot seem to execute the trigger as I get the message "ORA-
    04091: table SYSTEM.TABLE1 is mutating, trigger/function may not
    see it" everytime.
    Is this the correct way to achieve what I wanted? Or is there
    another way?
    Appreciate your feedback. Thank you in advance.

    Hi,
    I am trying to insert a value into a record based on a column in
    the record, using a trigger. The complication arises because
    the new value is selected from the same table. For example:
    SELECT COL1, COL2, COL3, COL4 from TABLE1
    I want to set COL2 and COL3 based on the value of COL4. And to
    get the value of COL2 and COL3, I will go back to TABLE1 and set
    the condition to TABLE1.COL1 = :NEW.COL4
    I cannot seem to execute the trigger as I get the message "ORA-
    04091: table SYSTEM.TABLE1 is mutating, trigger/function may not
    see it" everytime.
    Is this the correct way to achieve what I wanted? Or is there
    another way?
    Appreciate your feedback. Thank you in advance. I'm not sure what you mean when you insert a value into a
    record, but if you are setting a value in a column of the same
    record using a trigger, then it's easy.
    :new.COL2 := ....:new.COL4...
    :new.COL3 := ....:new.COL4...
    The trigger must be 'INSERT or UPDATE' and 'FOR EACH RECORD'.
    If you are setting a different record in the same table, the
    solution is much more difficult.

  • Function to return a value of a object based on last record by date

    Post Author: Tned
    CA Forum: Desktop Intelligence Reporting
    Can anyone assit with a method/formula to return the a value of an object based on the last record by date. BO 5 or XI. See example below. Query structure is not an issue. Only need help with the last record function or aggregate.
    Data Table         
    ID / Serial #
    Date
    Status
    Condition
    Abc1
    01/01/08
    1
    A
    Abc1
    01/02/08
    1
    Z
    Abc1
    01/02/08
    3
    Z
    Abc1
    01/04/08
    2
    D
    Abc1
    01/05/08
    5
    E
    Abc2
    01/01/08
    1
    F
    Abc2
    01/02/08
    2
    Z
                                                                                    Desired query results. Only the values of the latest records returned.                      
    ID / Serial #
    Status
    Condition
    Abc1
    5
    E
    Abc2
    2
    Z

    Post Author: Tned
    CA Forum: Desktop Intelligence Reporting
    Thanks Prashant
    However, when i add either the status or condition variables to the report all lines related to the ID are returned not just the last entery by date.
    Thanks again.Terry

Maybe you are looking for

  • Dreamweaver adding local testing server MySQL-HELP REQUEST

    I have a website on register.com and I am using MySQL for the first time. My DB and table have been created using MyPHPAdmin. Now I want to use my Dreamweaver to setup a testing server that will be local and then upload asp pages after testing. Can A

  • Wireless printer goes offline

    I recently purchased an HP Laserjet Pro CP 1025nw wireless printer.  If I turn off the printer it is offline when I turn it back on.  I left it on all night and it was offline this morning.  The only way to resurrect it is to uninstall and install th

  • ADF 11g: Possible to programatically set the pivot handle label ?

    Hi all, I am using JDev/ADF 11.1.1.3. I have a pivot table and I would like to dynamically set the pivot handle labels. The value needed for the label is another column in my view object. I tried 3 different approaches to no avail and I am running ou

  • How can I use jbo:ShowValue for some columns and bc4juix:RenderValue for other co

    Using a UIX/JSP page, how can I get the <jbo:ShowValue> tag to work in the following situation? I've ditched the "AttributeIterate" so that I can manually select the columns I want. --- snip --- <uix:form name="form1" method="GET"> <bc4juix:Table dat

  • Quant number range problem

    Hi, I can see the latest quant number is 172 via tcode LS26, but current number  in the customzing of quant number range definition is 170, so the errors occurred when the system tried to create TR, so what's the problem with the number range update?