Group condition summary by Year

Sum({Detail_positive_responses.A8RPositive},{Detail_positive_responses.Survey Date}, "Monthly")
I'm looking to be able to change this summary to Yearly.  I tried just typing "Yearly", and Tried "Annually" but get an invalid Group condition error.  is there a way to summarize by year?
Thanks much for any insight you can provide.

Hello,
I'd ask in the SQL Server forums over here:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

Similar Messages

  • Conditional Summary Values

    hi,
    ( A Financial Report consisting of Account wise detail record printing followed by summary column on debit and credit entries. The requirement is to have one more conditional summary column of the same data at the end of the above summary column.)
    I have single query which has join condition and with two groups, G1,G2, one of the group gives master records (G1)and the second group(G2) consists of detail records based on master record. the first group(G!) consists of fields like Date,Account,OpeningBalance,description.
    and the second group (G2)consists of DebitAmount,CreditAmount ,voucherno etc
    The first group fields are placed in repeating Frame R1 and second group fields are placed in second repeating Frame R2 which itself is with the first Repeating Frame ie R1 And summary columns are also placed in group G1 and repeating frame R1 for debit and credit fields.
    I want the summary of conditional Detail Records, suppose there are 10 detail records for one master Record, of which i want the summary of those detail records which are cash payment(ie I want to use summary for detail records on condition), As I want the total of Debit and Credit for every master record so i placed that field (which has to show the total) in first group G1 and Repeating Frame R1. How do i solve this problem.
    I did try to write a query in Formula column in group G1 but it's taking lot of time as i have 1400 pages Report.
    I am getting the report correctly but I only need to show the total of detail records on condition.
    For any further clarification you can contact me.
    Thanks in advance
    Rama

    To apply filter condition for a dynamic parameter you need to create a command using "Add Command" in database expert.
    Now write the command like
    select company from table where (use condition here)
    click on ok and remove the links between the command ang existing tables.
    Now create a dynamic parameter in the report and use company field from command instead of using for existing table. This shows you the data according the the fileter condition added in add command.
    Regards,
    Raghavendra

  • I had 41 tabs open in about six groups over the last year and a half and I just close them and exited Firefox. Is there any way to get them back?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/856718]]</blockquote>
    I had 41 tabs open in about six groups over the last year and a half and I just close them and exited Firefox. Is there any way to get them back?
    Also, is there any way to save a group or an open session and then restore it later?

    History menu, if it was destroyed in the last session
    then use "Restore Previous session:" and then restore all windows also from the history menu.
    If done in this session try the restore all windows under the history menu.

  • CRM 5.0 IPC Group Condition

    Friends,
    We have a requirement to implement a group condition in CRM IPC 5.0.  We have it implemented in R/3 and it works fine.  We have replicated the code in the IPC and it is being hit.  The code is quite simple.  We copy to subtotal 1 a the net line value if the condition ZDC1 exists on the line.  We then want the group basis calculation to only include the totalling of those lines that had ZDC1.
    As I mentioned, this works fine in R/3.  In CRM it is including the value of all the lines regardless of whether there is a ZDC1 condition or not.  The Java code is getting hit and doing the transfer of the value to subtotal 1 at the right time. 
    Is there something else we should be setting up in the custom fromula for a group condition?  I see in the IMG in CRM where I can add formula and implementation attributes.  Is this something I need to do to get the group condition to work correctly?
    Regards.
    KB

    We put code in to write the condition out to a log file to ensure that the correct values were being calculated.  Once we did this, the condition started working.  No clue why.

  • Shipment Cost: Group Condition Type calculated on a special weight...

    Here is the scenario: A shipment (truck) combines multiple deliveries, grouped on a stage when same destination (happens often).
    A condition per LB is to be calculated on the cumulated weight per destination (per stage) BUT not simply on the gross weight, but on the heavier of 2 special weights: the business here uses a special formula according to the packaging, and it gives 2 weights (stored in Z fields of LIKP), an actual weight and a cubic weight.
    The purpose is to identify for each delivery the heavier weight and to use cumulated the weight across the deliveries to the same destination to calculate the per CWT cost.
    This is my first issue: the condition type is defined at Delivery calculation base, Calculation Type Multi-dimensional, and as a group condition). How do I define to use the cumulated of each delivery heavier weight ? In the Scale for condition type view, I used the scale basis D Gross Weight (which is not right..), there is also a field for a Scale Base Value formula, I wondered if that is what I should use..
    My 2d issue: once the cost is calculated, I have to re-distribute it on the deliveries as per the proportion of their heavier weight compared to the total weight used for the calculation…Should that be an alternate Condition Base Value formula in the pricing procedure (where xkwert would be….the heavier weight….would that be then a new Z field to be filled in by the user exit determing the heavier value) ??
    Thanks a lot, it is a tough one, I know...who is the best ever shipment cost pricing consultant ? !

    Hi Guys
    Unfortunately I do not think that you will get an answer now. Either your question is not simple or we do not know.
    So in the interest of keeping the Forum tidy and easier to surf through could you please close your thread and either try one of the other forums or try another post. I do not think that most people will bother to look this far back anymore.
    Sorry I cannot help as I would if I could.
    Regards
    Frenchy.

  • Get Delivery date(EKET-EINDT) in MM Pricing routine(group condition)

    Hi All,
    I have created an MM pricing routine RV65A092 in VOFM. So when creating PO(ME21n), this routine will trigger..
    Now the problem is I need EKET-EINDT for grouping condition. It was mentioned to call program SAPLMEPO and get EKET data.
    Please help me how to get delivery date in that routine  which is filled in Item level during PO creation
    Thanks
    Ram

    Hi Ram,
    For SD you have the SAP Note 531835 - Using field PSTYV in the condition access. For MM is simmilar, although you must use the enahncements. Instead use the userexits that note says, use the enhancement LMEKO001 (EXIT_SAPLMEKO_001) to populate fields ZZ in KOMK and LMEKO002 to populate KOMP.
    I hope this helps you
    Regards
    Eduardo

  • Set up pricing - Group condition doesnt works

    Hi Gurus,
    Please provide me your inputs.
    Can SAP determine the sales price as described in the below two cases.
    Case 1:
    Sales price for material M1, from 01.01.2011 u2013 31.07.2011
    Quantity         Price
    0                         100
    25      90
    100      75
    Sales price for material M1, from 01.08.2011 u2013 31.12.9999
    Quantity      Price
    0      105
    25      94
    100      78
    Sales order (note the difference in pricing date)
    Total quantity = 38, second scale should be used
    Item      Material      Pricing date      Quantity      Price
    10      M1      31.07.2011      17      90
    20      M1      31.08.2011      21      94
    Many Thanks for your answers
    Sharan

    Dear Sumanth,
    Thanks a lot for your answer. I am relatively new to this subject. Please elaborate your answer for me to maintain the settings in copy control.
    The scenario is - New condition type ZPR0 is created with group condition. And the scales are maintained as mentioned in the problem.
    Lets say Order is created on  date - 23/11/2011 with two lines
    Line 1 - Material M1 - Quantity 17 - Pricing date 31.07.2011(Maintained at item level)
    Line 2 - Material M1 - Quantity 21 - Pricing date 31.08.2011(Maintained at item level)
    With scales maintained, because of the pricing date , system picks up individual scales and it doesnt accumulates the quantity. How to tell system to accumulate quantity and then check scale based on the pricing date.
    Thanks for your help again,
    Sharan

  • Use of group conditions in subtotal KZWIW

    Hi,
    I have a specific trouble in the use of group condition in sales order and billing.
    Condition Z001 is a group condition and should also update field kzwi2 as base information for condition Z002
    Condition Z002 is not a group condition and is  calculated based on informations stored in kzwi2. 
    When creating a document, the field kzwi2 is not updated directly (because Z001 is a group conditions) and the price should be redeterminated manually in order to allow the document to be considered as complete.
    Is there any settings that can avoir the manual recalculation of the price?
    Many thanks in advance,
    Nathalie Winand

    Hi Nathalie:
    See Note 1022966 - FAQ for the 'Subto' column (KZWIW) in the pricing procedure
    Perhaps it will help you
    Regards
    Eduardo

  • Regarding group condition

    hi friends
    1.wht is header condition and group condition?
    2. what r the condution types for header and group conditions?
    3. give me some examples for useful of header condition and group conditon?
    plz reply me
    thanks in advance

    Dear Venkata Ramana
    1)  Header Conditions
    Header conditions are entered manually in order processing. Automatic pricing does not take header conditions into account; you can not create condition records for them in the standard system.  R/3 includes the following header conditions:
    - Percent discount (HA00)
    - Absolute discount (HB00)
    - Freight (HD00)
    2)  Group Conditions
    Please check this help link
    [Group Conditions |http://help.sap.com/saphelp_47x200/helpdata/en/1c/8c8b518d8c11d199a30000e8a5bd28/frameset.htm]
    thanks
    G. Lakshmipathi

  • Group Condition at Header on Scale basis

    Hi,
    I want to know, how system assign the corresponding condition amount of header to individual item .
    in our system
    e.g in our system we have condition ZD22 for packainf and forwading charges as fixed amount and scale is qty
    i have add Rs 300 at header  and in my PO there are 3 item  having qty,   100 ,100  and 2500   after adding condition amount at header  as 300   when i checked the on individual item  i found for first two item  it  75.89  each  and for third item  the amount is  148.22
    I want to know how system divides the header amount to individual item  if scale is qty.
    regards,
    zafar

    Hi
    Kindly note this scenario
    Condition value XXXX    180
    Marked as Header + Group Condition
    PO
    Item 1       qty   1           Price 300
    Item 2       qty   1           Price 100
    Item 3       qty   1           Price  50
    Ratio = Based on value =Qty*Value
    300:100:50   = 6:2:1
    Therefore XXXX distributed to items as   120 , 40,20

  • Group condition calulation error

    Hi Gurus
    I am facing a problem while applying a group condition as discount at item level. Tried to search in the existing threads but no luck.
    We have marked a discount condition as group condition with quantity scales.
    Now if there are multiple line items in the sales order for the same material with different quantities, there is a strange system behaviour.
    The line item with highest quanity gets the discount calulated with a conditon round diff populated (KOMV-KDIFF) with negative value in the sales order. Now when billing document is created for this sales order the same line item gets the condition round diff (KOMV-KDIFF) populated with positive value. This in turn results a difference in net value of sales order and billing document.
    Pls advise what could be the possible cause and solution.
    Thanks in advance,
    Gaurav

    Hi Nikhilesh
    Thanks for ur early reply.
    Yes there is a 1:1 relationship between sales order and invoice. Example is detailed below:
    Line item Material Qty     Amount (GBP)
    10           STL       6531   2220.54
    20           STL       6770   2301.80
    Now in the sales order, when the discount condition YGID is calulated on the above items @ 4.5%, discount value for line # 10 comes to 99.92 and discount value for line # 20 comes to 103.59 with -0.01 value in KOMV-KDIFF field.
    Thereafter when billing document is created for this sales order, value in line # 10 for the discount remains same i.e. 99.92 but for line # 20 the discount value comes as 103.58 with +0.01 value in KOMV-KDIFF field.
    This results in a difference in net values of sales order and billing document.
    Regards
    Gaurav

  • GROUP CONDITION ROUTINE IN PO

    Hi all,
    in M/06 I have put flag GROUP CONDITION  and I have choosen GROUP CONDITION ROUTINE 3 (material Pricing group).
    Calculation Type= Quantity
    Scale basis= Quantity
    I have created 2 condition records for 2 materials with scales.
    These 2 materials have the same material price group.
    Why when I do purchase order the system doesn't accumulate the item quantities?
    If I do the same configuration in SD the system sum the quantities and get the right scales for each material.
    Does the  group condition routine 3 valid only for SD documents (Sales Order) and not for MM documents (Purchase Order)?
    Thanks a lot
    Best regards
    Alba Battolini
    Moderator message: Thread locked because of violating forum rules: subject in capital letters. Please read and  follow the forum rules
    Edited by: Jürgen L. on Mar 9, 2012 4:38 PM

    HI,
    Condition type for Planned delivery cost, like FRA1, FRB1,ect, have Acc. key& Accrual key like FRE, FR1 in PO pricing procedure(calculation schema)
    Deselected the indictor of Statistics.
    By doing it will included the deliverycost into the net price by removing Statictis indicator.
    Regards
    KK

  • Can a scales-based condition be defined as group condition?

    We have a scales-based condition, applying to certain items. A formula has been created, which basically loops through all items equipped with this condition, calculating the value based on the accumulated quantity of all items up to the one currently calculated. The condition rebate is then applied if the "max" value hasn't been exceeded.
    The formula itself works fine as long as the condition is not defined as a group condition. If it is set as such, the condition value is overwritten due to the sum quantity of all items exceeding the scale maximum... the client insists on the condition being a group condition, whereas I think this destroys the purpose (calculate rebate for items up to the last one before max is reached). Any suggestions?

    Create a hidden item lets say P1_MYITEM and set its default value to *2*
    Just amend the IR SQL query to add a where clause like below
    //remember the default value of item is 2 and this will evaluate to false and return no data initially
    where 1 = :P1_MYITEMBefore setting your filters and refreshing the report just set the value of the item P1_MYITEM to *1* (make sure you set the item's value into session state using Page Items to Submit property)
    So ideally the dummy where clause will now evaluate to true and the data will be shown

  • Group Condition types & routines - pricing

    Do we have to code the group condtion routines all the time? If I just have the group condition box checked without any routine coded, I am seeing that SAP is grouping all the items in the sales order using the same access. Please let me know. Thanks.

    Hi,
    This depends on your requirement. If you have defined the condition at the material pricing group level, then no need. The routine is used only if you want the condition to be read differently for each item (with the scale base value being total of all the items).
    You can find some help in the below link:
    http://help.sap.com/saphelp_erp2005/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
    There are some helpful SAP Notes if you need further clarifications:
    39034     Group condition routine
    854978     Function of cumulated scale base values (in SD)
    109708     Scale processing for group conditions
    Hope this helps.
    Regards
    Nikhilesh

  • Group condition.

    Hi,
    I have a requirement as below: I have a group condition(ZR09 which is scale based) which has to be calculated as follows: For every line item the net value is added and finally the condition ZR09 is applied. Now the problem is I have certain cases where the condition ZR09 is inactive(Because of exclusions). Currently the value of ZR09 is calculated based on whole line item net value.
    The requirement is if for a particular line item the group condition ZR09 is inactive then the corresponding net value of the line should not be considered for calculating the group condition. I have written a scale based formula for this and assigned in the condition type. It works fine during creation of the sales order but when I add a new line item to an existing sales order the problem comes and the calculation of group condition is done based on certain other values.
    Did any one faced this situation earlier. Again I think this issue can be solved by some customizing(Which I am not sure of). Can anyone suggest a work around for this?
    Regards,
    Murari.

    Hi
    See Note 315792 - Group conditions of the same amount on item. It suggest how to create a VOFM and set it in V/06 for this condition in group key routine to avoid this kind of problems.
    I hope this helps you
    Regards
    Eduardo

Maybe you are looking for

  • I have an HP Officejet 6500 E709N that I can't print from but only from my laptop

    This printer used to work great.  My desktop and laptop were both running Vista.  After a while it stopped printing from the laptop, but continued to print from the desktop.  I changed to Windows 7 for my laptop and it worked for a while then I could

  • How to Import 9i Repository into 10g Repository

    I downloaded and installed the latest developer suite 10.1.2.0.2 on one server and and I have old version of designer 9.0.2.10 repository on another server. I created an export of the repository from 9.0.2. I brought up the RAU using the 10.1.2 and t

  • Updates to stop browser conflicts

    I have just completed a new redesign of a site LockSmart 24hr locksmith - everything was fine till firefox released a new version and now my text and some images do not align - i know this is a age old theme but is there no way to be able to install

  • What will i do when i received the message of an error is that "your server has unexpectedly termina

    What will I do when I received the messages about the errors?    Here the information was given away : "Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of in

  • Internal Order on Service Process Transaction

    Hi All, I have complex problem for which i need your guidence.Our Client wants is the internal order(r/3 side) for the service order created on the CRM using service process transaction.He has asked us to create a view using eewb trans having interna