Percent of running total is returning running percents

I have a running total in a Group footer.  I want to print the detail percentage of the group total, but the percent doesn't calculate on the total, but rather on the running balance.  For example:
LINE 1   $25     100%
LINE 2   $25       50%
             $50
But what I need is:
LINE 1   $25     50%
LINE 2   $25       50%
             $50

Solved my problem.  Used a group total instead of running total.

Similar Messages

  • Grid totals records returned

    Does anyone know if there is anyway of getting the total
    records returned to be displayed in the grid footer (just like in
    the ExtJS grid) for the html type grid in cf 8?

    Justin,
    How would this work on the web? We have parameter driven reports they can get them in PDF form or Excel.
    The reason for this is because some of the reports are taking too long for the users/clients. We just don't want to say you can't run a report over 6 months in date range / parameters since, some clients don't have as much data as others.
    I guess what I'm thinking is something that runs fast and does a count if the count is over 10,000 records it comes back and states you must schedule your report then they go to a schedule screen.
    Can you think of another way to do this?
    What your thinking is doing a count first then either run or trigger a screen to come up to schedule the reports?
    We are running on CBO. I have statistics collected.
    What else could I do?
    Thanks, so much for your help.

  • Number of total rows returned by a ref cursor without using FETCH

    Hi. How can we get the total number of rows returned by a ref cursor without doing the FETCH? I mean, if you use %ROWCOUNT, it only returns the current row number being returned in every fetch. This is not what I want. My purpose is to determine if my query using ref cursor returns greater than zero total rows without using fetch. Thanks.

    As John pointed out in the thread you linked to, the only way to know how many rows a query will return is to actually fetch all the rows. Oracle doesn't know how many rows a query is going to return until it actually fetches the last row.
    Plus, assuming the default transaction isolation level, if you run the same query multiple times in succession, there is no guarantee that the results will be the same.
    If you just want to know whether a query will return a nonzero number of rows, why not just write the code to assume that it returns at least 1 row and handle the zero row result as an exception.
    Justin

  • Total Rows returned in interactive report

    Hi
    I have an interactive report that displays a warning message if more than 200 rows are returned. Is there anything within APEX that tells me the exact number of rows returned in my report, or at the very least if my report has exceeded my 200 row limit?
    I have a button on my page that I only want to display if the number of rows returned in my query is <= 200.
    I know that I could use say NDS to execute my select statement in order to determine the number of rows as a seperate statement - but this seems a bit of over-kill.
    Many thanks
    Paul

    M Tajuddin wrote:
    Hi Paul,
    You can change the this from report attributes. Click on Edit page >> click on the Interactive report >> click on Report Attributes on the top >> down the bottom there is an option where you can change the row numbers and error message etc.
    Hope this helps,
    M Tajuddin
    http://tajuddin.whitepagesbd.com
    Hi
    I dont want to modify the number of rows returned. I just want to know how many rows are returned so that I can display or hide a button.
    Thanks
    Paul

  • How to get total number of result count for particular key on cluster

    Hi-
    My application requirement is client side require only limited number of data for 'Search Key' form total records found in cluster. Also i need 'total number of result count' for that key present on the custer.
    To get subset of record i'm using IndexAwarefilter and returning only limited set each individual node. though i get total number of records present on the individual node, it is not possible to return this count to client form IndexAwarefilter (filter return only Binary set).
    Is there anyway i can get this number (total result size) on client side without returning whole chunk of data?
    Thanks in advance.
    Prashant

    user11100190 wrote:
    Hi,
    Thanks for suggesting a soultion, it works well.
    But apart from the count (cardinality), the client also expects the actual results. In this case, it seems that the filter will be executed twice (once for counting, then once again for generating actual resultset)
    Actually, we need to perform the paging. In order to achieve paging in efficient manner we need that filter returns only the PAGESIZE records and it also returns the total 'count' that meets the criteria.
    If you want to do paging, you can use the LimitFilter class.
    If you want to have paging AND total number of results, then at the moment you have to use two passes if you want to use out-of-the-box features because LimitFilter does not return the total number of results (which by the way may change between two page retrieval).
    What we currently do is, the filter puts the total count in a static variable and but returns only the first N records. The aggregator then clubs these info into a single list and returns to the client. (The List returned by aggregator contains a special entry representing the count).
    This is not really a good idea because if you have more than one user doing this operation then you will have problems storing more than one values in a single static variable and you used a cache service with a thread-pool (thread-count set to larger than one).
    We assume that the aggregator will execute immediately after the filter on the same node, this way aggregator will always read the count set by the filter.
    You can't assume this if you have multiple client threads doing the same kind of filtering operation and you have a thread-pool configured for the cache service.
    Please tell us if our approach will always work, and whether it will be efficient as compared to using Count class which requires executing filter twice.
    No it won't if you used a thread-pool. Also, it might happen that Coherence will execute the filtering and the aggregation from the same client thread multiple times on the same node if some partitions were newly moved to the node which already executed the filtering+aggregation once. I don't know anything which would even prevent this being executed on a separate thread concurrently.
    The following solution may be working, but I can't fully recommend it as it may leak memory depending on how exactly the filtering and aggregation is implemented (if it is possible that a filtering pass is done but the corresponding aggregation is not executed on the node because of some partitions moved away).
    At sending the cache.aggregate(Filter, EntryAggregator) call you should specify a unique key for each such filtering operation to both the filter and the aggregator.
    On the storage node you should have a static HashMap.
    The filter should do the following two steps while being synchronized on the HashMap.
    1. Ensure that a ConcurrentLinkedQueue object exists in a HashMap keyed by that unique key, and
    2. Enqueue the total number count you want to pass to the aggregator into that queue.
    The parallel aggregator should do the following two steps while being synchronized on the HashMap.
    1. Dequeue a single element from the queue, and return it as a partial total count.
    2. If the queue is now empty, then remove it from the HashMap.
    The parallel aggregator should return the popped number as a partial total count as part of the partial result.
    The client side of the parallel aware aggregator should sum the total counts in the partial result.
    Since the enqueueing and dequeueing may be interleaved from multiple threads, it may be possible that the partial total count returned in a result does not correspond to the data in the partial result, so you should not base anything on that assumption.
    Once again, that approach may leak memory based on how Coherence is internally implemented, so I can't recommend this approach but it may work.
    Another thought is that since returning entire cached values from an aggregation is more expensive than filtering (you have to deserialize and reserialize objects), you may still be better off by running a separate count and filter pass from the client, since for that you may not need to deserialize entries at all, so the cost on the server may be lower.
    Best regards,
    Robert

  • TableView updates not working when ValueFactory returns a new Binding

    Hi,
    When a cell value factory returns a newly created expression or Binding cell values will stop receiving updates at some point. It seems that the cell that requests the observable value from the value factory does not keep a strong reference to the returned value so the cell will only receive updates from the the Observable value as long as it has not been garbage collected. The code below reproduces this issue:
    import javafx.application.Application;
    import javafx.beans.property.DoubleProperty;
    import javafx.beans.property.ReadOnlyStringWrapper;
    import javafx.beans.property.SimpleDoubleProperty;
    import javafx.beans.value.ObservableValue;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.TableColumn;
    import javafx.scene.control.TableColumn.CellDataFeatures;
    import javafx.scene.control.TableView;
    import javafx.scene.layout.HBox;
    import javafx.scene.layout.HBoxBuilder;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.layout.VBoxBuilder;
    import javafx.stage.Stage;
    import javafx.util.Callback;
    * Reproduce cell update bug. Compile and run the class. Press the update button a
    * couple of times and note how the values in the total column update. Press the
    * GC button a couple of times and then press the update button again. Note how
    * the values in the total column do not update anymore.
    * The Value Factory for the total column does not return a property that is
    * held by the Order object, it returns a Binding that is created on the fly.
    * The cell does not hold a strong reference to this object so it can be gc'd 
    public class CellUpdateTest2 extends Application {
         static class Order {
              String name;
              DoubleProperty price = new SimpleDoubleProperty();
              DoubleProperty qty = new SimpleDoubleProperty();
              Order(String n, double p) {
                   name = n;
                   price.set(p);
                   qty.set(1);
         final Order items[] = {
                   new Order("Item 0", 4.0),
                   new Order("Item 1", 5.0),
                   new Order("Item 2", 6.0),
                   new Order("Item 3", 7.0),
                   new Order("Item 4", 8.0),
                   new Order("Item 5", 9.0),
                   new Order("Item 6", 10.0),
                   new Order("Item 7", 11.0)
         @Override
         public void start(final Stage primaryStage) throws Exception {
              final Button updateButton = new Button("Update Values");
              updateButton.setOnAction(new EventHandler<ActionEvent>() {
                   @Override
                   public void handle(final ActionEvent actionEvent) {
                        for (Order i: items) {
                             i.qty.set(i.qty.get() + 1);
              final Button gcButton = new Button("System.gc()");
              gcButton.setOnAction(new EventHandler<ActionEvent>() {
                   @Override
                   public void handle(final ActionEvent actionEvent) {
                        System.gc();
              final TableView<Order> tv = new TableView<Order>();
              final TableColumn<Order, String> nameCol = new TableColumn<Order, String>("Item");
              final TableColumn<Order, Number> priceCol = new TableColumn<Order, Number>("Price");
              final TableColumn<Order, Number> qtyCol = new TableColumn<Order, Number>("Quantity");
              final TableColumn<Order, Number> totalCol = new TableColumn<Order, Number>("Total");
              nameCol.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Order, String>, ObservableValue<String>>() {
                   @Override
                   public ObservableValue<String> call(final CellDataFeatures<Order, String> d) {
                        return new ReadOnlyStringWrapper(d.getValue().name);
              priceCol.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Order, Number>, ObservableValue<Number>>() {
                   @Override
                   public ObservableValue<Number> call(final CellDataFeatures<Order, Number> cellData) {
                        return cellData.getValue().price;
              qtyCol.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Order, Number>, ObservableValue<Number>>() {
                   @Override
                   public ObservableValue<Number> call(final CellDataFeatures<Order, Number> cellData) {
                        return cellData.getValue().qty;
              totalCol.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Order, Number>, ObservableValue<Number>>() {
                   @Override
                   public ObservableValue<Number> call(final CellDataFeatures<Order, Number> cellData) {
                        return cellData.getValue().price.multiply(cellData.getValue().qty);
              tv.getColumns().addAll(nameCol, priceCol, qtyCol, totalCol);
              tv.setColumnResizePolicy(TableView.CONSTRAINED_RESIZE_POLICY);
              tv.getItems().addAll(items);
              final HBox hb = HBoxBuilder.create().children(updateButton, gcButton).build();
              final VBox vb = VBoxBuilder.create().children(tv, hb).build();
              primaryStage.setScene(new Scene(vb));
              primaryStage.setHeight(200.0);
              primaryStage.show();
         public static void main(final String args[]) {
              launch(args);
    } Is this expected behaviour?
    If so - what would the correct way to approach this?
    If not - is there an easy workaround?

    this seems to have worked....
         static class Order {
              String name;
              DoubleProperty price = new SimpleDoubleProperty();
              DoubleProperty qty = new SimpleDoubleProperty();
                    DoubleProperty total = new SimpleDoubleProperty();
              Order(String n, double p) {
                   name = n;
                   price.set(p);
                   qty.set(1);
                    public void updateTotal() {
                        total.set(price.get() * qty.get());
         }with
              qtyCol.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Order, Number>, ObservableValue<Number>>() {
                   @Override
                   public ObservableValue<Number> call(final CellDataFeatures<Order, Number> cellData) {
                                    System.out.println("in qty column");
                                    cellData.getValue().updateTotal();
                        return cellData.getValue().qty;
              });and finally
              totalCol.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<Order, Number>, ObservableValue<Number>>() {
                   @Override
                   public ObservableValue<Number> call(final CellDataFeatures<Order, Number> cellData) {
                                    System.out.println("in total column");
                        return cellData.getValue().total;
              });I cannot explain why what you did did not work. I have a mistrust towards binding and I avoid it when ever possible.
    thanks
    jose

  • Help with Formula/Placeholder columns for group totals

    I have select that is broken into 2 groups (a COMPANY group and a DETAIL group within company). I need to determine the COMPANY group totals based on values in a column in the DETAIL group. I.E. the column is a transaction description and can have up to 15 different values and it did not appear that a summary column would work for what I need. I have currently set up 15 formula columns in the DETAIL group and check the value of the REASON to accumulate totals and return the total to a PLACEHOLDER column (which is numeric and defined in the COMPANY group).
    I then report the Placeholder columns at break of COMPANY. This all works fine if I run only one company. If I run with multiple companies the Placeholder columns are used as a running total.
    My question is how do I reset the PLACEHOLDER columns at company break if at all, or is there a simpler way to accomplish what I need.
    Any and all assistance would be greatly appreciated.
    Tom Vereecke

    If you are using one placeholder column in different formula columns just ignore the following solution. It will not work in that case. I will post it here if i find out any way to initialize placeholder columns at different groups or anyother way to solve this issue.
    I think if you remove placeholder columns and create summary columns at Company Level, that will work. And formula columns will be changed as follows:
    Formula Column:
    active_total number(10) := 0;
    begin
    if :status_1 = 'ACTIVE' then
    active_total := active_total + 1;
    end if;
    if :status_2 = 'ACTIVE' then
    active_total := active_total + 1;
    end if;
    if :status_3 = 'ACTIVE' then
    active_total := active_total + 1;
    end if;
    return active_total;
    end;
    And in summary columns source will be formula columns. And reset the summary columns at Company.
    Hope this helps.
    Message was edited by:
    fs

  • How to return 4 variables by one return statement

    Hello Experts
    I’m trying to develop & run a function which will collect data from 2 difference tables. I accomplished it and stores all the information which I need in 4 variables. Now as we all know that function must has to return but I don’t know how to return all these 4 variable using 1 return. Can please somebody show me how I can return 4 variables.
    For reference here is my code
    create or replace function TOT_PURCH_SF (id_shopper in bb_basket.idshopper%type)
    return VARCHAR2
    as
    cursor cur_bb_basket is
    select idshopper, total
    from bb_basket;
    cursor cur_bb_shopper is
    select firstname, lastname
    from bb_shopper
    where idshopper = id_shopper;
    v_idshopper VARCHAR2(4);
    v_total bb_basket.total%type;
    v_gtotal bb_basket.total%type := 0;
    v_fname bb_shopper.firstname%type;
    v_lname bb_shopper.lastname%type;
    v_result VARCHAR2(200);
    begin
    if not (cur_bb_basket%isopen) then
    open cur_bb_basket;
    end if;
    loop
    fetch cur_bb_basket into v_idshopper, v_total;
    if (v_idshopper = id_shopper) then
    v_gtotal := v_gtotal + v_total;
    dbms_output.put_line('Shopper Info: '|| v_idshopper ||', '|| v_total);
    --exit;   
    end if;
    exit when cur_bb_basket%NOTFOUND;
    end loop;
    -- dbms_output.put_line('Shopper ID:'|| v_idshopper || ', TOTAL:' || v_gtotal);
    close cur_bb_basket;
    open cur_bb_shopper;
    fetch cur_bb_shopper into v_fname, v_lname;
    close cur_bb_shopper;
    dbms_output.put_line('Shopper ID:'|| v_idshopper || ', TOTAL:' || v_gtotal);
    dbms_output.put_line('FIRST NAME: '|| v_fname ||' LAST NAME: '|| v_lname);
    -- return (dbms_output.put_line('Shopper ID:'|| v_idshopper || ', TOTAL:' || v_gtotal));
    return 'test';
    end;
    Thanks a lot in advance

    Hi,
    If you want more than one variable returned by something, used a procedure with this variables declared as output variables. You only need to declare the procedure and keep the internal logic (with minimal changes).
    Your code modified (please remove dead code):
    CREATE OR REPLACE PROCEDURE TOT_PURCH_SF(id_shopper  IN bb_basket.idshopper%TYPE,
                                             p_idshopper OUT VARCHAR2,
                                             p_gtotal    OUT bb_basket.total%TYPE,
                                             p_fname     OUT bb_shopper.firstname%TYPE,
                                             p_lname     OUT bb_shopper.lastname%TYPE) AS
       CURSOR cur_bb_basket IS
          SELECT idshopper,
                 total
            FROM bb_basket;
       CURSOR cur_bb_shopper IS
          SELECT firstname,
                 lastname
            FROM bb_shopper
           WHERE idshopper = id_shopper;
       v_idshopper VARCHAR2(4);
       v_total     bb_basket.total%TYPE;
       v_gtotal    bb_basket.total%TYPE := 0;
       v_fname     bb_shopper.firstname%TYPE;
       v_lname     bb_shopper.lastname%TYPE;
       v_result    VARCHAR2(200);
    BEGIN
       IF NOT (cur_bb_basket%ISOPEN) THEN
          OPEN cur_bb_basket;
       END IF;
       LOOP
          FETCH cur_bb_basket
             INTO v_idshopper, v_total;
          IF (v_idshopper = id_shopper) THEN
             v_gtotal := v_gtotal + v_total;
             dbms_output.put_line('Shopper Info: ' || v_idshopper || ', ' || v_total);
             --exit;
          END IF;
          EXIT WHEN cur_bb_basket%NOTFOUND;
       END LOOP;
       -- dbms_output.put_line('Shopper ID:'|| v_idshopper || ', TOTAL:' || v_gtotal);
       CLOSE cur_bb_basket;
       OPEN cur_bb_shopper;
       FETCH cur_bb_shopper
          INTO v_fname, v_lname;
       CLOSE cur_bb_shopper;
       --dbms_output.put_line('Shopper ID:' || v_idshopper || ', TOTAL:' || v_gtotal);
       --dbms_output.put_line('FIRST NAME: ' || v_fname || ' LAST NAME: ' || v_lname);
       -- return (dbms_output.put_line('Shopper ID:'|| v_idshopper || ', TOTAL:' || v_gtotal));
       --RETURN 'test';
       p_idshopper := v_idshopper;
       p_gtotal    := v_gtotal;
       p_fname     := v_fname;
       p_lname     := v_lname;
    END;Regards,
    Tip: to post formatted code, please enclose it between {noformat}{noformat} tags (start and end tags are the same) :)
    Edited by: Walter Fernández on Mar 3, 2009 8:19 PM - Adding procedure (not tested)...
    Edited by: Walter Fernández on Mar 3, 2009 8:20 PM - Adding useful tip...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How-To Display the Number of Records Returned from a List to the User?

    We currently are using lists to identify accounts that meet various criteria. Because the territories vary from 4k to 60k customers the users have stated that they don't know the size of the list and therefore don't know if they need to refine the list. Currently they are exporting to Excel to look at the row count to see if they need to further refine their searches. This takes quite a while and while shuffling through many lists is a bit painful. Isn't there a way to just show the total records returned from the list down at the bottom of the screen where it allows you to see 25/50/75/100 records at a time?
    There is probably a simple way to do this but it is a large user dissatisfier at the time because we simply don't know how to make this show up. Again we are using lists and not analytics for simple lists at this time.
    - john
    Edited by: user11286597 on Jun 19, 2009 11:02 AM

    Thanks Bobb. I can't believe that one wasn't in R1 :)
    Is there a link to the items being worked in the next release by any chance?
    - john

  • On cross tab, sub totals are not displaying...

    i build the cross tab report.
    region  period    status_cnt
    ========================
    south   apr-07     10
         may-07     10     
         jun-07     15
            sub-total 35
    north   apr-07     18
         may-07     75     
         jun-07     15
            sub-total 108
    grandtotoal 143and when i applying subtotal and grand totals its returning nulls.
    i tried sum,cell sum but didn't worked out.
    and i am not suppose to use cellsum distinct (status_cnt is repeating.)
    how i have to display subtotals and grand totals in my cross-tab report.
    i am using OracleBI Discoverer Plus 10g (10.1.2.1)

    Hi,
    try to cerate a new calc :
    nvl(status_cnt,0)
    and create the totals on it,
    I think you got nulls in that column so it wont aggregate properly.

  • Sum Total in Reports

    hi guyz,
    i did this before but today i forget it how i did :)
    i have master detail report, have the below field
    Master
    Invoice#
    Name
    Description
    Details
    Inv#
    Item
    QTY
    Unit Price
    Total
    Sum_total
    i place a formula on total is
    RETURN NVL(:QTY, 0) * NVL(:UNIT_PRICE, 0);it give me the correct total in total field but i didnt get the sum_amount, anyone give tell me how can i get the sum_total from total? any formula or any other thing?
    any help appreicate.
    im using reports 6i.
    Regards
    Edited by: Moazam Shareef on Dec 12, 2009 12:42 AM

    hi
    try something like this.
    Example:
    PROCEDURE get_gap IS
    Cursor C_k1(P_Week pls_integer) is
    SELECT sum(reload_amount) theSum,
    count(reload_amount) theCount
    FROM trap_ra_k2_ain_balance
    WHERE week_no = p_week;
    R_K1 C_K1%Rowtype;
    Cursor C_k2(P_Week pls_integer) is
    SELECT sum(reload_amount) theSum,
    count(reload_amount) theCount
    FROM trap_ra_k1_ppb_balance
    WHERE week_no = p_week;
    R_K2 C_K2%Rowtype;
    v_reload_amount_ain number(12);
    v_reload_amount_ppb number(12);
    v_number_reload_ain number(12);
    v_number_reload_ppb number(12);
    BEGIN
    ----> totally unnecessary: if no value given in declarartion, a number will default to zero
    v_reload_amount_ain := 0;
    v_reload_amount_ppb := 0;
    v_number_reload_ain := 0;
    v_number_reload_ppb := 0;
    :CP_1 := 0;
    :CP_2 := 0;
    :CP_3 := 0; -- 'A'
    :CP_4 := 0; -- 'B'
    open C_k1( :P-Week)
    fetch C_k1 into r_k1;
    close c_k1;
    v_reload_amount_ain := nvl(R_k1.theSum,0);
    v_number_reload_ain := nvl(R_k1.theCount,0);
    open C_k2( :P-Week)
    fetch C_k2 into r_k1;
    close c_k2;
    v_reload_amount_ppb := nvl( r_k2.theSum);
    v_number_reload_ppb := nvl( r_k2.theCount);
    :CP_1 := v_reload_amount_ain - v_reload_amount_ppb;
    :CP_2 := v_number_reload_ain - v_number_reload_ppb;
    -- checking for 0 divisor
    if (v_reload_amount_ppb) > 0 then------------------------------------------------> this cannot be <0 ?
    :CP_3 := abs(ROUND(:CP_1/(v_reload_amount_ain + v_reload_amount_ppb) *100,2));
    ----> Not nec: you allready did this in 'A'
    else
    :CP_3 := 0;
    end if;
    -- checking for 0 divisor
    if (v_number_reload_ppb) > 0 then------------------------------------------------> this cannot be <0 ?
    :CP_4 := abs(ROUND(:CP_2/(v_number_reload_ain + v_number_reload_ppb) *100,2));
    ----> Not nec: you allready did this in 'B'
    else
    :CP_4 := 0;
    end if;
    END;sarah

  • 3.0.9.8.5 - Total Row Count in reports

    "Total Row Count" seems to be broken after applying patch 3.0.9.8.5.
    After applying the patch, we viewed an existing report which returned (let's say) 25 rows (and I've got max rows per page set to 5):
    The first page correctly says: "Total Row Count in Report- 25" and "Row(s) 1 - 5 "
    But then clicking the 'next' button, the following page incorrectly says: "Total Row Count in Report- 10" and "Row(s) 6 - 10 "
    So, the total row count is getting screwed up. Clicking "previous" in the example above, the total row count goes down to '5'.
    Another 3.0.9.8.5 patch problem appears to be 5 extra <br>'s within the report customize page top level of buttons and the criteria form. Looks ugly.

    Thanks for the reply.
    Is there nothing I can do to fix this problem before the next 3.0.9 patch comes out? We've have perhaps another few months to go before we make the move to portal release 2.
    This one issue with patch 3.0.9.8.5 is mostly definitely a show-stopper for us...we cannot live with customers seeing errors as basic as "total rows" returned in queries....we will have to roll back to our previous patch level 3.0.9.8.3. By doing this, we will continue to get bad customer feedback because of the awful performance introduced by that patch (Internet Explorer HTTP 1.0 vs 1.1 / keepalives / SSL issue). That's not to mention that we won't see the benefits of the content-area export/import bug fixes in this latest pathset.
    So, if there is ANYTHING we can do to fix this one problem, we (and our customers) would greatly appreciate hearing about it.
    thanks,
    -john

  • Incorrect Count() Total

    Hi Experts
    i am using Webi XI 3.1
    i had taken object as detailed dimension and it consists of descriptions. of material. And i created a formula to divide it into  3 sections .and i used breaks and then selected count for material description
    EX:
    section   mtrl.description   
       A           aaa
                    bbb
          count=35
       B           aaa
                    bbb
          count=18
       C           aaa
                    bbb
          count=24
    so the total count is 352418=77  
    But my issue is the grand total count returning value 75 Strange!!!!! i didnt understand whats happening can any one can solve this issue please
    Regards
    Sunil
    Edited by: K.sunil on Nov 2, 2011 1:25 PM
    Edited by: K.sunil on Nov 2, 2011 1:28 PM

    What I guess is you are using a count function on a dimension object and it is doing a distinct count. Modify the formula in the cell showing counts to include all values. Please refer to http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_web_intelligence_formulas_functions_calculations_en.pdf for help in webi functions.

  • How to process summary "% of total" if the "total" is 0

    Summary "% of total" is displayed as "*******" if the "total" is 0.
    what value is returned by "% of total" in this case, an exception or infinite?
    in my particular report, besides create a format trigger to replace "******" with 0, is there any resolution else?
    thanks!

    tested, "% of total" will return infinite if the total is zero.
    so the program unit should be like,
    create a formula column CF_PERCENTAGE with PL/SQL below
    if :CS_PERCENTAGE > 1 then
    return 0;
    else
    return :CS_PERCENTAGE;
    then display the formula column instead.

  • POS Sales Return

    HI
    i am Technical Consultant(ABAP,XI) and need few clarifications regarding the following scenario
    Our client has SAP  and his main business is retails stores
    *Business Process is For the returned goods by the customer at store a credit memo is raised in the third party system
    for this credit memo what would be appropriate  document to be created in sap ?what would be Tcode for creating it ?
    To which module does this scenario belong ?*
    Note:
    Third Party provides the material no ,total quantity returned,and the value of the total material
    remember we do not have any sales order,delivery doc,as it is between store and customer
    Please Provide your valuable suggestions
    Regards
    Bhasker

    Hi,
    You have a printfile for IS-Retail (SAP Retail), release 46B, and in page 1478 it tells:
    "POS Interface - Inbound: Sales/Returns (Store)
    Use
    This business process allows you to use the POS interface to process sales or returns which
    have taken place via POS systems in stores.
    Merchandise in stores is normally sold via electronic cash registers (POS systems). These POS
    systems are often integrated into store retailing systems, too. Sales have to be communicated to
    the integrated functions of SAP Retail (for example, Inventory Management, Replenishment
    Planning, Financial Accounting, the Information System) so that the necessary information can
    be updated in the system.
    In SAP Retail a return is a negative sale.
    Empties are regarded as articles in their own right in SAP Retail. Therefore, the sale or return of
    empties is a normal sale or return.
    As part of VMI, sales data for u201Cpure customersu201D can also be processed in POS inbound. It is
    settled in Replenishment-based Inventory Management and stored in the Information
    System."
    I hope this helps you
    Regards,
    Eduardo

Maybe you are looking for