Is it possible to calculate the sum of charactristics in Reporting

Hi Experts,
i have both master data as well as transaction data,generally we can get the overall result of transaction data,but in this case i need the overall result of master data also,please give steps to precedes
EX:
       ID   VALVE    C1    C2
      101   20          11    22
      102  30           33    44
HERE ID & VALVE R MASTER DATA NEED OVERALL RESULT OF VALVE
HELP ME
THANKS & REGARDS
ANIL

Hi
Hi Venkata,
You can make a replacement path variable on this char and display it as key figure.
First go to Columns and right click and select New formula in the context menu and when you get that double click it and it will take you to a edit screen their in the down pane AVIALALBE OPERNADS you will have one more option as Key figures and Formula variables on the formula variables right click and select create variable and give the processing type of the varaible as replacement and give the char which you want to use as replacement and dimension value for the variable as number
After creating this formula variable put that in the definition of the Calculated keyfigure you created and save it now the char value will work as key figure with the help of this calculated key figure.
thanks n regards
Neel

Similar Messages

  • I have a dynamic table that calculates the sum of all rows, no issue.  I'm struggling with pulling out a subtotal though.  I would like to have a check box in each row  that flags those rows and gives the sum of their total.  Any help would be greatly app

    I have a dynamic table that calculates the sum of all rows, no issue.  I'm struggling with pulling out a subtotal though.  I would like to have a check box in each row  that flags those rows and gives the sum of their total.  Any help would be greatly appreciated.

    Here's something I threw together rq. The script is in the change event for the checkbox in the table. (Of course, you'll have to modify it to suit the names of your fields.)
    var rows = xfa.resolveNodes("tblAmounts.Row1[*]");
    var subtotal=0;
    for (i=0; i<rows.length; i++) if (rows.item(i).cbAdd.rawValue == 1) subtotal = subtotal + rows.item(i).nfAmount.rawValue;
    nfSubtotal.rawVlaue=subtotal;

  • How to calculate the sum of cyclomatic complexity of all methods?

    I can write a rule to calculate the sum of cyclomatic complexity of all methods in my system?

    Hi Dileep,
    In your query you are not specified whether the SUM of entire internal table SALARY or break up SALARY.
    If you want just the SUM of the entire internal table SALARY.
    Try this code.
    begin of itab occurs 0,
      name(10),
      salary type i,
    end of itab.
    itab-name = 'ABC'. itab-salary = 25000.
    append itab.
    itab-name = 'CDF'. itab-salary = 50000.
    append itab.
    itab-name = 'FGH'. itab-salary = 30000.
    append itab.
    itab-name = 'LMN'. itab-salary = 35000.
    append itab.
    itab-name = 'QPR'. itab-salary = 40000.
    append itab.
    loop at itab.
      at last.                "  Note the control statement used here
        sum.
        write: 'The total salary is',itab-salary.
      endat.
    endloop.
    Regards,
    Smart

  • Is it possible to export the out put of Crystal report into text file?

    Hi All,
    Is it possible to export the out put of Crystal report into text file?

    Hi
    Yes, Go to File --> Export --> Export Report --> Under Format select TEXT & select the destination as "Disk file"(defaultly selected)
    Give the proper details as per your requirement for "Characters per inch" & "Number of lines per page" & click on 'OK"
    In "Choose Export file" window, select the destination folder & provide file name. click on "SAVE"
    Regards
    Ashwini

  • How can I calculate the sum of the first two rows in a table?

    I have a table with a repeating row that, when data is merged, always has three rows:
    Support type 1
    1,234,456
    Support type 2
    221,556
    Interest
    11.222
    I have a field where I want to show the sum of Support types 1 and 2.
    I do not want to add the interest to this.
    I'm using FormCalc with the following script on the calculate event of the Total field, which is in the same subform but not in the table:
    data.JP_Page1.subform_Hidden.sub_SupportTotals.NumericField1::calculate - (FormCalc, client)
    $.rawValue = Sum(subform_Hidden.sub_SupportTotals.tbl_SupportSubtotals.DataRow[0].SUBTOTAL,  subform_Hidden.sub_SupportTotals.tbl_SupportSubtotals.DataRow[1].SUBTOTAL)
    I've tried this using both decimal and numeric field types, neither work.
    I feel like I must be hitting a syntax issue, but the code checker isn't exposing it.
    Can anyone help me figure out what is wrong with my script?
    Thanks!
    Janet

    You don't need to do Sum for this, you should use Sum for all rows purpose only..
    $.rawValue = subform_Hidden.sub_SupportTotals.tbl_SupportSubtotals.DataRow[0]. SUBTOTAL +  subform_Hidden.sub_SupportTotals.tbl_SupportSubtotals.DataRow[1].SUBT OTAL

  • Calculate the sum of values in excel file and import it to SQL table using SSIS

    Hi,
    Can some one help me how to do auto sum of columns in SQL table  using SSIS
    in SQL table the HRA , PF and Basic should not come, Only it should appear in basic pay as the sum of HRA , PF and Basic...

    RSingh, Thanks for the use
    of derived column.
    Instead of using record set i used  OLE DB destination
    its working Fine...
    but now the issue is if i put a new records in excel file its replicating in SQL table 
    How to get only the changed values in excel to SQL table.

  • How to calculate the sum of multiple columns and enter it into a single col

    I have a table tab_contributions which has the following columns:
    Emp_code Current_month(format: yyyymm) Contribution_amt
    Sample entry:
    Emp_code Current_month Contribution_amt
    100 200910 100
    100 200911 100
    100 200912 100
    100 200912 100
    100 201001 100
    100 201002 100
    100 201003 100
    Desired output: Table_result
    Emp_code Years Contribution_amt
    100 2009-2010 700
    Also, the years duration should be of only one year. For eg: 2008-2009, 2009-2010 etc.
    Edited by: user9027633 on Feb 26, 2010 12:34 AM

    Select Emp_code, min(substr(Current_month,1,4))||'-'||max(substr(Current_month,1,4)) period, sum(Contribution_amt) amount
    from mytable
    group by Emp_code;
    SQL> with mytable as (
      2  select 100 Emp_code, 200910 Current_month, 100 Contribution_amt from dual union all
      3  select 100, 200911, 100 from dual union all
      4  select 100, 200912, 100 from dual union all
      5  select 100, 200912, 100 from dual union all
      6  select 100, 201001, 100 from dual union all
      7  select 100, 201002, 100 from dual union all
      8  select 100, 201003, 100 from dual)
      9  Select Emp_code,
    10         min(substr(Current_month,1,4))||'-'||
    11         max(substr(Current_month,1,4)) period,
    12         sum(Contribution_amt) amount
    13  from mytable
    14  group by Emp_code;
      EMP_CODE PERIOD        AMOUNT
           100 2009-2010        700Max
    http://oracleitalia.wordpress.com
    Edited by: Massimo Ruocchio on Feb 26, 2010 9:11 AM
    Added example

  • Is it possible to get the sum of all true (checked) columns?

    I am totally new to numbers, and I have just a vague understanding of excel, so I be needing some help.
    I am a hairstylist and I am using my iPad for client tracking.  My spreadsheet has totals referring to amount of clients, service totals, retail totals, average service tickets, etc.  I also need to track my pre-booking.  An easy way for me to track my pre's is to have a true/false check box column.  Is there a way to add up all of the true checks?  I have other factors I need to track like amount of services so I would like to utilize the true/false check boxes.  I do not want to add the adjoining columns, just the true false columns.  To clarify, I want to add all of the true check boxes with a resulting sum, of only the true (checked) boxes.
    Hopefully I'm not being mega confusing....

    Yes it is
    Use the COUNTIF function

  • How to use the AGO function to calculate the sum of the last 12 months?

    year     |     month     |     amount                    
    2009     |     01     |     100                    
    2009     |     02     |     150                    
    2009     |     03     |     120                    
    2009     |     04     |     110                    
    2009     |     05     |     155                    
    2009     |     06     |     180                    
    2009     |     07     |     105                    
    2009     |     08     |     145                    
    2009     |     09     |     200                    
    2009     |     10     |     205                    
    2009     |     11     |     150                    
    2009     |     12     |     120                    
    2010     |     01     |     225
    SUM OF THE LAST 12 MONTHS OF 201001=>225+120+150+205+200+145+105+180+155+110+120+150     *1.865*
    How do I do this? Could anyone help me?
    Thanks.

    hi,
    Create a dummy column in Fx
    Use *Filter ( amount_col using date col= TimeStampAdd(SQLTSI_MONTH, -12 ,date_col)*
    If u want to show at grand total level
    Go with combine with similar request
    same as u mentioned (1st criteria)
    date_col, month, use the above formula (2nd criteria)
    try this and let me know
    Thanks,
    Saichand.v
    Edited by: Saichand Varanasi on Oct 7, 2010 7:27 PM

  • How to calculate the sum of the values of some columns of a table

    hi
    i want to get in the column averages just the average of the values of some columns not all the columns of the table.what i have to change exactly in this block diagram.even if the size of the table is 25,i want the division to be the number of values in each column(= number of rows)
    just like that:
    Solved!
    Go to Solution.
    Attachments:
    operations on some columns.vi ‏10 KB

    i did exactely what u told me, i think i missed something because i don't get the average value of the rows i want
    Attachments:
    average.vi ‏11 KB

  • How can I calculate the sum of the text fields?

    I'm trying to use a Flash form that has 40 text fields where
    the user will enter numeric values. I want to add one field that
    will show the total of all those values as the user enters them in.
    I have tried the following, but as soon as I add Val(Trim(...))
    around the current amount to make it numeric, it doesn't update as
    I type anymore. If I take that out, I get an error that it can't be
    converted to a numeric value. Any suggestions?
    Thanks,

    If you want to do your calculations as the data is being
    entered, you'll have to write some actionscript to do it on the
    client. cfcode runs on the server.

  • Is it Possible to get the User./developer activity report in BW system

    Hi,
      Is it possible to have a trace of the development user activity in BW. I would like to know what perticular object( info*  , ODS , Routines, Queryes, web template ETC) the user has viewed/changed or deleted?
      Is this at all possible? and is yes how?
       Thanks
    Arunava

    Hi,
    here i am giving my requirement.
    Please look in to this and let me know how to solve the problem.
    1.     Check ordertype
          a.     If ordertype = REP1 set planned cost limit field to 450
          b.     If ordertype = MUT1 set planned cost limit field to 5000
    2.     Check the planned costs for value category KostenTalis
           Check table PMCO for the order
              i.     PMCO-ACPOS = KostenTalis
             ii.     PMCO-WRTTP = 1
             iii.     PMCO-BELTP = 1
             iv.     PMCO-VORGA = KPPP
              v.     PMCO-WERT00 -> PMCO-WERT16, check if one of the fields  WRT00 till WRT16 is filled with a value
         a.     No, exit
         b.     Yes, go to 3
    3.     Are the total costs for Talis > planned cost limit field euro?
         a.     No, do nothing and end this user-exit
         b.     Yes, show the pop-up and place the total planned costs in the variable <costs>
    and already i had given tr and user exit.i think its sufficient to solve the issue.
    still u have any more doubts kindly let me know.
    -Prasanth.M

  • If I check the sum box on a report item, the words "report total:" appear..

    I would like it to read: Report Total With capital letters.
    Any up would be appreciated.

    Hello,
    Take a look at the "Display this text when printing report sums" setting in the Report Attributes.
    John.
    http://jes.blogs.shellprompt.net
    http://apex-evangelists.com

  • Calculate the max and sum value by weird way !!!

    this code calculate the sum value without sum clause :-
    DECLARE
    x NUMBER;
    y NUMBER := 0;
    CURSOR cur_sal
    IS
    SELECT sal
    FROM emp;
    BEGIN
    OPEN cur_sal;
    LOOP
    FETCH cur_sal
    INTO x;
    EXIT WHEN cur_sal%NOTFOUND;
    y := y + x;
    END LOOP;
    CLOSE cur_sal;
    DBMS_OUTPUT.put_line ('sum sal without using sum function = ' || y);
    END;
    and this code calculate the max value without max clause :-
    DECLARE
    x NUMBER;
    y NUMBER := 0;
    CURSOR cur_sal
    IS
    SELECT sal
    FROM emp;
    BEGIN
    OPEN cur_sal;
    LOOP
    FETCH cur_sal
    INTO x;
    EXIT WHEN cur_sal%NOTFOUND;
    IF (x > y)
    THEN
    y := x;
    END IF;
    END LOOP;
    CLOSE cur_sal;
    DBMS_OUTPUT.put_line ('max sal without using max function = ' || y);
    END;
    the Question is : how suppose that's happen ?
    what's the secret in those codes ?
    it's just new idea for me , but I don't understand !
    is there any name for this way in ( Oracle® Database PL/SQL User's Guide and Reference ) ?
    if not , so please anyone give me any help to understand those codes !

    Secret? What secret? It slowly and inefficiently fetch each row one at a time and consecutively add them together you get a sum. What the first, horribly inefficient, cursor loop is doing is roughly the equivalent of determining how many rivets are in a bucket by dumping them on the floor and picking them up one at a time rather than weighing one, weighing all, and then doing a simple division. The second loop does the same, horribly inefficient thing, by picking up each rivet and seeing if it is bigger than the previous one.
    Cursor loops are obsolete and this code is about as inefficient as you can get without using an Excel macro.

  • How to get the sum in appropriate column without a red triangle appearing?

    Hello,
    In 'Numbers" - How do get columns to add (calculate) the sum in each decending column on an Expense Report.
    When I highlight the decending column the total appears on the far left of the screen.  When I drag the sum amount from there to the appropriate column a red triangle with an ! appears instead of the amount.
    Thanks for your immediate help.

    The red triangle is an Error triangle. Clicking it will display the error message and tell you what error has occurred. From your description, my assumption is that you dragged the SUM() function from the quick calculations at the lower left and dropped it intto a cell in the column being summed.
    If that's the case, this is likely the error message you would see:
    When you highlighted the 'decending column,' you likely selected all of the cells in that column, including the one into which you dropped the function.
    Instead, do one of the following. These assume the column you want to sum is column B.
    If you want the sum at the top of the column:
    Make sure the row you want the sum to appear in is a Header row.
    Enter this formula into any Header Row cell in column B:   =SUM(B)
    If you want the sum at the bottom of the column:
    Add a Footer row to the table. (Go Table (menu) > Footer Rows > 1).
    Enter this formula into the Footer Row cell in column B:   =SUM(B)
    SUM (and other functions) that expect a range of cells will interpret a cell reference entered using only the column letter (B) as meaning 'all of the non-header, non-footer cells in column B', and will exclude those cells in header or footer rows.
    Regards,
    Barry

Maybe you are looking for

  • Report for variance analysis

    Hi:      We execute collective var analysis using KKS1 . It does not give split of variances into Fixed and variable costs for individual process orders. Is there any report which can tell us how much of variance was fixed and variable so that we can

  • User, Role, Profile Synchronization Job Fails

    Hi Gurus, When I am scheduling a job the User, Role, and Profile Sync. job fails giving an error "Cannot assign a java.lang.String object of length 53 to host variable 5 which has JDBC type VARCHAR(40)." This happens when the synchronization happens

  • Issue connecting SRM 7.01 to a R/3 4.5B back-end

    Guys, I need your help with the following. We are currently trying to connect a SRM 7.01 system to a R/3 4.5B back-end. We almost got everything working except for a small problem, maybe you can help. We are using the classic scenario and are creatin

  • PHOTOSHOP ELEMENTS 6  'HELP' NOT INSTALLED

    I have PSE 6 installed from the Adobe disk on a Mac which uses OS10.5.8. When I try to access the 'PSE 6 HELP' component from the toolbar I see the following - "Could not find the Adobe Help Application.You may need to re-install the application and

  • Change in font

    i have 2 reports which use anchors, there is a difference in the font shown in the print-out when i take a print-out of these though the fonts are same. I hope, my question is clear. Please help, in solving the doubt. regards.