Key Figure Update Rule aggregation problem?

Hello all,
I am trying to create a simple routine in an update rule to sum up two key figures and perform a calculation.  To be more specific, I want to add ZQTY and ZQTY2, and calculate the quantity greater then 8 for formula (F1).
(F2) = ZQTY + ZQTY2.
(F1) = IF ( F2 > 8, then F2 - 8, else zero)
Source:
0CALDAY...0EMPLOYEE...ZTASK....ZQTY....ZQTY2
2008.05.01....90000....TASK1.....5.......1
2008.05.01....90000....TASK2.....1.......2
2008.05.01....90001....TASK1.....8......0
2008.05.01....90002.....TASK1....9.......4
Target:
0CALDAY...0EMPLOYEE...ZQTY....ZQTY2....(F1)
2008.05.01.......90000............6..........3...........1
2008.05.01.......90001............8..........0...........0
2008.05.01.......90002............9..........4...........12
In the source, calday, employee, task are the key.   In the target, 0calday, 0employee are the key.
Here is the code I am using for my update rule routine for F1:
DATA:  total_sum TYPE d .
*BL - Get sum of qty
    total_sum = COMM_STRUCTURE-/BIC/ZQTY + COMM_STRUCTURE-/BIC/ZQTY2 .
*BL - Calculate qty > 8
    IF total_sum > 8 .
      RESULT = total_sum - 8.
    ENDIF.
With the current code, I am not getting the correct results (employee 90002 will be correct, employee 90000 will be wrong because of aggregation).  Does anyone know how to get around this?
Thanks,
Edited by: Brendon Lipchen on May 13, 2008 4:38 PM

Hi,
In case of 'ABORT = 1' the whole data package will not be loaded.
Best regards,
Eugene

Similar Messages

  • Update Rule Routine Problem

    Hi
    i have wriiten a update rule routine.
    in that routine i am fetching comp code ,GL Acct. from SKB1 table and match those records wth Data Package records.
    Data Package has both Open and Closed items. so i need to match the Comp Code and GL Account which i have fetched from SKB1 with Data Package Comp Code and GL account which records will be matched they will go to Target ODS otherwise Delete from Data Package.
    But data is not coming properly in Target ODS.
    i have debug the routine and found , there are 10 records(Comp Code + GL Acct.) has been fetched from SKB1
    and Data Package has Total 416 Records. Only 20 Records has been gone to Target ODS while I have seen the 216 Comp Code and GL Account combination has been successfully matched with 10 Records of SKB1
    Below is the code in Start routine.
    Note: Data Package has Multiple Records for a Combination of Company Code and GL Account which is present in SKB1.
    How can i resolve this problem.
    ********Logic to Fetch Open items GL Account**************
    *Fetch data from SKB1*********
    SELECT /BIC/ZMCFBUKRS
           /BIC/ZMCFSAKNR
           FROM /BIC/AZOCFSKB100
           INTO TABLE TB_ZOCFSKB1
           FOR ALL ENTRIES IN DATA_PACKAGE
           WHERE /BIC/ZMCFBUKRS = DATA_PACKAGE-COMP_CODE
           AND  /BIC/ZMCFSAKNR = DATA_PACKAGE-GL_ACCOUNT
           AND /BIC/ZMCFXOPVW = 'X'.
    ***Fetch records from FI GL Data Package which match with
    ***internal table TB_ZOCFSKB1
    LOOP AT DATA_PACKAGE INTO WA_DATA_PACKAGE.
    READ TABLE TB_ZOCFSKB1 INTO WA_TB_ZOCFSKB1 WITH KEY
    /BIC/ZMCFBUKRS = WA_DATA_PACKAGE-COMP_CODE
    /BIC/ZMCFSAKNR = WA_DATA_PACKAGE-GL_ACCOUNT
    binary search.
          IF sy-subrc ne 0.
            DELETE TABLE DATA_PACKAGE FROM WA_DATA_PACKAGE.
          ENDIF.
    ***Clear Work Area****************
          CLEAR WA_TB_ZOCFSKB1.
          CLEAR WA_DATA_PACKAGE.
        ENDLOOP.
    ***Refresh internal table*********
       REFRESH TB_ZOCFSKB1.
      ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    Edited by: AtulMohan Mishra on Feb 9, 2011 11:22 AM

    Hi,
    It is very important that you SORT the internal table before you do a READ with Binary Search.
    SORT TB_ZOCFSKB1 BY /BIC/ZMCFBUKRS /BIC/ZMCFSAKNR.
    You are sure to miss results unless you do.

  • DP Local Key Figure Discrepancy between Aggregated level and lowest level

    Dear,
    Here is my issue.
    Forecast (key figure)
    Life Cycle Factor (key figure)
    Final Forecast (Local Key figure)
    Final forecast = Forecast * (1- LCF (%) )
    Example :
    Product 1 = 100
    Product 2 = 200
    Product 3 = 300
    TOTAL FORECAST = 600
    If I assign a life cyle factor to Product 1 = 60
    Total LCF appears  = 20 (60 + 0 + 0) => OK
    Final Forecast Product 1 = 40        => OK
    Final Forecast Product 2 = 200      => OK
    Final Forecast Product 3 = 300      => OK  
    Total Final Forecast =  480  (600 * (1-20%)        => NOK 
    I have a very strange situation because  at the product level, the formula is OK   => Final Forecast = Forecast * (1 - LCF(%) )
    BUT Total Final Forecast should be the sum of the each product Final forecast = 40 + 200 +300 = 540.
    Can you help me to understand what I have to correct for  this aggregation ?
    Thanks a lot for your help
    PE

    Hi Arnaud,
    My macro is running "interactively" because it is placed into the Default basket of my planning book.
    (macro executed  for each save / change)
    I agree, calculation is done at each level.
    Here is the parameters of the macro... should I change something ?
    Thanks for your help
    Pierre

  • Update rules Activation Problem

    Hi,
    Iam getting the error while transporting the update rules to production,saying error mesage,
      Start of the after-import method for object type R3TR UPDR (Activation Mode)
      Update rules 4AR6MO7P6M428KB2RPA65E9EX read in version M
      Error when activating update rule 4AR6MO7P6M428KB2RPA65E9EX
      Activation of the update rules for ZCG_O15  ZBW_CRTDN
      IC=ZCG_O15  IS=ZBW_CRTDN error when checking the update rules.
    from Dev to QA successfully transported and data hasbeen loaded with out any issues,
    I didnot changed any thing in ODS,I Just  created the new infosource with only two characteristics and created the update rules direct updating,with out any routines.
    I activated the update rules in Dev couple of times and transported to PD,but every time it is giving same error,there was no issues upto QA,
    Please suggest anybody how to resolve this issue.
    Thanks
    BI USER

    Hi
    Thanks for your replies,
    Iam checking from transport request error log,iam getting error message as I mentioned in my question,
    iam not getting detail information on error log,Update rules are available in PD system but in inactive state,
    I did the Update rules check it is giving message 'no erreors found in update rules'.
    I collected all dependent objects from transport collecter,still same error,I tried from Program
    RSAU_UPDR_REACTIVATE_ALL,but my PD system is in not modifiable state.
    Thanks

  • InfoSet in SAP BI 7.10 and Key figure aggregation

    HI SAP Gurus,
    I am new in SAP BI area. I have my first problem.
    I want to create a report for the profit of goods. 
    The cost of goods(cogs) are constant for each material for one month.
    The formula to calculate the profit of goods = sales turn over u2013 cogs of month *sales amount.
    I have defined in BW time dependent infoObejct with attribute cogs.
    I have 2 info Sources.  InfoCube for transactional sales data from R/3 and material cogs master data loaded from csv file each month to infoObject.
    The info Provider for report is InfoSet (transactional Cube and cogs infoObject) .
    My problems are
    1) When I create an InfoSet, SAP BW create automatically new technical name for all characteristics and key figures and the first technical name should be alias fr each InfoCube and InfoObject in the InfoSet.
    2) The new technical name infoSet erased my aggregation references characteristic (=calmonth)
    3) In the report the key figure cogs was aggregated for each customer sales and customers,    that means the value of cogs is not constant, when it is aggregated according to customer sales order.
    Thanks a lot for your support
    Solomon Kassaye
    Munich Germany

    Solomon find some code below for the start routine, change the fields and edit code to suit your exact structure and requirements but the logic is all there.
    4) Create a Start Routine on the transformation from sales DSO to Profit of Goods InfoCube.
    Use a lookup from the the COG DSO to populate the monthly COG field in the COG DSO.
    **Global Declaration
    TYPES: BEGIN OF I_S_COG,
    /BIC/GOODS_NUMBER TYPE /BIC/A<DSO Table name>-/BIC/GOODS_NUMBER,
    /BIC/GOODS_NAME TYPE /BIC/A<DSO Table name>-/BIC/GOODS_NAME,
    /BIC/COG TYPE /BIC/A<DSO Table name>-/BIC/COG,
    /BIC/PERIOD TYPE /BIC/A<DSO Table name>-/BIC/PERIOD,
    END OF I_S_COG.
    DATA: I_T_COG type standard table of I_S_COG,
    wa_COG like line of i_t_COG.
    *Local Declaration
    data: temp  type _ty_t_SC_1.
    *move SOURCE_PACKAGE[] to temp[].
    temp[] = SOURCE_PACKAGE.
    select /BIC/GOODS_NUMBER /BIC/GOODS_NAME /BIC/COG /BIC/PERIOD  from
    /BIC/A<DSO Table name>
    into corresponding fields of table i_t_COG for all entries in
    temp where /BIC/GOODS_NUMBER = temp-/BIC/GOODS_NUMBER.
    sort i_t_COG by /BIC/GOODS_NUMBER.
    loop at SOURCE_PACKAGE assigning <source_fields>.
    move-corresponding <source_fields> to wa.
    loop at i_t_COG into wa_COG where /BIC/GOODS_NUMBER =
    <source_fields>-/BIC/GOODS_NUMBER and /BIC/PERIOD =
    <source_fields>-/BIC/PERIOD.
    modify SOURCE_PACKAGE from wa transporting /bic/COG.
    endloop.
    endloop.
    5) Create an End Routine which calculates Profit using the formula and updates the result set with the value in the Profit column.
    Given your requirement for the profit calculation
    profit of goods = sales turn over u2013 cogs of month * sales amount
    Write a simple end routine yourself
    *Local Declaration
    loop at RESULT_PACKAGE.
    <result_fields>-profit = <result_fields>-sales turn over - <result_fields>-COG * <result_fields>-sales amount.
    modify RESULT_PACKAGE from <result_fields> transporting profit.
    endloop.
    As the above start and end routines are used to enhance your sales DSO, your fields for customer number and the sales order should already be in your DSO for drilldown.
    Let me know how you get on.

  • Problem in the update rule routine in BIW production

    hi,
      I have encountered a problem in the update rule, the problem is, there is a routine to calculate the age of a person, age is a key figure,
    The problem is that the key figure is not being calculated.
    we had encountered the same problem in the bw developent, we reinstaled the update rule, and the age was calculated correctly. Where as in production we cannot instal from business cotent, should we transport the perticular update rule once again?
    if there is any other solution, please let me know.
    Thanks in advance.
    regards chetana.

    I think retransporting is the only option available to you. You cannot modify anything in your production system.
    IF you have a chance to speak with basis people,ask them to open the system status to modifiable for few minutes.
    and make necessary changes in production and bring it back to normal (This is not a best practise in all situations).
    hope this helps.
    Praveen

  • Currency Translation with a Calculate Key Figure

    Hi,
    Does anyone have experience with applying currency translation in BEX/Query Designer on a Calculated Key Figure? 
    I have a need for a calculated key figure to be converted to a target currency of USD (which is already defined via RRC1).  I also need the Results Row to display the summation in USD. 
    Currently, my calculated key figure displays two currencies (MYR and USD) and an incorrect summation of both currencies.
    Here is how I have defined my calculated key figure:
    NODIM ( 'Consumption (STOs)' ) * NDIV0 ( 'Material Source Plant Cost' / NODIM ( 'Source Plant Price Unit' ) )
    I am multiplying a quantity field by amount field and then dividing by a price per unit field.  I have applied NODIM on the other fields so that the amount field will retain it's properties.
    Running this query through transaction RSRT and clicking on the Generate Report button, I get the following message:
    "<b>Currency translation cannot be carried out for element 20 (my calculated key figure). Element 20 neither contains a Basic key figure nor a variable with type Amount. For this reason, you cannot and do not need to perform a currency translation</b>."
    From the above message, I must be setting my calculated key figure incorrectly. 
    Any ideas?
    Thanks!
    Hau

    Hello Ajeet and N Ganesh,
    Thank-you for your help.  I verified that the dimensions of my key figure 'Material Source Plant Cost' was of type 0AMOUNT, so that was not the issue.
    The issue was in the error message that was returned when I pressed the Generate Report button in RSRT.  Essentially, currency conversions in BEX can only be performed on basic key figures or simple replacement path variables. 
    I can perform the currency translation on a SIMPLE calculated key figure that contains only the replacement path variable (where 'Material Source Plant Cost' is an attribute of my master data characteristic ZMAT_SRC).  However, I found that I cannot perform the currency translation on COMPLEX calculated key figures, like in my example above. 
    To get around this currency translation issue and as suggested by the error message, I created a SIMPLE calculated key figure for replacement path variable 'Material Source Plant Cost' and performed the currency translation.  The problem with this solution is that while I get my currency translation, I also get a calculated key figure that is aggregated, according to the query layout.
    To get around the aggregation issue, I also created a dummy counter as a master data attribute (of ZMAT_SRC) to capture the aggregation.  I assign a value of ‘1’ to this dummy counter/master data attribute in the update rules to my ZMAT_SRC infoobject.
    I then divide my new (aggregated) calculated key figure for 'Material Source Plant Cost' by the dummy counter (which is also aggregated).  Essentially, I divided the aggregated replacement path variable by the scaling factor.  The result is that I get a new calculated key figure that has been translated into the target currency and in the correct scaling factor.  I can use the new calculated key figures in the above formula; regardless of the report is rolled-up.
    Again, thanks for your help.  It gave me the pieces to solve this puzzle.

  • Restricted Key figure in Qery

    I have a critical problem - many points for a solution :). In my cube (Purchasing data - 0PUR_C01) I have several invoices that correspond to a material. Each invoice has an invoice date and an invoice amount;
    Cube contents:
    Material A - 2004-01-14 - 1000 USD
    Material A - 2004-03-05 - 1500 USD
    Material A - 2004-12-20 - 1700 USD
    Material B - 2004-03-15 - 100 USD
    Material B - 2004-04-17 - 200 USD
    Material B - 2004-11-30 - 300 USD
    Now, in the report I need to define a restricted (or calculated, or anything) key figure containing the amount from the latest invoice for each material. In the examples above the result would be:
    Material A - 1700 USD
    Material B - 300 USD
    The restricted key figure is later to be used as a base in price development calculations.
    How can I solve this, if it’s not possible to solve in the report I’m ready to restructure the flow.

    Hi Daniel,
    You can achieve it with the Aggregation settings of the Key Figure as follows:
    Aggregation: SUM
    Exception aggregation: Last value
    Agg. referen. char 0CALDAY or whatever temporary characteristic you use in the cube.
    You must consider that this setting will affect the KPI aggregation procedure and probably this won't be the expected result in the other queries so you better create a copy of the KPI with this settings and map it with initial KPI in the Update rules of the cube.
    Hope it helps,
    Andreu

  • Key figure summation

    Hi All
    I searched SDN forums and could not find a solution for the same.
    I have added a keyfigure as display attribute in 0costcenter masterdata. The same is available as display attribute in headcount cube (0papa_c02) via 0mast_cctr. Now at the reporting level, the values for the key figure is not summing up at the node level for costcenter hierarchy as a normal functionality of display attribute. It works fine for normal key figures.
    So as a solution, I added this keyfigure in the headcount cube and populated the same via a routine from 0costcenter masterdata. The values are populating perfactly fine in the headcount cube. But the problem is that, as the headcount cube has multiple entries for the same costcenter, the values for the key figure is getting aggregated at the reporting level. I even tried using exception aggregation and non cumulative key figures to get the non aggregated value. But I am unable to solve this.
    Could you please guide me how can I acheive this. I know I can achieve this if I use an ods. But this will affect the whole design. Plaese suggest.
    Cheers
    Chanda

    Hi Jacob
    I created one calculated key figure which contains the real key figure from the cube. When I press Ok, it will get saved. The only thing I could see is the properties of the calculated key figure/ key figure. Where I can see count all values <>0 in calculate result as.
    I could not find below at the query level. Are you talking about the aggregation tab in the infoobject maintainance in BW side?
    "on the next screen in bottom left corner, there is a button (I think it will say "Expand" if you log on in english). Click that one and now you get to set the aggregation behaviour. Set the exception aggregation to 'count all values 0' and the reference char to the costcenter (I think your mst. costcenter in this case)"
    Cheers
    Chanda

  • Calculate key figures totals in report based in multiprovider doesn't work.

    Hi dear Friends:
    We have a requirement where the data are in 2 different cubes, the layout defined is
    selections parameters :
    Zsales_offices
    0calweek
                   Columns.
                   0calweek  KFCalc1..............................KFcalc2.....................etc.
                   In rows.
                   01.2007   Qty on demand X unit cost.    sum of all qty's prods
                   02.2007
                   03.2007
                   04.2007
    the structure in cube z1mis contain:
    Zsales_offices,product,0calweeek,unit cost.
    the Second cube structure zdemand contain:
    Zsales_office, product,0calweek,qty on demand
    Our problem is:
    1. As you can see we need keep into KFcalc1 the product from multiply Qty on demand * unit cost but when the result is displaying the result is a wrong amount and the reason is because didn't´t exist a characteristic product in the layout, without this characteristic the amount for qty on demand and unit cost are summarized and multiplying with these amounts.
    We are trying to find a solution vía restricted key figures, calculating before aggregation, but it's not woks.
    I hope that you can give one suggestion.
    Regards.
    Eg@n

    Hi,
    putting product in the rows will slove the issues as the unit cost  depends upon the  prdoduct and therefore it will uniquely identify each of the material and then it will get multiplies with the qty and therefore you will get the correct result.
    this kind of issue you will always face when you are going to multiply cost with the Qty and as the cost differ with the individual material.
    Also putting material into the rows will cause the no. of rows to increase as all the materials will show up in the individual rows for the particular month.
    Also you can make a claculated key fgure for the multiplication and use before aggregation.
    But for that your both the key figures should be in the same cube i.e. in the same rows or the before aggregation will not work you will not even get an option of before aggregation in the CKF if the key figures belong to two different cubes.
    Since your qty and cost are coming from two different cubes before aggreagtion will not work here.
    And if you do before aggregation then you report will become quite slow as it will do all the multiplication anf then will bring the result.
    So it depends on your requirement and your design how to proceed.
    Hope it helps
    Thanks

  • Loading ACE Results to LA Key Figures

    Hello,
    I try to load Arccrual Engine Costing Results from DSO (0ACE_DS01) to Leasing Accounting Key Figures DSO (0FIL_DS04) but during the data processing  I get   Error 2 in update:
    Cannot determine fiscal year/period for date 99993112 and variant.
    Errorcode: RS_BCT_CRM_FIN006
    Could somebody help? Thanx in advance

    Hi,
    Since your requirement is that the Component subtotals should pick up the last value/aggregate and that the Total Material result to be sum of the components, can you just try as below.
    1)Create a formula on the key figure . In Aggregation tab  select Exception Aggregation  as Average and Reference characteristic as Component.Keep this formula hidden
    2)Create a formula using the above formula. In Aggregation tab  select Exception Aggregation as Total and Refernce characteristic as Material.Display this formula as Hours.
    Thanks.

  • Read Only Key Figure in APO DP

    Dear Friends ,
    Need help in the mentioned scenario :
    One Planning Book with two data views due to change in portfolio say regional manager and area manager .
    Key Figure updation of market intelligence by regional manager in his data view to be shown in the data view of the area manager data view but with no access to write on the key figure - market intelligence by regional manager .
    Please support .
    Thanks

    Hi Gurav,
    Answer for your question:
    1. If you want to make key figures as read only then you can goto design mode> select key figure> right click and select output only.
    2. If you want to make seperate roles for both region manager and area manager you need not create two planning books but when you create roles you can assign data views to respective users. ( authorisation object is C_APO_PB, in that data view is APO_DVIEW)
    Hope this helps.
    Regards,
    Jagadeesh.
    Pls reward some points if it helps.

  • Planning using the Non-Cumulative Key figures

    HI,
    In my reporting requirement for IP, I need to get some actual values from the cube 0IC_C03. The key figues which I required are 0VALSTCKVAL and 0TOTALSTCK, but these 2 are non-culative key figures. When I selected these 2 key figures in my aggregation level, it is throwing an error message as "InfoObject 0VALSTCKVAL(Version A) is not compounded and Aggregation level is inconsitent".
    I read in some document that, it is not possible to use non-cumulative keyfigures in ALVL.
    I searched in SDN and SERVICE also, but some documents are saying that, in new path level (19) it is possible. Now I using the path level 18 only. In this case how we have to use these non-cumulative keyfigues,, please sugguest me...
    Thanks in advance...
    Regards
    Rajesh

    Hi
    Non-cummulative keyfigures are not supported fro planning and teh error thrown is correct.Please find the help link which gives what are supported and not supported as part of aggregation levels.
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/1c3c7031b70701e10000000a422035/content.htm
    Regards, Hyma

  • Update Rule: error during activate process

    Dear Guys!
    I could not activate one of my update rules. When i go to transport connection
    to try solve the problem, found this errors:
    Object '0SPL_EXPHRZ' (IOBJ) of type 'InfoObject' is not available in version 'A'
    Object '0SPL_TARGET' (IOBJ) of type 'InfoObject' is not available in version 'A'
    Object '0SPL_TRSORD' (IOBJ) of type 'InfoObject' is not available in version 'A'
    If i ignore this errors and transport the rule, i receive the RSAU466 message.
    But i checked the rule's program and didn't found any error.
    Can somebody please help?
    Regards,
    Wilson
    PS.: Sorry my english, it's not my natural language.

    Hi Manga!
    First of all, thank you for the attention!
    I solved the update rule's problem transporting the infocube and the rules again. The infocube after the rules.
    Now every thing is OK. I sent your tips to the BW-Administrator, he will solve the problem about 0SPL_EXPHRZ, 0SPL_TARGET and 0SPL_TRSORD, because the rule's problem it wasn't related with this.
    Best Regards
    Wilson.

  • Is this a candidate for virtual key figure ?

    Hello BW Experts,
    discount amount = sale amount * disc rate
    discount amount is only for the analysis purposes, sale amount comes from the billing document, disc rate is manually maintained in a custom r/3 table (brought to BW as ODS).
    Disc rate can change daily. In the Bex report discount amount should be calculated based on the month end disc rate.
    wondering different methods to achive the same:
    1) make the discount amount as the virtual kf and lookup the month end rate from disc rate ods
    2) is it possible to declare the disc amount as the keyfigure with some sort of aggregation / cumulation ?
    any suggestions appreciated..
    Thanks,
    BWer

    Hello,
    Option 1 is simple and more practical where as option 2 falls under the category of non-cumulative key figures, which is slightly complex to handle.
    Option 2 also depends on number of entries in the Info cube, if the data in the Info cube is not huge then 2nd option won't cause any performance issues.
    You can also look at other option of creating Global calculated key figures with exception aggregation "Last value" but for this, you need to include discount rate a part of the Info cube.
    Hope this helps.
    Cheers
    Bala

Maybe you are looking for

  • Sender JDBC adapter slow processing in Production

    Hi All, We are facing an issue with processing time for Sender JDBC adapter. We tested a scenario in Quality for JDBC to Proxy. In quality the Sender JDBC adapter is taking around 30-50 sec. to send data to PI, but in production the JDBC adapter is t

  • MacMini doesn't show up in Finder.app on MacBook Pro

    Hi, I'm using a MacMini (2012)  as a headless Server. After upgrading the MacMini to Yosemite (10.10.2), the MacMini doesn't show up in Finder on my Macbook Pro. I'm using this for Screensharing. Its very strange, because if the Mini sleeps, it shows

  • How to delete all mail settings and setup mail as if new installation?

    Grrr! Comcast had my Mom change all sorts of email account and ISP settings, to the point where nothing works. I want to delete "everything" and start from scratch as if I just pulled the Mac out of the box. Will just deleting her email account be en

  • Copy and Paste Keyboard Shortcut not working

    My copy and paste (Command C) function is not working. Tried to resent in keyboard menu, but it didn't do anything. VERY FRUSTRATING as I use this function all day long in my job. Can somebody help please?

  • Why does iCal keep changing to colour of one of my calendars?

    For some reason, every time I open my iCal the colour of my "work" calendar is changed from Green to pink(one of the create your own colours). I keep changing it back to green and it keeps going back to pink. I am incredibly frustrated. Any suggestio