Formula problems

Hello,
I've a problem with a formula in CR XI which I can't solve. I hope that some here can help me.
The problem is:
Sum({@formule})
The warning is:
Cannot summarize this field.
How can I solve this?

Hi Erwin,
Try below Steps:
1. Create these three formulas:
@Formula 1
WhilePrintingRecords;
NumberVar RunningTotal;
RunningTotal := 0
@Formula 2
WhilePrintingRecords;
NumberVar RunningTotal;
RunningTotal := RunningTotal + {@formula field}
//Substitute your formula field name for {@formula field}, In your case it is @formule
@Formula 3
WhilePrintingRecords;
NumberVar RunningTotal;
RunningTotal;
2. Insert the formulas on the report:
u2022 Place {@Formula 1} in the Group Header section (you can suppress this formula if you want)
u2022 Place {@Formula 2} in the Detail section (you can suppress this formula if you want)
u2022 Place {@Formula 3} in the Group Footer section.
To change how often this running total resets or displays, you can move @Formula 1 and/or @Formula 3 to other sections. For example, to have this running total act like a grand total, move @Formula 1 to the Report Header, and move @Formula 3 to the Report Footer.
In your case, you can try below:
u2022 Place {@Formula 2} in the section where you have placed your @formule field (Place this formula next to the @formule field)
u2022 Place {@Formula 3} in the section where you want the Grand total to be displayed. (For instance Report Header)
Regards,
Alpana

Similar Messages

  • Numbers formula problem

    I have the following numbers, 20 in total. Numbers are from 0-9.
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
    3 7 8 1 2 6 6 7 3 1   0   7   0   1   2    2   1   6   8   2
    i have another row where I want to put all the numbers that exist in the row 2. numbers that do not appear in that row should not appear in my other row.
    But i just want to display the numbers once. The result would be like this:
    0 1 2 3 6 7 8
    Each number in a different cell.
    4,5 and 9 do not appear.
    I Hope you could understand my problem. I could post a screenshot, but this forum is buggy.
    many thanks,

    Splitting a series of data into more than one column or row complicates life.  But if it is important to do that (perhaps for ease of data entry) then here is one way to accomplish what I understand you are looking for:
    This is the sample data table (I reduced the number of columns for demonstration purposes):
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    DATA 1
    16
    15
    17
    16
    19
    17
    16
    16
    16
    18
    15
    14
    14
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    DATA 2
    11
    9
    12
    10
    12
    14
    13
    11
    12
    14
    15
    13
    14
    15
    18
    Then you can create a "Helper Table" that looks like this (in practice it will have many more rows):
    Value
    Distinct
    Ranked
    DATA 1
    DATA 1
    9
    16
    16
    10
    15
    15
    11
    17
    17
    12
    16
    13
    19
    19
    14
    17
    15
    The formula in A2 of the Helper Table, copied down as far as you can go until you get a red triangle range error is, is:
       =INDEX(UNION.RANGES(FALSE,Data::$A$1,Data::$2,Data::$4),1,ROW())
              (The $2 and $4 appear in this pasted formula means to anchor to those rows. You get that by clicking the row number to select the row)
    The formula in B2, copied down, is:
       =IFERROR(IF(COUNTIF(A$1:A2,A2)=1,A2,""),"")
    The formula in C2, copied down, is:
        =IFERROR(SMALL(B,ROW()−1),"")
        (The B here is the column B address token which you get by clicking the column letter to select the column.)
    Your summary table would look something like this:
    Durchmesser
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    The formula in B2, copied right until you get a blank, is:
       =IFERROR(INDEX(Helper Table::$C,COLUMN()),"")
    SG

  • Dynamic calc member formula problem

    Hello Gurús!
    We are using a member called "Full Year" that is a Dynamic calc with a member formula that calls another dynamic calc. For any reason, it is not working when we try to retrieve it from Excel Add-in.
    Any ideas? Any problem for put a Dynamic Calc as member formula of antoher Dynamic calc?
    Thanks for your time!
    Regards,
    Ariel

    that can be the problem, depending on what dimension they are in, the order the two pass occurs could couse you issues. In cases like this I've had to put the entire calculation into the member I wanted to calculate and bypass the dependency

  • GETPIVOTDATA formula problem with apostrophe

    Excel 2010 on Win7 - Having a problem with the GETPIVOTDATA formula.
    GETPIVOTDATA(data_field, pivot_table[, field1, item1]
    If "data_field", "field1" or "item1" contain a value that has an apostrophe (i.e. single quote), the function returns a #REF! error. It works fine in all other cases. I tried placing those values within brackets (ex: "[Moody's]")
    and using the old SQL trick of doubling up the apostrophe (ex: "Moody''s"), and combining both those methods. But no luck. Has anyone else been able to solve this problem?
    Thanks.

    Hi Marak,
    Thank you for posting in the MSDN Forum.
    Since the issue is more relate to the end-user, I'd like to move it to Excel IT pro forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Best regards
    Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Formula problem, sometimes don't add the value

    Hi everybody,
    I'm trying to learn manage this tool (crystal report) I use visual basic 2005 with the crystal for visual basic. Actually I've a problem with some formula fields. My report has several summarize columns (I sum the values) , not all the columns have values so not all the result fields has values. The problem becomes because I have to sum the result fields, and if i do a formula with this:
    + {@horasTinsitu} + {@ConvertirEnSegundosTreal} + {@ConvertirEnSegundosTtaller}
    But only works if the three formulas has values, if one formula is empty the result looks empty, I think the problem was in the value of the formulas and I tried to evaluate with u201Cisnullu201D but neither.
    Please, somebody has an idea.
    Thanks everybody
    Well my English it's bad but I think it's possible understand it.

    I finally do it, this is the code
    local numbervar InSitu;
    local numbervar Remote;
    local numbervar Taller;
    local numbervar Phone;
    if isnull({@T_insitu}) then  //{@T_insitu} is the formula to summarize details and add their values...
        InSitu:= 0
    else
        InSitu:= {@T_insitu};
    if isnull({@T_remoto}) then
        Remote:= 0
    else
        Remote:={@T_remoto} ;
    if isnull({@T_taller}) then
        Taller:= 0
    else
        Taller:= {@T_taller};
    if isnull({@T_telefono}) then
        Phone:= 0
    else
        Phone:={@T_telefono} ;
    InSituRemoteTallerPhone;
    Now looks easy but it's very diferent of the visual code I usually do.
    well  THANK YOU VERY MUCH EVERY BODY...
    Dani

  • Essbase 9.3 BSO member formula problem

    Hi All,
    I'm working on Essbase 9.3.1.
    We have an issue where a member formula, should use double quotations (") for a few members.
    In the dimension tables these quotes are not present in the formula, but they come up in the outline of the cube.
    All dimension builds are done through AIS because of which I'm in a fix.
    I've only worked on Essbase 7 and I'm not aware if there are any settings that I could look at in AIS to see if these quotes are appended while the dimensions are being built.
    The reason why this is an iss is that the test outline has the quotes, but the production outline does not have them although its the same flat file that is used for both.
    Please help out here.
    Thanks in Advance.
    Regards,
    Anindyo

    Obviously this won't resolve your entire problem, but just to answer the first question you can definitely use e.g. @GENMBRS successfully in the partition definitions for a single BSO cube over multiple ASO cubes in 9.3.1.

  • Substring formula problem for Traditional Chinese

    Dear all,
    I created two InfoObjects (type: character, length: 60)in order to load one field with 100 characters from R/3. I created formula in transfer rule using "Substring" function for each of the two InfoObjects (e.g. Substring(field_name, 0, 60) and Substring(field_name, 60, 40). The data is in Traditional Chinese and both R/3 and BW are Unicode verison. The first InfoObject seems always get less than 60 characters, but the second InfoObject get 40 characters correctly. When I use English data to test, both InfoObjects get correct legnth of data. Does anyone come across this problem before? Thanks a lot.

    Download CS6 products
    Mylenium

  • Formula Problem in a Query

    Dear Gurus,
    Created a formula
    M Primary= M1 Sec PlanM(Closing Stock+Intransit)-Mopening Stock
    Where MClosing stock= Msecplan*Stocknorms
    After applying the formula, i am getting the following output.
    Calmonth      Sec Plan  norms  Closing stock      Opening Stk     MPrimary Plan
    08.2007           15.750    45        585                        0              <b>-585.0000</b>
    09.2007           14.180    45         0                           0               <b>35.4500</b>
                                                                                    Whereas the value i want to display in sept priplan column "549.000"
    Any solutions for this kind of issue?
    Thanks in advance for all the solution providers
    Regards
    Hari

    Hi,
    That is similar to what I have tried with my conditions (I have also tried with formulas as you are suggesting), but I have not been sucessful. Yes, all key figures are zero for the order, but if I do not drill down on order then the qty is not zero anymore and my condition/formula stops working.
    The method you suggest could probably solve the "number of orders" problem, but I also have a similar problem with "number of materials" and this is more tricky as we also have the same material for many orders...so my qty can be zero on one order item, but not zero on another so this would require some kind of exception aggregation on both order and item.
    Best regards,
    Mikael

  • Referring to Cells in Formulas problem.

    I have 2 Tables (and one chart) on one sheet. Table 1 has 3 columns viz. Dates, Electricity & Gas
    The Dates column looks like this
    01/01/11 - 31/01/11
    01/02/11 - 28/02/11
    01/03/11 - 31/03/11
    01/04/11 - 30/04/11
    etc etc
    Table 2 calculates the number of gas units and kWh of electricity used during the date intervals in Table 1. What I've (unsuccessfully) tried to do is when Table 2 calculates the number of gas units and kWh of electricity these are automatically entered in the appropriate cell next to the relevant date interval in Table 1.
    For example in Table 2 the number of Gas units is calculated in cell D11 and the kWh of electricity in cell I11 for a particular date interval corresponding to that in Table 1. The data in Table 2 are manually entered for each date interval given in Table 1. What I would like to do is get Numbers to automatically enter the value that is calculated in cells D11 & I11 in Table 2 into the appropriate cells in Table 1 e.g. for 01/01/11 - 31/01/11 the cells in Table 1 would be C4 & D4 for 01/02/11 - 28/02/11 the cells in Table 1 would be C5 & D5 and for 01/03/11 - 31/03/11 the cells in Table 1 would be C6 & D6 and so on up to 01/12/11 - 31/12/11 whose cells would be C15 & D15.
    I've tried doing what is suggested in the *'Referring to Cells in Formulas*' help page but I must be doing something wrong as it just isn't working for my Sheet and Tables. If anyone can hopefully understand my problem and point to a solution I'd be very grateful.
    If anyone wants a copy of the sheet to play around with they are more than welcome to have it it's just that I don't know how to make it available on this forum or show the tables as they are set out here on the forum.
    Thanks
    Thanks

    As Yvan said, it can't be done the way you want. I personally like to have the backup data behind calculations whenever possible, versus overwriting the older data. I would use separate tables instead of a single Table 2.
    I can't quite figure out your "dates". Is it one column or two? For example, is "01/01/11 - 31/01/11" in a single cell? I'm going to assume that's how it is and that it is column A.
    Here is how I might do it:
    1) I would move Table 2 to a different sheet (Sheet 2) and give it a name _exactly the same as the first period in column A_. In other words, it would be named "01/01/11 - 31/01/11" (without the quotes). This table will be for this period only. I would also go to the inspector and click "name" so the table name is shown above the table.
    2) In Sheet 1, Table 1 (your Table 1) I would use the following formula in what you said was column C and a similar one for column D
    =IFERROR(INDIRECT("Sheet 2::'"&A&"'::I11"),"")
    Note that '"&A&"' has triple-quotes around it. The first one is an apostrophe followed by a quote. The second is a quote followed by an apostrophe. The apostrophes are required due to some of the characters being used in the table names. Normally you wouldn't need them.
    3) For the next month, duplicate Table '1/01/11 - 31/01/11' by right clicking on it in the sidebar and choosing "duplicate". Reposition the duplicate on your sheet, rename it with another set of dates (make sure it matches exactly; copy/paste can be your friend), and enter the data for that period. Table 1 will find it automatically.

  • Formula Problem in Update Rule

    Hi all,
    I am facing one problem with formula in update rule.
    I have written one formula in update rule which it is working in development, but I moved the content to quality there it is not working.
    I have used the following formula.
    IF( NEGATIVE( TRUNC( Total Revenue in USD ) ) >= 5,000,000, 1, 0 )
    Best Regards,
    SGK

    Hi
    It should work fine,If you still facing the same problem,do one thing(work around)
    Create a transport request for your cube with indata flow before,and then activate your update once again in dev server,then transport it...
    Hope it helps
    Thanks
    Teja

  • Frustrating Formula Problems

    I'm having a frustrating problem in Numbers. When I press the equals key and click on a cell in another table it returns as an invalid formula error. The formula is:
    [='Table 10' :: B7]
    But when I hit return it changes to
    [=Table 10 :: B7]
    I have tried to enter the formula manually but Numbers keeps changing what I enter. Every other cell works except that one.
    Could anyone replicate this for me? I want to know if it's Numbers or just me, here's how.
    I have three tables "Table 9", "Table 10" and "Table 11"
    Table 10 has five links to Table 9
    B2 [='Table 9' :: A9]
    B3 [='Table 9' :: A10]
    B4 [='Table 9' :: A11]
    B5 [='Table 9' :: A12]
    B6 [='Table 9' :: A13]
    And the sum of those linked values
    B7 [=SUM(B2:B6)]
    Table 11 should link to the sum in Table 10
    B2 [='Table 10' :: B7]
    BTW, ignore the stuff in bold that's the cell coordinates.

    CP264 wrote:
    I'm having a frustrating problem in Numbers. When I press the equals key and click on a cell in another table it returns as an invalid formula error. The formula is:
    [='Table 10' :: B7]
    But when I hit return it changes to
    [=Table 10 :: B7]
    When I try to enter +='Table 10' :: B7+ into a cell in some other table using a US English Numbers, the quotes around the +Table 10+ disappear when I type the B in B7. The behavior is as if Numbers is saying that the quotes are not necessary. It seems that Numbers is reparsing the formula with each key I type.
    I have tried to enter the formula manually but Numbers keeps changing what I enter. Every other cell works except that one.
    In a cell in another table when I type = and then click on cell B7 in Table 10, it creates the cell reference +Table 10 :: B7+ (no quotes).
    Could anyone replicate this for me? I want to know if it's Numbers or just me, here's how.
    I have three tables "Table 9", "Table 10" and "Table 11"
    Table 10 has five links to Table 9
    B2 [='Table 9' :: A9]
    B3 [='Table 9' :: A10]
    B4 [='Table 9' :: A11]
    B5 [='Table 9' :: A12]
    B6 [='Table 9' :: A13]
    And the sum of those linked values
    B7 [=SUM(B2:B6)]
    Table 11 should link to the sum in Table 10
    B2 [='Table 10' :: B7]
    Note, as indicated above, I'm unable to get Numbers to accept the quotes around the +Table XX+ notation.
    Pardon my ignorance, but what localization do you use in Australia? This whole thing smells a bit like a localization issue of which there have been several in Numbers (Yvan is the resident expert on this topic).
    So in some cell formulas you have quotes around the +Table XX+ and in others you don't? Do these cells all have the same format setting?

  • Formula problem

    I defined a key figure 'Curr Cost' using formula below:
    0noerr(((fiscal qtr > current qtr) * calc fc cost)) noerr(((fiscal qtr < current qtr)* fc cost))
    in which 'calc fc cost' is another formulas based key figures which is defined as
    0+ nodim(unit)*nodim(unit cost)
    When I saved the query, it was saved without any error, but when I executed the query in portal, it give this error:
    Element 'Curr Cost' is not correctly defined (please check query definition).
    I analyzed the problem and it looks that 'calc fc cost' is the problem as if I change it to 'fc cost', it didn't give this error. Can you please advise what the problem is? And in general, what are the rules for formulas based key figures? Should I define 'calc fc cost' differently to avoid this error?
    Thanks,
    Sharon

    Hi Sharon,
    Can you try the following formula for 'calc fc cost' and check if the error stil occurs ?
    0+  ( nodim(unit)*nodim(unit cost) )
    Hope this helps.
    Regards
    snehith.

  • BEx Formula Problem (If-Else)

    Hello everybody,
    I am heaving a little problem with the BEx Formula Editor.
    I would like to create a formula based on time dependent attributes; witch should provide me with an actual customer rebate.
    The Query should look like (displayed in Excel/Analyzer):
    Customer Rebate A Rebate B Rebate C Actual Rebate
    1         5 %     10 %      0 (#)       10 %
    2         2 %      0 (#)    0 (#)       2 %
    3         5 %      0 (#)    0 %         0 %
    Rebate A, B, C are attributes of different characteristics and for being able to use them in my formula (for Actual Rebate) I have created a formula variable (replacement path) for every rebate. I have already figured out, that there is no possibility to differentiate between real zero values and zeros being displayed because there is no value defined (#) (at least it seems so to me). So I added another attribute which is 1 if there is a value. For the following example let’s call it “Rebate X (exists)”
    The formula I would like to use should contain the following logic:
    If (Rebate C (exists) == 1) {
    Actual Rebate = Rebate C
    } elseif (Rebate B (exists) == 1) {
         Actual Rebate = Rebate B
    } elseif (Rebate A (exists) == 1) {
         Actual Rebate = Rebate A
    } else {
         Actual Rebate = 0
    Any help would be appreciated.
    Kind Regards
    Simon Ulrich

    Hi,
    I suppose Eugenes Formular will give you the total of all three rebates if they all exist. To get the elseif correctly, I propose a formular like
    (Rebate C (exists) == 1)* Rebate C + NOT (Rebate C (exists) == 1)* (((Rebate B (exists) == 1)*Rebate B) + NOT (Rebate B (exists) == 1) * ((Rebate A (exists) == 1)*Rebate A))
    Hope all brackets are set correctly, slightly confusing in this editor

  • Setting reward rule formula problem

    Dear Loyalty experts,
    I have a problem when i want to set the reward rule formula.
    It says : "No valid data object for the return value, boolean data object needed"
    This only happens when i use variables (any variable) in the formula.
    Any help on this would be highly appreciated.
    Thanks and regards,
    Cenk

    Hi Vineet,
    I' ve solved this issue via sap note: 1773466. But there is something wrong about the search tags of this note. When it is searched via error message description, it is not listed.. OSS has sent me the note and in return, i wanted them to improve tags for others to find it.But it is still same, hard to find it
    Thanks very much
    Regards
    Cenk

  • VOFM - Formulas Problem : Can't transfer in to target Client.

    I just created a formulas in Tcode VOFM, and inserted some code , and actived it. ,
    GRPZE GRPNO AKTIV KAPPL
    ADAT 905 X
    But I can't transfer it into target client.
    The transfer log is ok .
    But the target client still don't have formula 905 .
    Is there any special step for the transfer of formulas ?
    Many many thanks .
    The following is my Request ! Is there any problem ?
    DR1K903890 ZZFZWANG
    DR1K903891 ZZFZWANG
    Program
    RV45C905
    DR1K903892 ZZFZWANG
    Table contents
    TFRM
    TFRMT

    Hi Eswar ;
      Done.  I have found the formula in the target client.
      I think the problem is simple .
      The request was released and posted 3 days ago from dev system ,and It just appeared in the target client. But I found the transfer log is ok in DEV system.
      Thanks you very very much, Eswar .
    Best Regards
    Fred

Maybe you are looking for

  • Strange cover flow behavior

    Just got a 32 GB iPod Touch, and I'm encountering an odd bug with cover flow. For example: say I want to play Amy Winehouse's "Back to Black". If I choose the album from list view, the correct artwork comes up. If I flip horizontal and look at cover

  • Feasibility of Dashboard

    Hi, We have requiremeny where we have to display detals of cost datawarehouse. We want to check whether dashboard will be the best tool to be used for our requirements. Requirements: 1) Showing data (table) on basis of Country, state, city hierarchy

  • 60 fps looks choppy, please advise!

    Hi all, I just received my Gopro black 3+ and shot some footage at 1080P, 60fps. I editted this footage in a short movie with Premiere Pro in a 1080P 60fps project and the resulting raw AVI file on a bluray. The movie, however, looks choppy now. Espe

  • AE CC(2014) Crashes right on startup.

    Before it gave a message saying something about Cuda, but I checked don't show this message because someone said to on another post. Now when I open it, it loads the picture and loads everything. Then it opens up, but then crashes. GPU: AMD Radeon R9

  • Can I use MapKit without Google Map

    I want to replace Google map with some other one, using MapKit overlay features as described in http://wiki.openstreetmap.org/wiki/OSM_in_MapKit . Would it be really OK according to Apple and Google terms? I guess MapKit is Apple's product, so if I d