Display Minimum and Average values

Hi Guys,
In my scenario, I have a department and sub departments. I need to display the min, max and avg of a particular keyfigure for each of the departments. The keyfigure has a value for each of the sub-depts and I need to take the min of all the values of the sub-depts that fall under the dept.
Greatly appreciate your help.
Doniv

Yeah Bhanu,
I tried doing that but that doesnt exactly help in my case, because I should not display the keyfigures for the individual sub-depts, and I believe that, "Calculate Result As..." can be used when the individual key figures are displayed on the report and the result is to be calculated based on those values.
But I need to display only the depts and not the sub-depts. So it is displaying the result (as in "nothing defined")from aggregation of the keyfigure.
Thanks,
Doniv

Similar Messages

  • Message Mapping(Display queue and Suppress Value)

    Hi Experts,
    In Message Mapping(graphical mapping), upon checking the properties of the nodes,there's one property display queue, in which suppress is there??
    What does it mean?? Which queue it points and what value is suppressed??
    Thanks & Regards,
    Sushama

    Hi Sushama,
    SUPPRESS means no value.
    suppose we are checking one condition (tdid = "RE" then pass tdline) based on the condition we will send one output. if the condition fails then suppress value goes to the target.
    > What does it mean?? Which queue it points and what value is suppressed??
    es:  if(tdid.equals("WE") ifwithoutelse pass tdline value as output.    [tdid is in E1EDKA1 segment and this segment occurance is multiple]
    In this case if the condition is satisfied once and failed once (means E1EDKT1 segment comes 2 times) then first time it sends the corresponding tdline value and second time it sends the SUPPRESS value.
    Regards
    Ramesh

  • Change Datepicker Minimum and Maximum Value

    Hi everyone,
    I have a date item with minimum and maximum dates from 2 hidden items.
    The problem is that when i change the value of thos 2 hidden items , the minimum and maximum dates in my datepicker doesn't change.
    I've tried refreshing the date item but it still doesn't work.
    Kind Regards,
    Cearnau Dan
    APEX 4.0.1

    Geert,
    Thanks for your reply. I tried making the hidden item to not protected as you suggested. Changing it to not protected had no effect on setting the Min/Max values of the date picker.
    After reading the following thread I have had some success using javascript to the min/max option of the date picker.
    Re: Dynamic Action On Date Picker
    Documentation on jquery date picker.
    http://jqueryui.com/demos/datepicker/
    Thanks,
    Todd

  • Webi displays null and wrong values after BW upgraded to SP6

    Hi,
    Webi report retrieves blank values after BW Backend upgraded to SP6.
    We were on SAP EHP 1 for SAP Net Weaver 7.0 and SP4. On the BO side we are on BO XI R/3 FP 2.1.
              Once we add new filters to a simple webi query the webi displays the null values for the characteristics which already exist in the report and more ever wrong values displayed for few columns. We have checked the MDX query in BW by using 'MDXTEST' and the results are good.
            It looks like that it is a rendering issue in Webi side and exactly no idea...
    Can anybody know how to fix the issue or any SAP notes exists for resolving this?
    Thank you,
    Regards,
    Satya

    Hi Ingo,
    We are also facing the same issue that satya is facing.
    We have developed the reports in BO XI 3.1 SP2 FP2.1 and SAP BW 7.01 EHP1 which was running correctly and showing the right result.
    But we upgraded the BW system to SAP BW 7.01 SP6 and check the WebI reports which was showing the unexpected results. ( instead of n rows it shows only 1 row for any query without dimension values)
    So we upgraded the BO sys to BO XI 3.1 SP2 FP 2.6 and checked the result but no luck with that also.
    The workaround i found is i must need to add the Node objects from the universe in the Query which are also used in the query filter of Web Intelligence. But this is not reliable as we need to change all the developed queries.
    We have also tried to perform the things shown in the notes but no MDX trace is enabling.
    Please let me know if there is any other solution.

  • TSQL Query to display First and Last Values of a GROUP as Columns - SQL Server 2008

    Could someone please help with the TSQL to achieve the following: Every Employee has 2 records (From & To). Output has to display one record for each employee with From & To as columns.
    Input
    Empid
    Type
    Date
    100
    From
    5/4/2004
    100
    To
    6/2/2008
    101
    From
    6/12/2003
    101
    To
    6/2/2013
    102
    From
    12/12/2012
    102
    To
    5/3/2014
    Output
    EmpID
    From
    To
    100
    5/4/2004
    6/2/2008
    101
    6/12/2003
    6/2/2013
    102
    12/12/2012
    5/3/2014
    Thanks, Ashish Singh

    SELECT empid,
    MAX(CASE WHEN Type='From' THEN date END) from,
    MAX(CASE WHEN Type='To' THEN date END) to
    FROM tbl GROUP BY empid
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Display of "Average Values Text in ALV grid"

    Hi
        I use ALV grid to display  the fields from a table. I have 15 columns.  I need to do average for four columns.
    In the field catalog i did a do_sum for those fields.
       When the ALV grid is displayed I get average values for these columns.
    Eg. Let suppose the grid looks like
    Field1           Field2           Field3             Field4     Field5         Field 6.
    vendor1       18                 22                   6            17                28
    vendor1       54                 11                  16           62                28
    vendor1       33                 21                   26          79                18
                        35             18                 16        52             24
      My requirement is I need to display the text "AVERAGE VALUES" . ( I need something like this.)
    Field1                      Field2           Field3             Field4     Field5         Field 6.
    vendor1                   18                 22                   6            17                28
    vendor1                    54                 11                  16           62                28
    vendor1                    33                 21                  26          79                18
    Average values        35             18                16        52             24
    Could someone help me in this?
    Thanks & Regards
    Kavitha

    Hello,
    you can use event subtotal_text of ALV_GRID.
    Regards,
    Pedro Santos

  • SNR and RSSI Values.

    HI ,
    What is the  tha average ,minimum and maximum  values of  SNR(Signal to noice ratio ) and RSSI (Received Signal Strength Indicator ) in  cisco  access points   .
    And how it is depends on the client connectivity with the Access point.
    Thanks & Regards,
    Sinjish.K      

    I am not really sure what you asking here, but My guess is your trying to get a grasp on what SNR and RSSI
    values are how they relate to clients, and how they relate to connectivity. If this is the case read on. otherwise well ingore this post..
    SNR (Signal-to-Noise Ratio) is a ratio based value that evaluates your signal based on the noise being seen. So let's look at the components of the SNR and they see how to determine it.  SNR is comprised of 2 values and is measured as a positive value between 0db and 120db and the closer it is to 120db the better: Signal Value and Noise Value typically these are expressed in decibels (db).
         So we will look at the Signal (Also known as RSSI) first this value is measured in decibels from 0 (zero) to -120 (minus 120) now when looking at this value the closer to 0 (zero) the stronger the signal is which means it's better, typically voice networks require a -65db or better signal level while a data network needs -80db or better.  Normal range in a network would be -45db to -87db depending on power levels and design; since the Signal is affected by the APs transmit power & antenna aswell as the clients antenna (I'll explain this later.)
         Now to the Noise side of this equation, noise is any signal (interference) that is not WiFi traffic such as cordless phones, microwaves, radar, etc. This value is measured in decibels from 0 (zero) to -120 (minus 120) now when looking at this value the closer to -120 (minus 120) is better because that means there is little to no interference. Typical environments range between -90db and -98db.
         So to calculate your SNR value you add the Signal Value to the Noise Value and it generates (or should) a positive number that is expressed in decibels (db); for example lets say your Signal value is -55db and your Noise value is -95db.
                        -55db + -95db = 40db this means you have an SNR of 40, my general rule of thumb is that any SNR above 20 is good.
    RSSI (Recieved Signal Strength Indicator) is a more common name for the Signal value; meaning it is the strength that the device is hearing a specific device or signal.RSSI is most common used in bridge links where on client laptops they just call it Signal.
    As for your question about the maximum and minimum supported by cisco access points that is hard to answer because the antennas attached to the access points also factor into it. In general the Cisco APs have the following maximum transmit powers: 802.11a/n is 40mw or 14dbm, 802.11b is 100mw or 20dbm, 802.11g is 50mw or 17dbm; although in some cases countries and specific channels can alter these limits.
    The last three things I will kind of explain is the EIRP, Free Space Path Loss, and Client side.
    EIRP (Effective Isotropic Radiated Power) is the actual amount of signal leaving the antenna and is a value measured in db that is based on 3 things:Transmit Power (db), Cable Loss (db), & Antenna Gain (dbi). To determine EIRP follow this equation: - Cable Loss + Antenna Gain = EIRP. For example we have a Cisco 1242AG access points running at full power with a 6dbi antenna on the 802.11a radio and a 2.5dbi antenna on the 802.11bg radio.
    802.11a EIRP = 17db (40mw) - 0db + 6dbi = 23db = 200mw of actual output power
    802.11bg EIRP = 20db (100mw) - 0db + 2.5dbi = 22.5db = 150mw (approx) of actual output power
    based on the example above in theory if you were to measure it right at the antenna you could get an RSSI of -23 or -22.5 respectively.
    Free Space Path Loss is a measure of how much signal power you lose over a given distance typically you lose about 0.020 db per foot in an outdoor or wide open office; doors, walls, glass, and etc. affect this. This is why as you walk away from an AP your signal gets weaker.
    All this relates to the client because it determines the signal the client recieves, also keep in mind that when looking at the client you have to account for it's antenna as well.  much like the EIRP...  So if a client card has a 2 dbi antenna (although they are typically either 0dbi or 2.2dbi) that boosts the incoming signal. as shown here assuming the actual raw RSSI signal being seen is -68db (not the value displayed in the client window).
    Actual RSSI + Antenna Gain = Displayed RSSI
    -68db + 2db = -66db
    I hope all this helps with your question...
    Please rate useful posts.
    Thanks,
    Kayle

  • Single result recording valuation based on min and max  values

    hi,
      Our client requirement is as follows:
                               While entering the single results recording the system should not calculate the average , we need the system should valuate based on the  Minimum and  Maximum values in result entry. Is it possible?. can anyone explain in details.
    Regards,
    Ramu.

    Hi
    This is a standard SAP functionality available in SAP
    As
    Variable Inspection by S-Method
    If you set this indicator, you define the valuation mode for the variable inspection according to the s-method (ISO 3951).
    For a sampling procedure with this valuation mode, valuation occurs using a sampling plan consisting of sample size and k-factor. A quality score is calculated from the measured values of a sample and compared with the k-factor.
    Now you want  Both limits should come into picture while valuating then Check valuation Rule :31 -Variable insp. s-Method (two limits)
    so select the Valuation  mode  : 310- Variable insp. s-Method (two limits)   in sampling procedure.
    I hope this will add some value.
    Regars
    Sujit

  • Query to reterive the list of parameters and there values for scheduling

    I am develeoping a web application using java sdk want to reterive a parameter list for scheduling.
    i want a query that will reterive the list of parameters
    as we see on the parameters screen in CMC when we schedule the report.

                   // Loop through the parameters to get the parameter names and parameter values.
                            for(int i=1;i<=numberPrompts;i++)
                           // Each prompt has the name SI_PROMPT + a digit starting from 1.  For example, if
                           // there are 2 prompts, the first one would be called SI_PROMPT1 and the second
                           // one would be called SI_PROMPT2.
                       IProperties prompt = (IProperties)siPrompts.getProperty("SI_PROMPT"+i).getValue();
                           // Get the parameter name.
                       String promptName = prompt.getProperty("SI_NAME").getValue().toString();
                           // Start displaying a row.
                           out.println("<tr>");
                              // First column in the row is the parameter name.
                       out.println("<td>Parameter Name = "+promptName+"</td><td><table>");
                           // Get the current values property bag.
                       IProperties currentValues = (IProperties)prompt.getProperty("SI_CURRENT_VALUES").getValue();
                           // Get the number of values for this particular parameter.
                           int numberValues = ((Integer)currentValues.getProperty("SI_NUM_VALUES").getValue()).intValue();
                           // Loop through all of the values for this particular parameter.
                           for(int j=1;j<=numberValues;j++)
                               // Print out the values.
                            // Each value has the name SI_VALUE + a digit starting from 1.  For example, if
                            // there are two values, then the first value would be called SI_VALUE1 and the
                            // second value would be called SI_VALUE2.
                        IProperties currentValue = (IProperties)currentValues.getProperty("SI_VALUE"+j).getValue();
                            // Check for the existence of the "SI_MIN" and "SI_MAX" properties.
                            // If it exists, then display the value.
                            if (currentValue.getProperty("SI_MIN") != null && currentValue.getProperty("SI_MAX") != null)
                                     // The SI_MIN and SI_MAX properties exist.
                                if (currentValue.getProperty("SI_MIN").getValue() != null && currentValue.getProperty("SI_MAX").getValue() != null)
                                    // The properties have values.
                                 // Get the SI_MIN property bag.
                                 IProperties minRange = (IProperties)currentValue.getProperty("SI_MIN").getValue();
                                 // To store the minimum and maximum values.
                                 String minValue = "";
                                 String maxValue = "";
                                 // Get the SI_DATA property of the SI_MIN property bag.
                                 // First verify that SI_DATA exists.
                                 if (minRange.getProperty("SI_DATA") != null)
                                                // SI_DATA exists within SI_MIN
                                     if (minRange.getProperty("SI_DATA").getValue() != null)
                                         // SI_DATA has value so set the minValue to this.
                                      minValue = minRange.getProperty("SI_DATA").getValue().toString();
                             // Get the SI_MAX property bag.
                             IProperties maxRange = (IProperties)currentValue.getProperty("SI_MAX").getValue();
                             // Get the SI_DATA property of the SI_MAX property bag.
                             // First verify that SI_DATA exists.
                                 if (maxRange.getProperty("SI_DATA") != null)
                                     // SI_DATA exists within SI_MAX
                                     if (maxRange.getProperty("SI_DATA").getValue() != null)
                                         // SI_DATA has value so set the maxValue to this.
                                      maxValue = maxRange.getProperty("SI_DATA").getValue().toString();
                             // Print out the Minimum and Maximum values for the parameter.
                             out.println("<tr><td>Range " + j + " Min Value " + minValue + " Max Value " + maxValue + "</td></tr>");
                                else
                                    // The SI_MAX and SI_MIN properties exist, but they don't have values.
                                 out.println("<tr><td>The SI_MIN and SI_MAX properties exist, but they don't have any values.</td></tr>");

  • How to calculate average value?

    Hi all,
    I'm using Lumira 1.15. I'm doing some practices with the sample dataset BestRunCorp... I want to calculate the average value of gross margin which is grouped by lines so that I can use a line chart to show the difference between the gross margin value and average value.
    How can I achieve this ?
    Best regards,
    Shuang

    It looks like it calculates the average based on the dimension
    See below:
    If you take the "Best run" Excel file, sort by country, calculate the average in Excel, it matches Lumira's 4,056 (for Argentina)
    I am not sure I follow your divide by 12 logic?

  • To display average value in a graph

    Hi There,
    In one graph I need to display the duration for each week as per the week range selected and a separate average duration value of the weeks selected.
    Is it possible to develop a query for above average value and use this query in WAD?
    Can anybody help in providing a solution
    Thank you
    Anima

    BI Query data can be fed directly to WAD Charts.
    See below.
    http://help.sap.com/saphelp_nw04/helpdata/en/0c/95c83956852b51e10000000a114084/content.htm

  • Overall Average and Average of part of data-set displayed simultaneously

    I am trying to write a report on Discoverer 10.1.2 that will display the average for a sub-set of a data population alongside the overall average of the whole population, BUT NOT display the average for the remaining sub-sets.
    For example:
    If there are 5 regions, A, B, C, D & E, the requirement is to display the average for region A against the overall average (averaged across all regions) and not to display the averages for teams B, C, D & E.
    Can anyone suggest how this could be achieved in Discoverer Desktop/Plus/Admin?
    Thanks
    Duncan

    Hi James,
    It looks to me like your code is not giving you the results you desire because of an assignment syntax error.  You want to add all the Upr_Values together and then divide by the Upr_Count to get the overall average for the upper lobe.  Your code, though, just overwrites the previous Upr_Value with the current one and assigns the value +1 to Upr_Count each time:
    Upr_Value =+ Chd(iLoop, "Strg_Angle")
    Upr_Count =+ 1
    Here's what you need instead to calculate the overall average:
    Upr_Value = Upr_Value + Chd(iLoop, "Strg_Angle")
    Upr_Count = Upr_Count + 1
    If you want to get the average values for each X value below the blue line, then I recommend using the Calculate() command to create two new sets of X and Y channels, one set for the upper lobe and another set for the lower lobe.  The Calculate() command can also set all unwanted data to 0 or Null so that you can then calculate the per-X value average in each lobe with the linear approximation function.
    If you want help with this, post or email me a sample data set,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    [email protected]

  • Display and return value in select list.

    hi,
    i want to display the value in select list coming from this quary .
    select student_id from class_record where class_id =:p1_class_id and SECTION =:p1_section
    minus
    select student_id from STUDENT_TYPE_DETAILS where class_id =:p1_class_id and SECTION =:p1_section;
    but i want f_name and last name with student_id .f_name and l_name store in table s_per_det.student is also in that table.
    how can i define display value and return value in this quary using 3rd table s_per_det.
    How can i do this.
    Thanks
    manoj

    Ooh, MINUS.... Can you not use a NOT EXISTS in this case, could have a big effect on the execution plan?
    Something like this perhaps?
    SELECT f_name||' '||l_name,
           stundent_id
    FROM class_record a,
         s_per_det b
    WHERE a.student_id = b.student_id
    AND   a.class_id   = :P1_CLASS_ID
    AND   a.section    = :P1_SECTION
    AND   NOT EXISTS(SELECT 'X'
                     FROM student_type_details c
                     WHERE a.student_id = c.student_id
                     AND   c.class_id = :P1_CLASS_ID
                     AND   c.section = :P1_SECTION)Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Display data to edit based on fields and its value defined in internal tabl

    I need to display data in a internal table for editing in a screen.
    you have a internal table with field name , data types and its value. I need to display data in a screen ( sceen painter not in a report) row by row in vrtical format.
    The internal table's structure not fix. you can have any number of fields in the internal table.
    Can you please send me code if it is available with you or send me any senario in SAP if any ...so that i can debug to extract the code..
    have to display data vertically as below in editable format,
    for example,
    Airline
    Flight Number
    Flight date
    Flight price
    Airline Currency
    Plane Type
    Maximum capacity
    Occupied econ.
    Total
    No of fields will change.
    also F4 help needs to be attached with each field.
    I think it can be done through step loop. can anybody give sample code or tell me where to find in SAP or somewhere else?
    it will be great help to me..
    Sanjeev

    Hi
    just check out this program DEMO_DYNPRO_STEP_LOOP.

  • Rate and accessable value is not displaying for the tax invoice output

    Hello All,
      Rate and accessable value is not displaying for the tax invoice output. Rest of all outputs for invoices shows Rate and accessable value.
    Scenerio is free of charge sales order (samples) removing the goods from pant so excise invoice has been created and also updated. but for tax invoice out put rate and access value is not displaying.
        Pricing procedure: In pricing procedure account keys have not been maintained because there is not gl account upadation during billing for free of charge delivery.
    Thanks & Regards,
    ramesh

    hi Gurpreet,
    You can add values to that transient column programatically,either by getiing the row from the iterator and then row.setAttribute('Column_name','Value');
    Or providing value to it in the SQL...

Maybe you are looking for