Suppress a Group Based on the Results of a Formula

Hi All,
Been reading through this forum as I am new to Crystal.  I have a report that must display a group of records along with their detail if  TotQOH > RunningTotal.  I tried using the running totals field in Crystal but I could not reference a formula in the selection criteria since it must be evaluated later.
Reading up on this forum I figured out how to create my own running totals (also referenced the application's help article ' Creating running totals using a formula') but now I can't seem to suppress the entire group and corresponsing detail records when TotQOH > RunningTotal.    Using the Formatting Formulas in the workshop tree of the Formula Editor, I can suppress any of the fields within the group but this leaves me with a bunch of blank lines in the output.
I'm using Crystal 10 and simply want to suppress the entire group and the corresponding detail while printing the records when:
TotQOH > RunningTotal
I read this thread: Selection Formula based on Running Total, but could not get this to work for the entire group, just the fields within the group.
Any ideas would be welcome.  Thank you very much.

I'll have to research subreports - never worked with them.  After I suppressed all the fields, I went to the section expert and checked Suppress Blank Section, ran the report and nothing printed.  There are many records that meet the criteria TotQOH > RunningTotal, so I'm going to do more research and take a look at subreports.

Similar Messages

  • OBIEE Report - filter based on the result from another analysis

    Hi,
    I am using OBIEE 11g,
    I am trying to use a filter which is based on the result from another analysis. I have an analysis A which is as table 1, and I want to filter the respective columns of analysis B (Table B) based on analysis A to remove the duplicates for march 01, 02, and 07 , but it is not working properly. I took a max of start and end time when I created analysis A. Please let me know if I did anything wrong. thanks.
    Table 1
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-01
    14:00
    20:00
    14:00:00
    20:00:00
    2015-03-02
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-07
    14:06
    20:02
    14:00:00
    20:00:00
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    Table 2
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    -3
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    6
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-01
    14:00
    20:00
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-02
    16:00
    20:00
    00:00:00
    00:00:00
    4
    16:00:00
    20:00:00
    4
    2015-03-07
    14:06
    20:02
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    4
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    4

    Why avg here?
    What columns you want to show in the report?
    for a employee for given date if he have 2 rows then you may sum up hours right?
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours

  • How to make a report based on the result of another report?

    Hi, All,
    I am a new guy in BW development
    I  made the report1, to show the "Total Sales in each country and each shop "
    (the fact table is "Order")
    now I want to make report2 "in each countries, the number of the shops, whose Total Sales >100000"
    Can I make the report2 based on the result of report1 (use the same fact table)
    thanks a lot
    QY

    Hi Klaus,
    your condition only works if the Shop is in the query. If I understood it correctly you have one query with
    Country   Shop   Total Sales
    and one with
    Country   Number of Shops   Total Sales
    and you don't want to restrict the second Total Sales but the Total Sales from the first query.
    Best regards
       Dirk

  • Creating a target group based on the BP email address only in CRM

    Hi there,
    I am currently trying to create a target group based on the business partner email address only.
    I have a list of over 1000 email addresses - these email addresses equate to a BP in our CRM system, however I do not have a list of the equivalent business partner numbers, all I have to work on are the email addresses.  With these 1000 BP email addresses I need to update the marketing attributes of each of these 1000 BP records in CRM.
    What I need is a method to find the 1000 BP numbers based on the email addresses and then use the marketing expert tool (tx. CRMD_MKT_TOOLS) to change the marketing attributes on all of the 1000 BPs.
    The issue I am having is how can I find the list of BP numbers just based on the BP email address, I tried creating an infoset based on table BUT000, BUT020 and ADR6 but I after creating attribute list & data source for this I am stuck on what to do next. In the attribute list the selection criteria does not allow me to import a file for the selection range.  I can only enter a value but I have 1000 email addresses and cannot possibly email them manually in the filter for the attribute list.   I also looked at imported a file into the target group but I do not have any BP numbers so this will not work.
    Does anyone know a method where I can create a target group based on the email addresses only without having to do any code?
    Any help would be most appreciated.
    Kind regard
    JoJo

    Hi JoJo ,
    The below report will return you BP GUID from emails that is stored in a single column .xls file and assign the BP to a target group.
    REPORT  zexcel.
    * G L O B A L D A T A D E C L A R A T I O N
    TYPE-POOLS : ole2.
    TYPES : BEGIN OF typ_xl_line,
    email TYPE ad_smtpadr,
    END OF typ_xl_line.
    TYPES : typ_xl_tab TYPE TABLE OF typ_xl_line.
    DATA : t_data TYPE typ_xl_tab,
           lt_bu_guid TYPE TABLE OF bu_partner_guid,
           ls_bu_guid TYPE  bu_partner_guid,
           lt_guids TYPE TABLE OF bapi1185_bp,
           ls_guids TYPE  bapi1185_bp,
           lt_return TYPE bapiret2_t.
    * S E L E C T I O N S C R E E N L A Y O U T
    PARAMETERS : p_xfile TYPE localfile,
                  p_tgguid TYPE bapi1185_key .
    * E V E N T - A T S E L E C T I O N S C R E E N
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_xfile.
       CALL FUNCTION 'WS_FILENAME_GET'
         IMPORTING
           filename         = p_xfile
         EXCEPTIONS
           inv_winsys       = 1
           no_batch         = 2
           selection_cancel = 3
           selection_error  = 4
           OTHERS           = 5.
       IF sy-subrc <> 0.
         CLEAR p_xfile.
       ENDIF.
    * E V E N T - S T A R T O F S E L E C T I O N
    START-OF-SELECTION.
    * Get data from Excel File
       PERFORM sub_import_from_excel USING p_xfile
       CHANGING t_data.
       SELECT but000~partner_guid FROM but000 INNER JOIN but020 ON
    but000~partner =
       but020~partner
         INNER JOIN adr6 ON but020~addrnumber = adr6~addrnumber INTO TABLE
    lt_bu_guid FOR ALL ENTRIES IN t_data WHERE adr6~smtp_addr =
    t_data-email.
       CLEAR: lt_guids,ls_guids.
       LOOP AT lt_bu_guid INTO ls_bu_guid.
         ls_guids-bupartnerguid = ls_bu_guid.
         APPEND ls_guids TO lt_guids.
       ENDLOOP.
       CALL FUNCTION 'BAPI_TARGETGROUP_ADD_BP'
         EXPORTING
           targetgroupguid = p_tgguid
         TABLES
           return          = lt_return
           businesspartner = lt_guids.
    *&      Form  SUB_IMPORT_FROM_EXCEL
    *       text
    *      -->U_FILE     text
    *      -->C_DATA     text
    FORM sub_import_from_excel USING u_file TYPE localfile
    CHANGING c_data TYPE typ_xl_tab.
       CONSTANTS : const_max_row TYPE sy-index VALUE '65536'.
       DATA : l_dummy TYPE typ_xl_line,
              cnt_cols TYPE i.
       DATA : h_excel TYPE ole2_object,
              h_wrkbk TYPE ole2_object,
              h_cell TYPE ole2_object.
       DATA : l_row TYPE sy-index,
              l_col TYPE sy-index,
              l_value TYPE string.
       FIELD-SYMBOLS : <fs_dummy> TYPE ANY.
    * Count the number of columns in the internal table.
       DO.
         ASSIGN COMPONENT sy-index OF STRUCTURE l_dummy TO <fs_dummy>.
         IF sy-subrc EQ 0.
           cnt_cols = sy-index.
         ELSE.
           EXIT.
         ENDIF.
       ENDDO.
    * Create Excel Application.
       CREATE OBJECT h_excel 'Excel.Application'.
       CHECK sy-subrc EQ 0.
    * Get the Workbook object.
       CALL METHOD OF h_excel 'Workbooks' = h_wrkbk.
       CHECK sy-subrc EQ 0.
    * Open the Workbook specified in the filepath.
       CALL METHOD OF h_wrkbk 'Open' EXPORTING #1 = u_file.
       CHECK sy-subrc EQ 0.
    * For all the rows - Max upto 65536.
       DO const_max_row TIMES.
         CLEAR l_dummy.
         l_row = l_row + 1.
    * For all columns in the Internal table.
         CLEAR l_col.
         DO cnt_cols TIMES.
           l_col = l_col + 1.
    * Get the corresponding Cell Object.
           CALL METHOD OF h_excel 'Cells' = h_cell
             EXPORTING #1 = l_row
             #2 = l_col.
           CHECK sy-subrc EQ 0.
    * Get the value of the Cell.
           CLEAR l_value.
           GET PROPERTY OF h_cell 'Value' = l_value.
           CHECK sy-subrc EQ 0.
    * Value Assigned ? pass to internal table.
           CHECK NOT l_value IS INITIAL.
           ASSIGN COMPONENT l_col OF STRUCTURE l_dummy TO <fs_dummy>.
           <fs_dummy> = l_value.
         ENDDO.
    * Check if we have the Work Area populated.
         IF NOT l_dummy IS INITIAL.
           APPEND l_dummy TO c_data.
         ELSE.
           EXIT.
         ENDIF.
       ENDDO.
    * Now Free all handles.
       FREE OBJECT h_cell.
       FREE OBJECT h_wrkbk.
       FREE OBJECT h_excel.
    ENDFORM. " SUB_IMPORT_FROM_EXCEL
    Just copy paste the code and run the report select any local xls file with emails and pass the target group guid.
    snap shot of excel file:
    Let me know if it was useful.

  • Can a Hyperlink be created based on the results of a Dynamic Theme Query?

    What I would like to do is create a link from the results of a dynamic theme. The following code displays the names of locations on my map, is there any way that the location name once placed on the map can be a hyperlink that will run a SQL statement that will show the status of that name. My map is based on 3 status levels identified by markers, green marker is up, red is down, amber is degraded. If the Marker is red I want to be able to click the name or the Marker that is on the map to find out what the problem actually is.
    Thanks in advance!
    &lt;mv:addJDBCTheme
         name="Locations_Names"
         datasource="mvdemo"
         spatial_column="map_loc_data"
         srid="8307"
         label_style="T.CITY NAME"
         label_column="location"
         min_scale="7.05" max_scale="0"&gt;     
              select l.location, l.map_loc_data
              from resources.locations_test l
              where l.location_id IN
              (Select distinct d_loc_id
              from cii.devices
              HAVING max(d_ops_status) &lt;= 2 GROUP BY d_loc_id)
    &lt;/mv:addJDBCTheme&gt;

    LJ,
    Any chance you can see what is wrong with the following code. I have gone over it line by line with an example out of the Oracle Pro spatial Data book, but I can not see what the problem is.
    I know you will not be able to run it but the error I am getting is:
    500 Internal Server Error
    java.lang.NoSuchMethodError at Oracle.lbs.mapclient.MapViewer.getUserPoint(MapViewer.java:3512)
         at oracle.lbs.mapclient.MapViewer.identify(MapViewer.java:4560)
         at oracle.lbs.mapclient.taglib.MapViewerIdentifyTag.doEndTag(MapViewerIdentifyTag.java:171)
         at tnoscmaps.MapofUS._jspService(_MapofUS.java:286)
         [SRC:/TNOSCMAPS/MapofUS.jsp:130]
    To me this is pointing to the following section:
    <mv:identify
    id="identifyResults"
    datasource="mvdemo"
    table="locations_test"
    spatial_column="map_loc_data"
    srid="8307"
    x="<%= imgCX %>"
    y="<%= imgCY %>"
    >
    location, state
    </mv:identify>
    This is my complete set of code for this page:
    <%@ page contentType="text/html;charset=UTF-8" %>
    <%@ taglib uri="/WEB-INF/mvtaglib.tld" prefix="mv" %>
    <%@ page session="true" %>
    <%@ page import="oracle.lbs.mapclient.MapViewer" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>CONUS TNOSC SITES</title>
    </head>
    <body bgcolor="#FFFF00">
    <%
    // Name of this File
    String jspURL = response.encodeURL(request.getRequestURI());
    // URL of Mapviewer servlet
    String mapViewerURL =
    "http://"+ request.getServerName()+":"+request.getServerPort()+
    request.getContextPath()+"/omserver";
    String[][] featureInfo = null;
    if( request.getParameter("session-initialized") == null ||
    request.getParameter("new-session") == "true") {
    %>
    <!-- Initialize MapViewer handle.and save it in the session -->
    <mv:init
    url="<%=mapViewerURL%>"
    datasource="mvdemo"
    id="mvHandleSimpleViewerTags" />
    <!-- Set map format and size -->
    <mv:setParam
    title="CONUS TNOSC SITES"
    width="800"
    height="500"/>
    <!-- Add themes from the base map -->
    <mv:importBaseMap name="US_MAP"/>
    <!-- Dynamic Themes -->
    <mv:addJDBCTheme
         name="Locations_Names"
         datasource="mvdemo"
         spatial_column="map_loc_data"
         srid="8307"
         label_style="T.CITY NAME"
         label_column="location"
         min_scale="7.05" max_scale="0">     
              select l.location, l.map_loc_data
              from resources.locations_test l
              where l.location_id IN
              (Select distinct d_loc_id
              from cii.devices
              HAVING max(d_ops_status) <= 2 GROUP BY d_loc_id)
    </mv:addJDBCTheme>
    <mv:addJDBCTheme
         name="Locations_Green_Status"
         datasource="mvdemo"
         spatial_column="map_loc_data"
         srid="8307"
         render_style="M.GREEN"
         min_scale="50" max_scale="0">     
    SELECT l.map_loc_data, l.location_id
    FROM resources.locations_test l
    WHERE l.location_id IN (SELECT d_loc_id
    FROM cii.devices
         GROUP BY d_loc_id HAVING MAX(d_ops_status) = 0)
    </mv:addJDBCTheme>
    <mv:addJDBCTheme
         name="Locations_AMBER_Status"
         datasource="mvdemo"
         spatial_column="map_loc_data"
         srid="8307"
         render_style="M.AMBER"
         min_scale="50" max_scale="0">     
    SELECT l.map_loc_data, l.location_id
    FROM resources.locations_test l
    WHERE l.location_id IN (SELECT d_loc_id
    FROM cii.devices
         GROUP BY d_loc_id HAVING MAX(d_ops_status) = 1)
    </mv:addJDBCTheme>
    <mv:addJDBCTheme
         name="Locations_RED_Status"
         datasource="mvdemo"
         spatial_column="map_loc_data"
         srid="8307"
         render_style="M.RED"
         min_scale="50" max_scale="0">     
    SELECT l.map_loc_data, l.location_id
    FROM resources.locations_test l
    WHERE l.location_id IN (SELECT d_loc_id
    FROM cii.devices
         GROUP BY d_loc_id HAVING MAX(d_ops_status) = 2)
    </mv:addJDBCTheme>
    <!-- Set initial map center and size -->
    <mv:setParam
    centerX="-96.0"
    centerY="39.0"
    size="37" />
    <%
    MapViewer mvHandle = (MapViewer) session.getAttribute("mvHandleSimpleViewerTags");
    String userAction = request.getParameter("userAction");
    String imgCX = request.getParameter("userClick.x");
    String imgCY = request.getParameter("userClick.y");
    if("identify".equals(userAction)) {
    %>
    <mv:identify
    id="identifyResults"
    datasource="mvdemo"
    table="locations_test"
    spatial_column="map_loc_data"
    srid="8307"
    x="<%= imgCX %>"
    y="<%= imgCY %>"
    >
    location, state
    </mv:identify>
    <%
    featureInfo = identifyResults;
    else {
    %>
    <mv:run
    action="<%=userAction%>"
    x="<%= imgCX %>"
    y="<%= imgCY %>" />
    <%
    %>
    <!-- Output the HTML content -->
    <center><h1>CONUS TNOSC SITES</h1></center>
    <form name="viewerForm" method="post" action="<%= jspURL %>" >
    <center>
    <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" >
    <tr bgcolor="#FFFFFF">
    <td valign="top">
    <table border="0" cellpadding="0" cellspacing="0">
    <!-- Map display -->
    <tr>
    <td valign="top" align="center" >
    <input type="image"
    border="1"
    src="<mv:getMapURL />"
    name="userClick"
    alt="Click on the map for selected action"
    >
    </td>
    </tr>
    <!-- Map click action -->
    <tr>
    <td align="center">
    <input type="radio" name="userAction" value="recenter"
    <%= "recenter".equals(userAction)?"checked":""%> ><B>Re-center</B>
    <input type="radio" name="userAction" value="zoomin"
    <%= "zoomin".equals(userAction)?"checked":""%> ><B>Zoom In</B>
    <input type="radio" name="userAction" value="zoomout"
    <%= "zoomout".equals(userAction)?"checked":""%> ><B>Zoom Out</B>
    <input type="radio" name="userAction" value="identify"
    <%= "identify".equals(userAction)?"checked":""%> ><B>Identify Issue</B>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <!-- Current position -->
    <tr>
    <td align="center">
    <i>Center</i>[<b><%=mvHandle.getRequestCenter().getX()+","+
    mvHandle.getRequestCenter().getY()%></b>]  
    <i>Scale</i>[<b><%=mvHandle.getMapScale()%></b>]
    </td>
    </tr>
    <!-- Identification result -->
    <% if (featureInfo !=null && featureInfo.length>0) {%>
    <tr><td align="center">
    <table border="1">
    <% for (int i=0; i<featureInfo.length; i++) {%>
    <tr>
    <% String[] row = featureInfo;
    for (int k=0; k<row.length; k++) {%>
    <td><%= row[k] %></td>
    <% } %>
    </tr>
    <% } %>
    </table>
    </td></tr>
    <% } %>
    </table>
    </center>
    <input type="hidden" name="session-initialized" value="true" >
    </form>
    </body>
    </html>

  • How can I create UI components dynamically based on the result of WebService/HttpService call?

    I would like to create child components of the component
    based on a XML which is retrieved by WebService/HttpService call.
    createChildren() is the one to be used to create components
    dynamically. But if I use createChildren() and call a
    WS/HttpService request in createChildren method, I can not get the
    result of WS/HttpService request in createChildren().
    It seems that the result event is processed later after
    createChildren() is completed.
    How can I implement my requirement?
    I would appreciate any pointer or suggestion.
    Best regards
    Masa

    1) Use a List, with a custom itemRenderer
    2) Use a Repeater (Probably easiest)
    3) use Actionscript to addChild() components.
    Tracy

  • IF ELSE Statement in BEx Query based on the results

    Hi experts,
    I want to realize the following IF/ELSE statement in a BEx Query in respect to the result values
    If the result of KF1 equals 0, than set the KF2 to 0, Else (KF1 NE 0) show the value of KF2
    Background: I want to report the order backlog. In the example above we have an incoming order value of 23.700,80 EUR in periode 12.2013 and an turnover of 22.370,80 EUR in periode 01.2014. The order backlog in ST (KF1) is 1 ST (12.2013) - 1 ST (01.2014) = 0 ST. The order backlog in EUR (KF2) is 23.700,80 EUR (12.2013) - 22.370,80 EUR (01.2014) = 1.330 EUR. The Order and Invoice is finished, but we have an positive order backlog in EUR (reason: less turnover as incoming order).
    For this case I want to realize the IF/Else statement to check if the oder backlog in ST = 0, if yes, than set the order backlog in EUR also to 0.
    Any best practices?
    Many thanks and best regards,
    Michael

    Hi Suman,
    thanks aigain for your reply!
    I have tried your proposal before you have posted it.
    In my special case the following if/else statement works successfully:
    CKF = calculated key figure
    Formula1 = (CKF1 == 0) * 0 + (CKF1 <> 0) * CKF2
    In my case the CKF2 is the result value from "Incoming Order value" - "Turnover"
    So I had to define a separate Formula (1:1 equals to CKF2) and then I was able to set "*CKF2" in the statement.
    The statement CKF2 = (CKF1 == 0) * 0 + CKF2 is not possible (because it´s not possible to calculate from CKF2 itself).
    Now it works
    Best regards,
    Michael

  • Creating support desk ticket based on the result in TCode : STWB_WORK

    Hi All,
    I am now under the process of TEST Management.
    I had done creating and assigning Test Packages to the tester.
    When tester tries to test their respective package in STWB_WORK, the result will be success or failure (with errors or warnings)
    Now I want to create a support desk message automatically when the result is not success.
    I had developed program for creating support message but I am unaware of where to incorporate the program and how to retrieve the values of the error message.
    Earlier I planned to have workflow so that when the user executes the test, we can automatically perform support desk message creation.
    But the error message is initially shown in the ECC Server and then only updated in SOLMAN.
    Please help me to create support ticket automatically.
    Thanks in advance
    Saman

    Hi,
    please check function module STAT_OBJECT_EDIT_TW.
    It is called when a test case is edited.
    You can enhance it at the end. There you have the old status value and the new status value. If the new status value is an error status and not the same as the old status, you can create a support message with your program.
    Regards,
    Christoph

  • Create Recordset (or Datasets?) based on the result of (or the equivalent of) a Pass-through query

    Hello
    Bit new to Visual Studio, coming across as a VB man used to working with ADO
    I've successfully made two Datasets - one pointing to a MySQL database, the other to an Oracle database
    Aside from my other problem of not being able to create a tableadapter with a 'Select returning rows' query just yet, what I will need to do is this:
    'Select * From {OracleTable} where {OracleTable.ID} Not in {MySQL.ID}'
    and have the result returned as something I can read/write/manipulate.
    ADO is quite easy in my head. Can anyone help structure the required steps for this in my head? I'm not even sure what to google for at this point
    Thanks

    It's only that easy (as your SQL statement) if you use linked tables. You can create linked tables in an Access database or SQL Server and then create the join through these tables. It might be easier to use Access in this instance since the database you
    are connecting to isn't that important and Access provides a QBE designer.
    Another option is to use ADO.NET and LINQ to join the DataTables in your DataSets, although that might be a bit more complicated. You would also need to pull all of the data from both tables, which could be a big problem if the tables contain a lot of data.
    If not, it then it may be your best option.
    https://msdn.microsoft.com/en-us/library/bb386921.aspx?f=255&MSPPError=-2147217396
    I've never experimented with a heterogeneous join between Oracle and MySQL so I don't know whether it would be possible to do it directly.
    Paul ~~~~ Microsoft MVP (Visual Basic)

  • How do i keep the results from a formula but delete the original data

    I want to delete the column of original data and only keep the results.

    Hi rdavidland,
    Select and copy the cells that contain the formula.
    Menu > Edit > Paste Formula Results.
    Delete the original data.
    Regards,
    Ian.

  • How can the result of a formula copying the content of a cell to another cell be unlinked from the source cell?

    Numbers on iMac under Maverick.
    For each sheet in a spreadsheet (Numbers file) I have provided a corresponding sheet (to replace it). In the new sheet I want to insert a formula referencing the corresponding cell in the original sheet. I want to be able to delete the original sheet without losing the result in the new sheet. The link has to be broken.
    If the formula referencing the cells in the original sheet returns the resultant data in place of the formula, this will enable me to use this method to work through a largish file (and others like it) with comparative ease. In Excel this would be done, for example, by using Paste Value only (an option in Paste Special). In Numbers, I think it can be done for an entire row by using Insert>Copied Rows (and likewise for a whole column), by choosing Values as opposed to formulas (because that action generates new rows and columns and doesn't overwrite existing data).
    Is it something to do with generating a more complex formula, or pasting a style using the Format menu? Or the Edit>Paste and Match Style?
    It's eluding me.

    Thank you, Ian. That sub-menu is what eluded me all right. It certainly seems to me to be one way I can do this: using the Paste Formula Results sub-menu under Edit. But before I copy the cells as you say, I will have to take several prior steps.
    In the new sheet I have to select the top left cell of the subject range and there enter "=". Then, in the original sheet, I must select the corresponding cell. Returning immediately to the new sheet, I need to drag the cell right to extend the formula to two adjoining two cells. Now I need to drag those three cells to extend the formula to the bottom of my table (quite a number of rows, but the number matches that of the original sheet). Only at this point am I in a position to apply your suggested method: that is, copy what's already selected and use Shift-Command-V to paste the formula's result throughout the range.
    I feel sure that will do it. But if anyone has any further suggestion as to how this could be done less cumbersomely, I would be very happy to hear it before I embark on the task ahead - because that will have to be repeated for another 24 new sheets in a couple of files. Quite a lot of work.
    So, whilst you've helped me materially, a question still remains as to whether some other method might be possible?
    Regards,
    Peter White

  • SCOM 2012 - Is there a way to create a class/target/group based on the presence of a folder?

    I need to create monitor(s) for an application, but the application services are different on all the servers.  Usually I would find a application service that is common among all the servers I want to monitor to create the target,
    but this does not exist.  There are no common services for this application. However, every server does have a common folder in the Program Files on the C: drive (i.e. "xyz" folder exist on every server for the application). 
    Is there a way to create a target based on a folder in the Programs Folder?

    Please refer to the following, which is quite exactly fit your requirement.
    http://msdn.microsoft.com/en-us/library/bb437613.aspx
    Roger

  • Sample Size Calculation based on the results

    Dear all
    I have a scenario as below
    for a product the upper and lower specification is given as below
    Upper spec 19.00mm
    Standard  18.00mm
    Lower spec 17.00mm
    my client is having ranges as below
    Range 1
    Upper spec 19.0 to 18.75
    Lower spec 17.0 to 17.25
    Range 2
    Upper spec 18.75 to 18.50
    Lower spec 17.25 to 17.50
    Range 3
    Upper spec 18.50 to 18.25
    Lower spec 17.50 to 17.75
    Range 4
    Upper spec 18.25 to 18.00
    Lower spec 17.75 to 18.00
    a) Initially the sample size is 50%. Starts with range 4 .
    b) if consecutive 5 receipts are ok we want to switch to range 3 - sample size 25%.
    c) if consecutive 5 receipts are ok we want to switch to range 2 sample size 10%
    e) and range 1 sample size 5%.
    f) if there is any rejection at any range, then reset to range 4.
    g) if out of specification noticed then the next incoming material will be inspection in the next lowest range. ie in range 1 out of specification noticed shift to range 2 in the next Goods receipt.
    I know that Sampling scheme can be used but how to link the specifications in it.
    How to link this in SAP QM.
    awaiting for your valuable feed back Please.
    Regard
    P.Srihari

    Hi Sri,
    As per your requirement you have to create 4 MIC as well as 4 DMR follow the below step.
    1. Create MIC1,MIC2,MIC3,MIC4
    2. Create DMR1,DMR2,DMR3,DMR4
    3. Assign the DMR at MIC level.
             a) Go to QP01 In Header data screen choose Dynamic mod. level DMR at character level. (Don't assign any DMR here)
             b) In Characteristics screen assign DMR to MIC
    (Range1) MIC1 - DMR1
    (Range2) MIC2 - DMR2
    (Range3) MIC3 - DMR3
    (Range4) MIC4 - DMR4
    Save the Inspection plan.
    DMR detail explaination
    As per your requirement MIC4 will be initially inspected (ie: range 4) and remaing MIC all are after 5 consecutive lots if any rej at any stage again inspect the Range4.
    DMR1: Create 2 Stage (1st is SKIp  2nd is Inspection)
    Stage1: Start with Initial stage, Tick in SKIP, and Maintain No Skip as 15 (Bcz your case You need this MIC1 after 15 lot (555)), Skip duration 999 (Bcz your case days not consider) New Stage 2 (Bcz after complete the 15 lot it will go to 2nd stage for Inspection.), Rej 1 , New Insp 1 (Bcz rejected means MIC1 is not required)
    Stge:2, Insp Sev 4,  Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 2, Rej 1, New 1,
    DMR2: Create 2 Stage (1st is SKIp  2nd is Inspection)
    Stage1: Start with Initial stage, Tick in SKIP, and Maintain No Skip as 10 (Bcz your case You need this MIC2 after 10 lot (5+5)), Skip duration 999 (Bcz your case days not consider) New Stage 2 (Bcz after complete the 10 lot it will go to 2nd stage for Inspection.), Rej 1 , New Insp 1 (Bcz rejected means MIC2 is not required)
    Stge:2, Insp Sev 4,  Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 1, Rej 1, New 1,
    DMR3: Create 2 Stage (1st is SKIp  2nd is Inspection)
    Stage1: Start with Initial stage, Tick in SKIP, and Maintain No Skip as 5 (Bcz your case You need this MIC3 after 5 lot ), Skip duration 999 (Bcz your case days not consider) New Stage 2 (Bcz after complete the 5 lot it will go to 2nd stage for Inspection.), Rej 1 , New Insp 1 (Bcz rejected means MIC3 is not required)
    Stge:2, Insp Sev 4,  Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 1, Rej 1, New 1,
    DMR4: Create 2 Stage (1st is Inspection 2nd is Skip)
    Stge:1, Insp Sev 4,  Start with Intial stage Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 2, Rej 1, New 1,
    Stage2: Tick in SKIP, and Maintain No Skip as 999 , Skip duration 999 (Bcz your case days not consider) New Stage 2,  Rej 1 , New Insp 1 (Bcz rejected means again inspect the MIC4)
    Note: Read step by step.
    Revert further clarification.
    Regards,
    S.Babusingh

  • How to post the result of a formula in IP

    Hi,
    Let's say I have 3 lines in my input ready query:
    Sales : $10
    Cost of goods: $5
    I want to post
    Margin = $5 (Sales - Cost of goods)
    I would like to post the formula for margin without using a macro or a planning function.
    Is there a way to post a hard coded formula?
    Thanks a lot,
    Patrick

    Hi Mayank, 
    I would go for a complex FOX or VBA because the overhead of the planning framework is performance relevant as well. A number of small FOXes will call the planning framework more often and this results in performance loss. So small FOXes should be merged to one big FOX if possible for performance reasons.
    Bye Matthias

  • Percentage based on two result of the columns

    Hi all,
    My report loos like
    Type     posting order  Number of records  Date diff    %
    A     1          1        1
    A     2          1       1
    A     3          1       1
       Result                          3     3                 100%
    B     1          1       1
    B     2          1       1          
    B     3          1       0
       Result          3          2                  66%
    As u can see that i need to calculate the percentage based on the result of two columns.
    Can u please throw some light ..
    Watin for reply
    Thanks
    Babu

    Hi Babu,
    I think your example is not totally clear. From what I understand, you need to calculate a result in percentage based on the result of two other columns. What you can do is to use the first result (from the two columns) as a CKF. And then, to this CKF, use the result calcultation options of the query desinger for percentage.
    Hope this helps.
    Regards,
    Diego

Maybe you are looking for