Formula "At Current Level"

Post Author: mlowrance
CA Forum: Formula
Is there a concept in Crystal to have it calculate a formula "at the current grouping level".  In our report we have several formulas that calculate a number of statistics.  The report has a sum for the fields at each group level and then uses those sums to calculate the formulas. However since this sum field is different, or at least has a different name at each group level, we have to create a copy of the formula for every level of the report we want it to appear at (Group 1, Group 2, Grand Total,etc.)Is there any way in Crystal to tell a formula to calculate "At the current level".  This way we could have one copy of the formula that would just plug inthe total field for the current group it is working in.This obviously is a really pressing issue since we can fix it by just having multiple copies of the formula, however it would be nice to not have to modify each one or create new ones each time the grouping is changed. I hope this made sense, it was the only way I could come up with to explain it.Thanks,matt 

Post Author: yangster
CA Forum: Formula
what you've described it not feasible or a way to calculate to begin withthe sum/count/etc at a particular grouping will differ at each group level for the exact reason that you are grouping to begin witheach group level represents a distinct break in the dataif you are using crystal reports xi release 2  you can use the insert summary into all levels to speed things upbut if you are doing a statistical calculation at each level you will need to evaluate it at each group level

Similar Messages

  • Logical Formula at query level?

    I have requirment like if D =  0 then ' ' (SAPCE) else E / F.
    I dont know how to get space ?
    please help me to create this formula at query level?

    hi Hari,
    I am not really sure ,but u can try this...
    if D = 0 then ' ' (SPACE) else E / F.
    use the same formula and make it Zero instead of space and then in the Query properties replace Zero with Blank or Space Values.
    Rgds
    SVU123
    Edited by: svu123 on Sep 30, 2010 6:53 AM

  • Keithley 6220 trying to use "Set Current Level.vi"

    Hi,
    I am trying to use the "Set Current Level.vi" given by Keithley. But the VI isn't working. When I enter a current level the output stays zero. Only the decimal point and the current range are set correct. I tried to locate the problem, but I am new in LabVIEW and can't find it.
    for example, when i enter 10.000mA the output is 00,000mA
    Can someone help me please?
    thx
    andre
    Attachments:
    Set Current Level.vi ‏31 KB

    The problem is you don't understand what you are setting. The 6220 us a current source and so it has no control over how much current an external sink draws. That is a function is the DC characteristics of the external circuitry.
    All the 6220 can control is how much current it will allow the circuit to draw before it goes into current limiting. What you are setting is a limit so you won't see a difference unless your circuitry starts bumping up against it.
    By the way in general there are two possible responses to an over current condition. The source can crowbar, which means it turns off the output, or it can go into current limiting where is starts dropping the output voltage until the current limit is reached.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Current level on runtime discoverer

    Hi,
    Can I Know the current level in a specific atribute/hierarqy at runtime in a discoverer crosstab?
    Is there any variable or metadata availuble?

    Hi,
    i have the same problem.
    Have you some news about.
    Thanks in advance

  • Current level?

    Is there a way to detect the current level in flash in order
    to then add to this, to bring in the next file. I want to load a
    new .swf into the next highest available level on top of the latest
    .swf which will be at the current highest level.
    Cheers!

    create an array. every time you instantiate a level, store
    that level in the array. every time you unload a level, remove it
    from the array. any time you want to know the topmost level, check
    the array.

  • Abort during hardware write leaves NI 9263 at current level

    When an abort is performed on an AO NI 9263 the current level output is kept until the program is completely shut down and then restarted. Is there a way to trap the Abort and do azero level write to the hardware then abort?

    No. This is why the abort button should only be used as a last resort.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • In Bex Formula variabel, Current calander day(sap exit) missing

    Hi All,
    In Bex Query Desinger, there is a defualt SAP Exit formula variabel - "current calander day", we can use this.
    I am unable to see this formula variabel in my formula variabel list.
    How to get this standard sap formula variabel - "current calander date" in formula variabel, is any setting required to do?
    Dushyant.
    Edited by: DUSHYANT DADHANIYA on Aug 24, 2010 5:27 PM

    Hi Ravikanth Indurthi  ,
    i found 0f_aday - fomula var for current calendar day, this is only working at formula variabel in beq query designer.
    is there any formula variable for counting number of days, ex today is 13 sep 2010 than i want result 12 using formula variabel.
    is there any formula variable to get last date of previous month?
    Regards,
    Dushayant.

  • Segment E1RSHND does not occur at the current level of thecustom basic type

    Hello Friends,
    This is the error iam getting in RSA1 for Heirarichal orgunit: So data load is failing.
    EDI: Syntax error in IDoc (segment cannot be identified)
    Message no. E0078
    Diagnosis
    The segment E1RSHND does not occur at the current level of the basic type ZSPB007 (extension ).
    This error can have several reasons:
    The segment E1RSHND is assigned to a group whose header segment does not occur.
    The segment E1RSHND does not exist in the syntax description of the basic type ZSPB007 (extension ).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Procedure
    Please check the IDoc or the syntax description of the basic type ZSPB007 (extension ).

    Hi Sonal ,
        i reprocessed the Idoc in BD87 and now the status is 51. Error message in RSA1 is as follows
    Function module not allowed: RSAR_DATA_RECEIVED
    Message no. B1252
    Diagnosis
    The function module RSAR_DATA_RECEIVED and the application object type which were determined are not valid for this IDoc.
    Procedure
    1. Please check that the process code in the inbound partner profile is correct.
    2. If this is the case, you should check the ALE inbound methods ALE inbound methods for the process code and see whether the specified function module and application object type are correct.
    3. If this is also the case, then the function module and the application object type are not permitted for the logical message type, message variant, message function and basis type that are contained in the IDoc control record. You should check whether the correct values have been assigned to these fields in the control record. If they do have the correct values, then the assignment to the function module and the application object type needs to be maintained.

  • Problem Upgrading Kernel to he Current Level for ECC 6 V5R4M0 OS/400

    Hello,
    I am having problem upgrading my ECC 6.0 kernel to the current level (236), the steps I have done is
    1) downloaded and copied following kernel fix to tmp folder under rootbin.
    APYR3FIX.SAR,APYSAP.SAR,LODSAPKRN.SAR
    2) Apply the above fix using following command
    - APYR3FIX SID(SID) SAVF(R3FIX700U/APYR3FIX) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC)
    - APYR3FIX SID(SID) SAVF(R3FIX700U/APYSAP) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC)
    - APYR3FIX SID(SID) SAVF(R3FIX700U/LODSAPKRN) SAVLIB(GEN700UOPT) KRNLIB(SAPSIDUC)
    Started applying new kernel
    1) Copy sapexe.sar and sapexedb.sar into tmp folder i.e kern under rootbin.
    2) created one file using notepad called parts ( w/o extension)
    parts file having following content.
    SAPEXE.SAR,
    SAPEXEDB.SAR,
    3) copied parts file into tmp folder.
    4) Create new kernel library like SAPSIDUKRN using following command.
    - CRTLIB LIB(SAPSIDUKRN)
    5) Apply latest kernel to newly created kernel library using following command.
    - LODSAPKRN DEV(STMF) MNTPNT('/tmp') KRNLIB(SAPSIDUKRN) USERDEF(YES) LIST('/tmp/parts')
    When i run the command it says successfully completed, but no files are present in the newly created kernel. please guide me on how to proceed with this.
    Thank You

    Hi Vijay,
    From reading your description I wonder if you simply mixed up directory names. In step 1) of the kernel load you mentioned directory kernel below rootbin. In the command you reference directory /tmp. Although LODSAPKRN should complain if any of the given objects is missing it might worth checking.
    However, did you recognize there is a new option USERDEF(FLAT) available with the latest version (246) of LODSAKRN? This option is supposed to allow standard SAPEXE+SAPEXEDB packages being imported without having to provide the parts file. Check note 912575 if you are interested - english version should be getting updated today.
    Regards,
    Thomas

  • CFP-AO-200 only puts out max current level 4.3mA

    cFP-AO-200 only puts out max current level 4.3mA using fieldpoint explorer. The load is 350 ohms resistor.
    Brad Whaley
    LabVIEW Certified Engineer

    What is the voltage level of the external power supply you are using? The FP-AO-200 and cFP-AO-200 output load drive capability is based upon the voltage of the external supply that you are using. They each have an internal 3 volt drop. You can use V=I*R to determine the load drive capability. For example, with a 5 volt external supply, you have the 3 volt drop, so 2 Volts/ 21 mA = 95 Ohm load maximum. With a 24 V supply, you can drive the maximum rated load of 1000 Ohms. For a 350 Ohm load, you will need a minimum of a 10.5 Volt supply.
    Regards,
    Aaron

  • Logic in Formula at Query level

    Dear All,
                  We are creating query, we want to use the sum of working days for perticular machine iin formula.
    Machine No=M1,  Calendar=1/12/2009, out put=100, workingdays=1, average out per day(formula)
    Machine No=M1,  Calendar=2/12/2009, out put=105, workingdays=1,
    Sum                                                        out put=205, workingdays=2,
    Machine No=M2,  Calendar=1/12/2009, out put=100,    workingdays=1, average out per day(formula)
    Machine No=M2,  Calendar=2/12/2009, out put=101,    workingdays=1,
    Machine No=M2,  Calendar=3/12/2009, out put=105,    workingdays=1,
    Sum                                                        out put=306,    workingdays=3,
    We want to use the sum of working days each machine wise in the formula (Average out per day). please help me
    Thanks&Regards
    Subba Rao
    Edited by: subba rao koyalakuntla on Dec 21, 2009 5:41 PM

    Did you try activating the sub-totals at Machine Level.. that might give you the summary values you are looking for..
    alternatively, we can use some VBA code for this.. or may be macros can help you as well..
    I know this is not an answer.. but some alternative to how we can get there..

  • Change Formula Field Current Date

    Can someone show me how to change the current date and subtract by 1 year. Ex: Current Date - 1 I would like to take the value of the current date 20090318 and change its value to 20080318
    Thabks for your help.
    Jim Dyer

    Hi
    Create a formula field and put the below formula:
    Year(datefield) - 1;
    Hope this helps!!
    Regards
    Sourashree

  • Formula at characteristic level

    Hi All,
    I have a scenario in which I need to implement the formula in BeX at characteristic level. For example
    Comp Code     Plant     Material     Sales     Qty     Actual Rate(Sales/Qty)     Target Rate     Variance (Actual Rate - Target Rate) * Qty
    1001               TT01     ABC          100        10      10 (Rs/Kg)                         5 Rs/Kg           5 * 10 = 50Rs
    1001               TT01     ABC          500        10      50 (Rs/Kg)                         5 Rs/Kg           45 * 10 = 450Rs
    1001               TT01     BCA           900        10     90 (Rs/kg)                         100 Rs/kg        -10 * 10 = -100 Rs
    From above calculations, total variance is 50 + 450 - 100 = 400 Rs
    So, I need to make one report in which there is only one selection 'Variance' and it should display 400 Rs
    i.e.
    Variance = 400 Rs
    Please help how should I create such requirement in BeX.
    Thanks.

    Hi Sameer,
    I think in bex level you can't do it if your requirement is showing 450 when removing the material characteristic. You can add a KYF to your infoprovider and do the calculation through transformation and in the query that will work fine.
    Regards
    Yasemin...

  • Formula at Transformation level

    Hi All,
    One formula has written at transformation level for the infoobject Zvendor. 
    Formula is as follows RIGHT( 10, REPLACE_FIRST( '2VEN', '0000', GN_VENDOR ) ).  As per my understanding Vendor number will take 10 digits and it is replacing with '0000' if the value is '2VEN'
    Can you please confirm whether my understanding is correct or not?
    Thanks in advance.

    What i understood is:
    It will replace the first occurance of 2VEN with 0000 and take first 10 digits of the resulting string.
    Edited by: Pravender on May 26, 2010 1:26 PM

  • Formula Variable: Current Date

    Can somebody let me know the SAP Delievered Current Date Formula Variable Name.
    Cheers!!
    Amit
    9990800302

    Hi.......
    As already said....you can use 0F_ADAY.....
    Usually global variables (as formula) are available for every query (and not specifically to a single provider)...in addition, you can find all the formulas when you build a new object (new formula) in your query (you can choose from formula hierarchy)...
    Check this..........
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/324de5a1-0201-0010-dc9a-a093cde87bb5
    Customer Exit.......
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/content.htm
    Regards,
    Debjani.........
    Edited by: Debjani  Mukherjee on Oct 29, 2008 4:47 PM

Maybe you are looking for