OTL Time Calculation

Hi,
We are having a strange requirement in terms of OTL hour calculation. We are using payroll layout and military time format (HHmm) to capture time for hourly employees.
On the time card entry page, when you click "Recalculate", you see the total for each day in hours decimal format (e.g. Start: 0800 End: 1212 total: 4.2). However, the customer wants to see it like 4.12 or say 4:12 (something like that). where it shows both hours and minutes.
How do we achieve this? If it needs customization, what kind of customization?
Any pearls of wisdom would be highly appreciated.
Thanks!

I believe this would require the timekeeper form bespoking. Be warned though, it's not a nice form - it builds itself up dynamically based upon preference values etc. Our developers hate doing anything with it! :)

Similar Messages

  • OTL: Time Entry Rules

    Hello ,
    Iam working on a requirement, in OTL time card entry from the oracle self service page.
    If Employees work on Holidays then they are allowed to enter work Hours .
    Eg:
    Mon, 25 dec
    Regular: start 08:00
    stop 12:00
    hrs 04
    Holiday: start 08:00
    stop 17:00
    Hrs 8
    Iam getting the Overlapping Error as 'This time overlaps another entry.' when trying to save the timecard.
    Is there any way, I can override this Error.
    Can anyone Please help on this ?
    thanks,
    Babu

    Ramesh,
    OTL doesn't allow the over lapping entries, its one of the basic validations. But at the same time you can define OTL rules to configure this requirement which will automatically generate the holiday premium hours as per your requirement. There are many scenarios which you can configure to define the calculation of premium hours worked on holidays.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Adding Project Name in OTL Time Card

    Hello All,
    I have done the following Changes to display Project Name in OTL time Card in R12.1.3 with no luck, please let me know.
    1. Added Attribute28 as PROJECTNAME for Context - PROJECTS in OTL INformation Types - DFF
    2. Using AK Html Forms, Added HXC_CUI_PROJECT_NAME to HXC_CUI_TIMECARD
    3. Added Mapping PROJECTNAME
    4. Ran the Generate Flexfield and Mapping Information
    5. Modified and uploaded the ldt
    6. Made Changes to Preferences using OTL Application Developer to look at latest layout
    7. Bounced Apache Server
    BEGIN HXC_LAYOUTS "ZEN_PROJECTS-TIMECARD" "HXC"
    OWNER = "RSREENIV"
    DISPLAY_LAYOUT_NAME = "Z Projects Timecard Layout"
    LAYOUT_TYPE = "TIMECARD"
    TOP_LEVEL_REGION_CODE = "HXCCONFIGTESTCUI"
    LAST_UPDATE_DATE = "2012/01/06"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Timecard Layout - Project"
    OWNER = "ORACLE"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "ProjectLOVVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "HXC_CUI_PROJECT_LOV"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "12"
    #QUALIFIER_ATTRIBUTE6 ="HxcCuiProjectNumber|PROJECT-DISPLAY|CRITERIA|N|HxcCuiProjectId|PROJECT|RESULT|N|HxcCuiProjectNumber|PROJECT-DISPLAY|RESULT|N"
    QUALIFIER_ATTRIBUTE6 ="HxcCuiProjectNumber|PROJECT-DISPLAY|CRITERIA|N|HxcCuiProjectId|PROJECT|RESULT|N|HxcCuiProjectNumber|PROJECT-DISPLAY|RESULT|N|HxcCuiProjectName|PROJECTNAME|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "ProjectNumber"
    QUALIFIER_ATTRIBUTE9 = "ProjectId#NUMBER"
    QUALIFIER_ATTRIBUTE10 = "oracle.apps.hxc.selfservice.timecard.server.ProjectLOVVO"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    QUALIFIER_ATTRIBUTE27 = "Attribute1"
    QUALIFIER_ATTRIBUTE28 = "PROJECT"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    ### Project Name Component start ###
    BEGIN HXC_LAYOUT_COMPONENTS "Projects Timecard Layout - Project Name"
    OWNER = "ORACLE"
    COMPONENT_VALUE = "PROJECTNAME"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_CUI_PROJECT_NAME"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "215"
    COMPONENT_DEFINITION = "TEXT_FIELD"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT = "Projects Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2004/05/24"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Timecard Layout - Project Name"
    OWNER = "ORACLE"
    QUALIFIER_ATTRIBUTE_CATEGORY = "TEXT_FIELD"
    # Show Label (Component)
    QUALIFIER_ATTRIBUTE1 = "N"
    # Show Label (Parent Component)
    QUALIFIER_ATTRIBUTE2 = "N"
    # Field Width
    QUALIFIER_ATTRIBUTE3 = "20"
    # Field Height
    QUALIFIER_ATTRIBUTE4 = "1"
    # Style Class
    QUALIFIER_ATTRIBUTE17 = "OraInlineInfoText"
    # Display On New Line
    QUALIFIER_ATTRIBUTE20 = "N"
    # Show Outside Building Block
    QUALIFIER_ATTRIBUTE21 = "Y"
    # Outside Direction
    QUALIFIER_ATTRIBUTE22 = "L"
    # Access Method
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    # Context
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    # View Object Attribute
    QUALIFIER_ATTRIBUTE27 = "Attribute28"
    # Component Alias
    QUALIFIER_ATTRIBUTE28 = "PROJECTNAME"
    # Read Only
    QUALIFIER_ATTRIBUTE30 = "Y"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    ### Project Name Component end ###
    Edited by: 891594 on Jan 6, 2012 11:40 AM
    Edited by: 891594 on Jan 6, 2012 11:54 AM

    In extended controller processRequest method:
    Get the project ID, asssuming that you are passing project id through hash map.
    String prjId = pageContext.getParameter("ProectId_Parameter");
    Default the LOV item value using:
    OAMessageLovInputBean msglov = (OAMessageLovInputBean)webBean.findChildRecursive("ProjectId");
    if(msglov != null)
    msglov.setText(pageContext,"Hello");
    -Anand

  • Need Help in Customization of OTL Time Keeper Layout for Projects.

    Hi All,
    Need help in customization of OTL Time Keeper.
    Requirement:
    Required to change the Project Layout Template as Payroll Layout Template.
    In Payroll Layout Template the days consits of start and end time and total time per day.
    Similary need to reproduce the same content Layout as it is in Payroll.
    Can Anybody suggest the procedure to achive this task
    Thanks and Regards,
    Chaitanya.

    Hi,
    Can someone please Help me on this ...
    Regards,
    Tarun

  • Execution time calculation issue

    Hi,
    I have a proceudre which update the tables data and it will capture the execution time for each and every table.
    For that i am using below procedure and its giving incorrect values. i.e., its giving end_time<start_time
    PFB code(Line nos 25,26,33,73,7679,80 code for exeution time calculation) and output.
    1 CREATE OR REPLACE PROCEDURE my_proc
    2 IS
    3 CURSOR c
    4 IS
    5 SELECT tablename, TYPE
    6 FROM table_list;
    7
    8 TYPE emp_record IS RECORD (
    9 empkey tab1.pkey%TYPE,
    10 rid ROWID,
    11 ID tab_join.ID%TYPE,
    12 dt tab_join.dt%TYPE
    13 );
    14
    15 TYPE emp_type IS TABLE OF emp_record
    16 INDEX BY BINARY_INTEGER;
    17
    18 v_emp emp_type;
    19
    20 TYPE emp_type_rowid IS TABLE OF ROWID
    21 INDEX BY BINARY_INTEGER;
    22 tab_no Number:=0;
    23 emp_rowid emp_type_rowid;
    24 r_cur sys_refcursor;
    25 v_start_time TIMESTAMP; /** Added for time calculation*/
    26 v_end_time TIMESTAMP; /** Added for time calculation*/
    27 string1 VARCHAR2 (1000) := 'SELECT b.empkey, b.ROWID rid, a.id id, a.dt dt FROM emp_base a,';
    28 string2 VARCHAR2 (1000) := ' b WHERE a.empkey = b.empkey';
    29 rowcnt Number;
    30BEGIN
    31 FOR c1 IN c
    32 LOOP
    33 tab_no:=tab_no+1;
    34 v_start_time := SYSTIMESTAMP; /** Added for time calculation*/
    35 BEGIN
    36 string_d := string1 || c1.tablename || string2;
    37
    38 OPEN r_cur FOR string_d;
    39
    40 LOOP
    41 FETCH r_cur
    42 BULK COLLECT INTO v_emp LIMIT 50000;
    43
    44 IF v_emp.COUNT > 0
    45 THEN
    46 FOR j IN v_emp.FIRST .. v_emp.LAST
    47 LOOP
    48 emp_rowid (j) := v_emp (j).rid;
    49 END LOOP;
    50
    51 upd_string := ' UPDATE ' || c1.tablename || ' SET id = ' || v_emp (1).ID || 'WHERE ROWID = :emp_rowid';
    52 FORALL i IN emp_rowid.FIRST .. emp_rowid.LAST
    53 EXECUTE IMMEDIATE upd_string
    54 USING emp_rowid (i);
    55 rowcnt := rowcnt + emp_rowid.COUNT;
    56 END IF;
    57
    58 EXIT WHEN v_emp.COUNT < 50000;
    59 v_emp.DELETE;
    60 emp_rowid.DELETE;
    61 END LOOP;
    62
    63 v_emp.DELETE;
    64 emp_rowid.DELETE;
    65
    66 CLOSE r_cur;
    67 EXCEPTION
    68 WHEN OTHERS
    69 THEN
    70 DBMS_OUTPUT.put_line (SQLERRM);
    71 END;
    72
    73 v_end_time := SYSTIMESTAMP; /** Added for time calculation*/
    74
    75 INSERT INTO exec_time
    76 VALUES (tab_no||' '||c1.tablename, v_start_time, v_end_time, v_end_time - v_start_time, rowcnt); /** Added for time calculation*/
    77
    78 COMMIT;
    79 v_start_time := NULL; /** Added for time calculation*/
    80 v_end_time := NULL; /** Added for time calculation*/
    81 rowcnt := 0;
    82 END LOOP;
    83END;
    Output :
    TableName: exec_time
    "TABLE_NAME"      "START_TIME"     "END_TIME"      "EXCUTION_TIME"      "NO_OF_RECORDS_PROCESSED"
    TAB7      5/29/2013 10:52:23.000000 AM      5/29/2013 10:52:24.000000 AM      +00 00:00:00.521707      773
    TAB5      5/29/2013 10:52:18.000000 AM      5/29/2013 10:52:15.000000 AM      -00 00:00:03.381468      56525
    TAB6      5/29/2013 10:52:15.000000 AM      5/29/2013 10:52:23.000000 AM      +00 00:00:08.624420      49078
    TAB2      5/29/2013 10:51:54.000000 AM      5/29/2013 10:51:42.000000 AM      -00 00:00:11.932558      529
    TAB4      5/29/2013 10:51:47.000000 AM      5/29/2013 10:52:18.000000 AM      +00 00:00:31.208966      308670
    TAB1      5/29/2013 10:51:45.000000 AM      5/29/2013 10:51:54.000000 AM      +00 00:00:09.124238      65921
    TAB3      5/29/2013 10:51:42.000000 AM      5/29/2013 10:51:47.000000 AM      +00 00:00:04.502432      12118
    Issue: I am getting execution time in negitive values because end_time<start_time coming.
    Please suggest me how to resolve this.
    Thanks.

    Welcome to the forum!!
    Please read {message:id=9360002} from the FAQ to know the list of details (WHAT and HOW) you need to specify when asking a question.
    I primarily hate 3 things in your code
    1. The way you have used BULK update which is totally unnecessary
    2. COMMIT inside LOOP
    3. The use of WHEN OTHERS exception.
    Your code can be simplified like this
    create or replace procedure my_proc
    is
       v_start_time timestamp;
       v_end_time   timestamp;
       v_rowcnt     integer;
    begin
       for c1 in (
                     select rownum tab_no
                          , tablename
                          , type
                       from table_list
       loop
          sql_string := q'[
                                  merge into #tablename# a
                                  using (
                                          select id, dt
                                            from emp_base
                                        ) b
                                     on (
                                          a.empkey = b.empkey
                                    when matched then
                                        update set a.id = b.id;
          sql_string := replace(sql_string, '#tablename#', c1.tablename);
          v_start_time := systimestamp;
          execute immediate sql_string;
          v_end_time   := systimestamp;
          v_rowcnt     := sql%rowcount;
          insert into exec_time
               values
                    c1.tab_no || ' ' || c1.tablename
                  , v_start_time
                  , v_end_time
                  , v_end_time - v_start_time
                  , v_rowcnt
       end loop;
       commit;
    end; In the INSERT statement on the table EXEC_TIME try to include the column list.
    NOTE: The above code is untested.

  • OTL Time Cards to PA Integration. - All Time cards are imported into One OU

    Hi,
    At our site, we have implemented OTL to support PA. (No Payroll/HRMS).
    We have created multiple selfservice Time Resp for each Operating Units. The MO Operating Unit for the responsibility is set to corresponding OU for each responsibility.
    The issue is that,
    When the Time cards are approved and the PRC: Transaction Import is ran for each operating unit (again difft responsibility for each OU), it is not importing the time cards into the respective OU in PA. Rather When we run the PRC: Transaction Import in US operating unit, all the Timecards are imported in the US OU.
    We found, For all the OTL time cards, the ATTRIBUTE1 for the "SECURITY" Attribute category is 84 (which is US OU) in hxc_time_attributes table.
    which configruation controls this ? Why the MO: Operating Unit is not used to populate the value or is there any other profile which needs to be set to get the right OU?
    Any help on this is greatly appreciated.
    Thanks
    Chidambaram

    Please check and confirm whether you have the profile 'HR:Business Group' set to corresponding BGs for the respective time entry responsibilities.
    --Shiv                                                                                                                                                                                                                                                                                                                       

  • How is Processing time calculated in Simulation

    Hi,
    How is processing time calculated for every simulation-relevant object?
    say for example,
    i have 2 objects of person type (p1 and p1)
    4 human tasks (T1, T2, T3, T4)
    T1 assigned to p1, processing time 2hrs
    T2 assigned to p1, processing time 2hrs
    T3 assigned to p2, processing time 2hrs
    T4 assigned to p2, processing time 2hrs
    start --&gt; T1(p1) --&gt; T2(p1) --&gt; T3(p2) --&gt; T4(p2) --&gt; end
    Have not set any other simualtion parameters. now,
    * Duration for simulation is set to 6hrs,
    T1, T2, and T3 are getting processes once, but start event is getting processed twice
    # Why is start event getting processed second time?
    # Will this take any processing time..
    * Duration for simulation set to 7hrs,
    start event and T1 gets processed 2 times, T2 and T3 once..
    and the total processing time becomes *8hrs*..
    # At wht point of time does the second processing of T1 start.
    # If it is not after after the completion of one full process cycle, in this case, why not the second processing start at the end # of 2nd hour, or 4th hour.
    Thanks,
    Vishnupriya

    Hi Vishnupriya,
    "Why is start event getting processed second time?"Can you check the "Frequency" attribute of your start event? There you can specify how often the process will be triggered.
    "At wht point of time does the second processing of T1 start."You should be able to check it in the Processes (det.). It provides an overview regarding the process instances started during the simulation run. Furthermore you can check the Events (det.) category.
    Best regards,
    Danilo

  • Ess Leave  Request -Change in Time calculation without changing work schedu

    Hi All,
    We are implementing a ESS Leave Request in EP6 with backend HR ECC5.0.
    The time calculation is taken  from the Work schedule rule in
    HR backend which is 24*7.
    For example if the leave taken is for 2 days-systems calculates as 24*2=48 hrs
    but in actual the requirement is to calculate 2*8 =16 hrs without changing
    the Work Schedule in 2001 infotype in HR Backend.
    Can we do this change through
    1.Validation in portal itself
    2.Changing the RFC PT_ARQ_REQUEST_CHECK
    3.Changing the Absence Types
    Regards
    Anand.

    Hello,
    Please use:
    programming
    but without the spaces before and after } and {
    Testing:
    programming
    regards
    Rick Bakker
    Hanabi Technology

  • OTL Time Card issue in Self Service

    Hi All,
    I am working in OTL. I m new to this module. Currently i am facing the below issue.
    In OTL, there is a validation of project and task when user enters time card.
    Whenever user enters time cards against the hour type which is not of PTO (e.g. regular) etc, project number
    and project task should be mandatory.
    It is working fine in OTL Time Keeper, but not working in Self Service Time Card.
    I am analyzing the issue but not getting the exact solution for the same.
    Kindly reply me to resolve it.
    Thanks in Advance
    Regards,
    Basaw

    HI all,
    can anyone suggest me what steps should i take to resolve this issue?
    Thanks in advance.
    Regards,
    Basaw

  • OTL Time card versions issue

    Hi,
    For a particular timecard.
    The timesheet has 2 versions.  The days has 2 versions, but the detail have 3.  So the max version number on the timesheet  is 2.  The max version number on the DAYS is 2.  But the max version number in the detail is 3. 
    My joins work as follows:
    timesheet.time_building_block_id=<timecard id>
    timeday.parent_building_block_id=timesheet.time_building_block_id and timeday.parent_building_block_ovn=timesheet.object_version_number and
    timedetail.parent_building_block_id=timeday.time_building_block_id and
    timedetail.parent_building_block_ovn=timeday.object_version_number
    Because of this, I am reporting incorrect results.
    A)  Is this normal?
    B)  How should I handle this?

    Duplicate post -- OTL Time Card issue in Self Service

  • Scout: Too much time calculating dirty regions

    Hi All,
    Frist of all, sorry for my English.
    I have a problem with my AIR App, I'm developing for Android and iOS. In iOS works perfectly but on Android the performance is poor.
    I checked with Scout and this is what i see:
    I don't understand why it spends so much time calculating dirty regions but I didn't change anything on the DisplayList.
    Edit: AS you can see in the screen the frames are 13 but in the next frames is over 200 frames and that repeats.
    Can someone tell me how to interpret this results?
    Thanks a lot.
    Goratz
    Mensaje editado por: goratz

    The feature you are referring to exists in Logic but not in GarageBand (yet?). It is called the Marquee Tool that lets you drag a selection, and when hitting the delete key, that section of the Region(s) will be deleted, and the remaining part of the Region on the right will be moved to the left to close the gap (if you you have set the Drag Mode to "Shuffle L").
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Warning Time calculation "Before Aggregation" is obsolete

    Hi,
    Recently in our project we have upgraded BW 3.0B to BI7.
    After upgrade to BI7,  when we run some of the reports we are getting a warning message as below -
    Warning Time calculation "Before Aggregation" is obsolete.
    Pls refer to the attachment.
    Any of our satyam colleagues encounter this warning, if so what was the solution you applied.
    Note : I found some notes in Forum like saying use ' Exception Aggregation' for the Before Aggregation.. etc etc., but my problem is in our project thre are many CKFs are there which are using 'Before Aggregation'.
    Please let me know if you have any other alternatives.
    Thanks !!!!!!!!!

    Hi,
    Try SAP notes 935903.
    Symptom
    Calculated Key Figures "Existance Indicator" with aggregation behaviour "Before Aggregation" will get now with NW 2004s warning popup "Time of calculation 'Before Aggregation' is obsolete" during execution.
    this may be helpful.
    thanks,
    JituK

  • While doing puchout user is getting Overlapping time message in OTL Time entry responsibility

    while doing puchout user is getting Overlapping time message in OTL Time entry responsibility

    XmlBeans, at least the version I'm working with now, doesn't support version 3 of the Document Object Model (DOM). I don't know what operations were introduced in DOM 3, but I guess you're trying to use one of them. What worked for me is to copy the Document into a DocumentBuilder that does support DOM 3, such as the JDK's own builder, and work with the copy. This should be all right if the document is not too large. The following URL has the details:
    http://issues.apache.org/jira/browse/XMLBEANS-100
    (Look for the post dated 22/Aug/08, which as I write this is the very last post.)

  • OTL Time card || Details page || DFF

    Hello every one,
    Iam one working on OTL time card Details page.
    Navigation:CreateTimeCard>>Click on details icon on table region.
    Here we have DFF: PA_EXPENDITURE_ITEMS_DESC_FLEX
    Need to set the default value to this DFF ,even im not able find DFF in co XXXTimecardsListCO extended T
    TimecardsListCO
    Below code used:
    OADescriptiveFlexBean descFlexfieldsBean2 = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("PA_EXPENDITURE_ITEMS_DESC_FLEX ");
    if(descFlexfieldsBean2 != null)
    oapagecontext.writeDiagnostics(this, "descFlexfieldsBean2", 1);
    It will return null ,please help if any body worked on this.
    Regards
    Jag

    and a supervisor can't change the timecard data. He can only add the comments and reject it. Upon rejection, TC will go back to employee and he will see the supervisor's comments also.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                       

  • Time Calculation Shell dimension is slow compared to hardcoded measure?

    Hi,
    I have a measuregroup with 200m+ rows with about 20 measures (sums). I've created a shell dimension to hold my time calculation members such as mtd, qtd, ytd, etc. My problem is that it performs REALLY poorly when using the time calculation dimension.
     My script looks like this:
    SCOPE
    Measuregroupmeasures("MyMeasureGroup");
    SCOPE
    [Time Calculation].[Calculation].&[None];
    THIS =
    [Measures].CurrentMember;
    END SCOPE;
    SCOPE
    [Time Calculation].[Calculation].&[MTD];
    THIS =
    Aggregate
    [Time Calculation].[Calculation].&[None]
    MTD([Date].[Calendar (YQMD)].CurrentMember)
    END SCOPE;
    SCOPE
    [Time Calculation].[Calculation].&[QTD];
    THIS =
    Aggregate
    [Time Calculation].[Calculation].&[None]
    QTD([Date].[Calendar (YQMD)].CurrentMember)
    END SCOPE;
    SCOPE
    [Time Calculation].[Calculation].&[YTD];
    THIS =
    Aggregate
    [Time Calculation].[Calculation].&[None]
    YTD([Date].[Calendar (YQMD)].CurrentMember)
    END SCOPE;
    END SCOPE;
    When I use my Calendar hierarchy and time calculation dimension as a background selection it takes forever. It never returns anything. A profiler trace shows that it's just pushing 1 and 21 events (cache data).
    If I create the following measure:
    CREATE
    MEMBER CURRENTCUBE.[Measures].[TestMTD] AS
    SUM(MTD([Date].[Calendar (YQMD)].CurrentMember), [Measures].[MyMeasure]),
    VISIBLE = 1 ;
    it works just fine but the whole point here is I want to avoid creating new measure for every time calculation.
    The measuregroup has been partitioned by month and I've set each partition slice to the corresponding month in the calendar hierarchy.
    Why doesn't my script perform - please advice :)
    Thanks.

    Hi Mortenbpost,
    According to your description, the issue was solved by change Aggregate() function to Sum() function, now you want to know why it behaves like that, right?
    In Aggregate function, if a numeric expression is not provided, this function aggregates each measure within the current query context by using the default aggregation operator that is specified for each measure. Here is a thread which discuss difference
    between AGGREGATE() and SUM()https://social.msdn.microsoft.com/Forums/sqlserver/en-US/ef4b2555-45f2-4871-9137-a12a637ce2f5/whats-the-difference-between-aggregate-and-sum?forum=sqlanalysisservices
    Besides, you can use SQL profiler to monitor what's the difference between using AGGREGATE() and using SUM().
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for