PTD and YTD in GL

Hi,
I have to display accounting information on my report. I'm new to GL. Does anyone knows how to calculate PTD and YTD in GL. I need to know the technical details. I'm aware of the tables but don't know the formula to calulate PTD and YTD.
Please help.
Thanks and Regards,
Ravindra

Hi;
Please review:
YTD & PTD
YTD & QTD Calculation through Calculation Script
Regard
Helios

Similar Messages

  • Finance Report PTD and YTD calculations

    Hello All,
    I have a Report using the SSAS as Data-source.
    It is a finance report and I need to calculate PTD and YTD amounts.
    PTD:
    sum the amount for all of the years till a selected Fiscal Period(Parameter)
    Example: If The Cube have data for 2012, 2013 ,2014 and I have selected NOV-14 as my Fiscal Period , It should sum up the data for all the years including 2014 till Nov-14.
    YTD: should calculate the data for a Year till selected report period. Fiscal Period is not date data type.
    Please suggest.
    Best Regards,
    Pragati

    Hi Pragati,
    According to your description, you created a SQL Server Reporting Services report using SQL Server Analysis Services cube as data source, now what you want is calculate PTD and YTD amounts, right?
    In SSAS, we can use Ytd function to your requirement. It returns a set of sibling members from the same level as a given member, starting with the first sibling and ending with the given member, as constrained by the Year level in the Time dimension. Here is
    the sample query.
    WITH MEMBER [Date].[Calendar].[First8MonthsCY2003] AS
    Aggregate(
    YTD([Date].[Calendar].[Month].[August 2003])
    SELECT
    [Date].[Calendar].[First8MonthsCY2003] ON COLUMNS,
    [Product].[Category].Children ON ROWS
    FROM
    [Adventure Works]
    WHERE
    [Measures].[Order Quantity]
    Regards,
    Charlie Liao
    TechNet Community Support

  • Original and current budget together with PTD,ITD,MTD and YTD labor...

    Hi experts:
    I need a Project Accounting Report that shows Original and Current budget together with PTD,ITD,MTD and YTD labor amount, labor cost, non-labor cost, and revenue on the same line for all the task_id for a project. I know these are coming from these ,PA_BUDGET_VERSIONS V, PA_RESOURCE_ASSIGNMENTS A,PA_BUDGET_LINES L, main tables. But I am unable to break down the amounts according to PA and GL periods. Can anyone help please?
    Thanks a million , in advance.

    Help you with what?
    No database version number.
    No application name or version number.
    No DDL.
    Do you, for some reason, think we have any idea what PTD and ITD are? If so why?
    Do you think we all have your version of a table named PA_RESOURCE_ASSIGNMENTS on our hard disks?
    Perhaps you have some version of e-Business Suite. Perhaps you have SAP. Perhaps you have something we've never even heard of.
    Your task is as follows:
    1. If this question relates to an Oracle product change the subject of the post to "Please Ignore" and post your question in the correct forum.
    or
    2. Provide us with sufficient information that we can duplicate those portions of your environment required to understand what you are asking.

  • MTD(Month To Date) and YTD(Year To Date) with one example

    can any ont Explain about MTD(Month To Date) and YTD(Year To Date) with one example plz

    Hi,
    Can you please elaborate.
    MTD is from the 1st of the current month till today's date.
    YTD is from 1st Jan till today's date.
    If you trying to build this is query. Create restricted key figure and put restriction on calday with a customer exit for the same.
    Thanks,
    S

  • QTD and YTD Frequencies

    We will need to set up the QTD and YTD frequencies in the planning application. We have decided not to use DTS due to the reporting limitations.
    Aside from the obvious of setting up a period dimension member for each month frequency (e.g., Feb QTD, Mar QTD, etc...) with a member formula, is there a better way to set this up? We have a report that would display the MTD, QTD, and YTD data in the columns. It would be ideal if the user would only have to change the month point of view and it would update all of the columns instead of having the user update all three. I would appreciate to hear how others have set this up. Thanks!

    You can create a series of dynamic calc accounts in the period dimension. This is really not optimal because your are going to have a very large fully expanded block, but it may make the most sense due to your requirements
    and have the member formulas look like this:
    YTDFEB...Jan+Feb
    YTDMAR...Jan+Feb+Mar
    etc...
    You can also create a dynamic calc version dimension... and use more conditional logic, and try something like this (probably best from a performance standpoint as increasing your fully expanded block is going to drag down the calcs etc...). obviously this may not fit your requirements, but try it out
    IF(@ISMBR("Jan")
    IF(@ISMBR("ACTUAL")
    "Final"->"Jan";
    ELSE
    "Working"->"Jan";
    ENDIF
    ELSEIF(@ISMBR("Feb")
    IF(@ISMBR("ACTUAL")
    "Final"->"Jan"+"Final"->"Feb";
    ELSE
    "Working"->"Jan"+"Working"->"Feb";
    ENDIF
    ELSEIF(@ISMBR("Mar")
    IF(@ISMBR("ACTUAL")
    "Final"->"Jan"+"Final"->"Feb"+"Final"->"Mar";
    ELSE
    "Working"->"Jan"+"Working"->"Feb"+"Working"->"Mar";
    ENDIF
    ELSEIF .....

  • LOA Approval notification should show Leave Occurance and YTD totals

    LOA Approval notification should show Leave Occurance and YTD totals for manager and HR Specialist???
    Hi this is very Urgent
    Thanks

    Hi,
    Please post your question in [Human Resource Management (HRMS)|http://forums.oracle.com/forums/forum.jspa?forumID=113] forum, you would probably get a better/faster response.
    Regards,
    Hussein

  • Retriving QTD,MTD and YTD

    I'm trying to write an sql script that retrive MTD,
    QTD and YTD for all children account in
    GL_Balances........How is this calculation done and
    fields to look at???
    Colums for MTD, OTD, and YTD each showing
    Actual,Budget, Prior Year Restated, Variance to
    Budget(number and %).
    I appreciate the fact the you must have spent a great
    deal of time creating SQL Statement(stopping me from
    re-inventing the wheels).
    I would be extremely grateful if you could email me a
    copy/copies of all your SQL statment.
    Regards
    Larry
    [email protected]

    Hi,
    For YTD use the following Code. Where FMYEAR is Customer Exit variable on 0CALMONTH, so restrict 0CALMONTH with Ranges []FMYEAR+3, 0CMONTH.
    0CMONTH = SAP Exit Variable on 0CALMONTH, so for MTD you just restrict 0CALMONTH with 0CMONTH Variable.
    * First Month Of Current Fiscal year comment*
        WHEN 'FMYEAR'.
    It works based on SY-DATUM.
          CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
                 EXPORTING
                   i_date               = sy-datum
    *         I_MONMIT             = 00
                   i_periv              = 'V3'
                IMPORTING
                  e_buper              =  zbuper
                  e_gjahr              =  zbdatj.
          CLEAR: l_s_range.
          l_s_range-low+4(2) = '04'.
          l_s_range-low+0(4) = zbdatj.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
    Thanks
    Reddy

  • How to get Last Year Sales and YTD Sales without using AGO and TODATE?

    Hi all,
    I have got Company and Time dimensions and Sales Fact. My requirement is to get Last Year sales for each company without using AGO function and YTD without using TODATE function. (Due to performance issue as AGO and TODATE do not insert a Cache entry).
    Can someone please help me to achieve my requirement? Thanks in advance.

    Hi Satya,
    Thanks again for your reply. To start with I don't have data for the years 2012 and 2011 to test as I am using SH sample schema from Oracle. I have applied your solution but it does not seem to be working for the previous years like 2000, 2001. My requirement is to have a dashboard prompt "YEAR" and let the user choose whatever year he wants.
    Please have a look at the column formulas of my analysis (As per your solution) :
    ***here B_YEAR is replaced by CALENDAR_YEAR.  
    Amount: "F1 Sales"."Amount"
    AmountYTD:  FILTER("F1 Sales"."Amount" USING "D1 Time"."CALENDAR_YEAR" =YEAR(CURRENT_DATE))
    Amount LY: FILTER("F1 Sales"."Amount" USING "D1 Time"."CALENDAR_YEAR" =YEAR(CURRENT_DATE)-1)and the physical query generated by BI Server: (as you can see I have got a filter CALENDAR_YEAR= 2000)
    WITH
    SAWITH0 AS (select sum(T1074.AMOUNT_SOLD) as c1,
         sum(case  when T1035.CALENDAR_YEAR = TO_NUMBER(TO_CHAR(TO_DATE('2012-05-03' , 'YYYY-MM-DD'), 'yyyy'), '9999') then T1074.AMOUNT_SOLD end ) as c2,
         sum(case  when TO_NUMBER(TO_CHAR(TO_DATE('2012-05-03' , 'YYYY-MM-DD'), 'yyyy'), '9999') - 1 = T1035.CALENDAR_YEAR then T1074.AMOUNT_SOLD end ) as c3,
         T1035.CALENDAR_MONTH_DESC as c4,
         T1035.CALENDAR_YEAR as c5,
         T1035.CALENDAR_MONTH_ID as c6
    from
         TIMES T1035 /* D1 Time */ ,
         SALES T1074 /* F1 Sales */
    where  ( T1035.CALENDAR_YEAR = 2000 and T1035.TIME_ID = T1074.TIME_ID )
    group by T1035.CALENDAR_MONTH_DESC, T1035.CALENDAR_MONTH_ID, T1035.CALENDAR_YEAR)
    select distinct 0 as c1,
         D1.c4 as c2,
         D1.c5 as c3,
         D1.c1 as c4,
         D1.c2 as c5,
         D1.c3 as c6,
         D1.c6 as c7
    from
         SAWITH0 D1
    order by c3, c2 Thanks in advance.

  • Current Year and YTD in Report/Query

    Hi to all the experts here,
    I have a report requirements to show the cost in the report for the current fiscal year and last fiscal year filtering by YTD month in the report as below when the user enter the month: 12.2010, the month: 07.2010 is the first posting period of the fiscal year.
                          07.2010    08.2010     09.2010      10.2010     11.2010     12.2010     Last Fiscal Year     Last 2 Fiscal Year
    Current Year           10,000    20,000       20,000       20,000       20,000    20,000       100,000                  90,000
    Last Year              15,000    15,000       15,000       15,000       15,000    15,000       120,000                 100,000
    I know that I need to create customer exit to archieve this, but I not sure what to do to get this, I have problems on getting the figures for the Last Fiscal Year and Last 2 Fiscal Year here.
    Please help. Appreciated alot. Thanks alot!

    Hi
    The Fiscal year/period (0FISCPER) in your BW system must be maintained as starting from 07.2010 onwards then you can try the below:
    In the report Filters you can use the manual entry variable for 0FISCPER where the user can input the month restrictions.
    Then for the Current year and Previous year amount KFs you can create 2 customer exits for Current year and Previous year on 0FISCPER characteristic where you can set the interval using the values input by the user in the selection screen. (eg. If user enters 7.2010 to 12.2010 you can use these values in the exit code to set the interval for the customer exit variable.)
    This way you can have the amounts restricted by the period entered by the user in the report.
    For the structure you have mentioned in your post you can have the 0FISCPER in columns and then the KFs current/previous year in the rows so that once you have the Current/Previous YTD as created above, you will see the individual month period values also in the drilldown.
    Hope this helps.
    Regards,
    Ninad

  • View the correct MTD and YTD in a paycheck

    The View paychecks in Self service provided by PeopleSoft only shows the Month to Date and Year to date balances for the current processed payroll. Is there a report/facility provided by peoplesoft to view the MTD/YTD for any prior pay end dates.
    Here is an example:
    Assume the payroll is processed bi-weekly. So we have two payrolls in a month: 1-15 and 16-31 december 2008.
    Current payroll process peiord = (16 - 31) December 2008
    when i wish to see the paycheck for the period (1 - 15) december 2008, the report shows the earnings and deductions correctly for the (1 - 15) december 2008 period. But the MTD values is shown as the sum of 1-15 and 16-31 december 2008 periods as the payroll for (16 - 31) December 2008 is already processed. The MTD for december should actually show the 1-15 december 2008 values only. Similar logic applies to the YTD values as well.
    Is there a report/screen/functionality provided by peoplesoft which gives the results as explained above? If not, which tables need to be queried to get the expected result?

    Hi
    Create a parameter for the month like this: aaa for "Hiredate: Month"
    Create a calculation with a code like this:
    SUM(CASE WHEN "Hiredate: Month" = :aaa THEN Sal ELSE 0 END).
    Use the year in the sheet and use your item to show the data for the year and use the calculation to show the data for the month.
    Ott Karesz
    http://www.trendo-kft.hu

  • Current Year and YTD Calculation

    Hi All,
    I have fiscal year and fiscalyear/period two time chars........in my report i want one column as current year and the other coulmn as current year YTD(year to date).........
    fiscalyear/period values are between 1 to 12
    fiscal year values 1999 to 20009.
    please help on this.......
    also how do i close a thread?
    Thanks

    Create two variables on fiscal year one with user entry and the other customer exit ....use below code
    CASE i_vnam.
      WHEN 'ZPFY'.
        DATA: Z_YEAR TYPE /BI0/OIFISCYEAR.
        IF I_STEP = '2'. "after the popup
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = '0P_FYEAR'.
            Z_YEAR = LOC_VAR_RANGE-LOW.
            Z_YEAR = Z_YEAR - 1 .
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW = '1999'.
            L_S_RANGE-HIGH = Z_YEAR.  "high value = input - 1
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
      WHEN 'ZAPOPR'.
        DATA: Z_POSTING TYPE /BI0/OIFISCPER3.
        IF I_STEP = '2'. "after the popup
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'ZAPOPR'.
            Z_POSTING = LOC_VAR_RANGE-LOW.
           Z_POSTING = Z_POSTING .
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW = Z_POSTING.
            cleaR: Z_POSTING.
            Z_POSTING = LOC_VAR_RANGE-high.
            L_S_RANGE-HIGH = Z_POSTING.  "high value = input
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.

  • How to display 3 month columns and YTD column

    Hello,
    I need a help. My report layout requires to display the data in 3 dynamic month columns and one Fiscal year Year-to-date column for a period of time. For example, ending month is FEB:
    Items : DEC : JAN : FEB : FY YTD
    A     : $10     : $11     : $12     : $100     
    B     : $1     : $2     : $3     : $10
    (Note: FY YTD is the total sum from OCT to FEB (5 months), not 3 months to be displayed)
    I tried to create a query and use Matrix with group, but the report always display five (5) month columns
    from OCT to FEB instead of displaying three (3) month columns. If the query is limited to display
    three months as desired, then the total sum will be 3 displayed months only (instead of 5 months).
    How to create a query or how to display three months and FY YTD or do anything else with Oracle Builder9i?
    Thanks,

    You could use the DECODE function and variables
    i.e. have a four column report
    in your query use somthing like
    , decode(period,:P_PERIOD1,1,0)* amount as period1
    , decode(period,:P_PERIOD2,1,0)* amount as period2
    , decode(period,:P_PERIOD3,1,0)* amount as period3
    , amount as ytd
    In your before report trigger poulate the variables with your required values

  • OBIEE - TODATE and YTD Graphing

    Dear all,
    This is a difficult one I'm having.
    I've got three measures. Income, Forecast and Variance. They've all got "TODATE" wrapped round them at RPD level and work fine in reports, alongside my "weekly" Income, Forecast and Variance measures.
    I have a dashboard prompt with a single week at the top of my dash. When selected, it passes this week to an intermediate "week number driver" report which calculates -4/+4 weeks of the selected date.
    I have my Income, Forecast and Variance measures in a line graph, which uses the following logic; "where Week Number is greater than or equal to any Start Week Number in Week Number Driver Report" and "where Week Number is less than or equal to any End Week Number in Week Number Driver Report".
    This shows a graph with my selected week in the middle, four weeks back and four weeks forward from that date (e.g. Week 12 shows Weeks 8 to 16).
    My problem is; For weeks 1 to 7 the YTD line values are correct over all measures. They show the YTD values I'm expecting. However, when I go to Week 8 onwards (so Week 8 is the first shown in the graph), the YTD values are incorrect. I guess this is because the system is "YTDing" using 8 as the starting week, instead of using Week 1 - can't confirm though.
    Could anyone shed any light on this problem? How do I get the graph to calculate from Week 1, regardless of which -4/+4 period of weeks are shown?
    Many thanks,
    Alasdair
    UPDADE: Doh! Wrong forum! My bad. Please see OBIEE forum and ignore this post!
    Message was edited by:
    Ally

    Analyze the physical query being generated for the report and you will have a clearer idea of what the engine is doing.

  • TODATE and YTD Graphing

    Dear all,
    This is a difficult one I'm having.
    I've got three measures. Income, Forecast and Variance. They've all got "TODATE" wrapped round them at RPD level and work fine in reports, alongside my "weekly" Income, Forecast and Variance measures.
    I have a dashboard prompt with a single week at the top of my dash. When selected, it passes this week to an intermediate "week number driver" report which calculates -4/+4 weeks of the selected date.
    I have my Income, Forecast and Variance measures in a line graph, which uses the following logic; "where Week Number is greater than or equal to any Start Week Number in Week Number Driver Report" and "where Week Number is less than or equal to any End Week Number in Week Number Driver Report".
    This shows a graph with my selected week in the middle, four weeks back and four weeks forward from that date (e.g. Week 12 shows Weeks 8 to 16).
    My problem is; For weeks 1 to 7 the YTD line values are correct over all measures. They show the YTD values I'm expecting. However, when I go to Week 8 onwards (so Week 8 is the first shown in the graph), the YTD values are incorrect. I guess this is because the system is "YTDing" using 8 as the starting week, instead of using Week 1 - can't confirm though.
    Could anyone shed any light on this problem? How do I get the graph to calculate from Week 1, regardless of which -4/+4 period of weeks are shown?
    Many thanks,
    Alasdair

    Analyze the physical query being generated for the report and you will have a clearer idea of what the engine is doing.

  • SQL for Time Series Functions AGO and YTD

    When we use a time series function such as AGO or TODATE, OBIEE creates 2 physical queries. One query reads the calendar table. The other query reads the fact table without any date filter in the WHERE clause. Then the results of the 2 queries are stitched together. The query on the fact table returns a lot of rows because there is no filter on date.
    Is there a way to force OBIEE to put a filter on the date when performing the physical query on the fact table when using AGO or TODATE?
    Thanks,
    Travis
    v11.1.1.6

    We do have a date filter on the analysis. We need the analysis to show sales for a certain month and sales for that month a year ago, so we use the AGO function. However, it is really slow because it does a physical query on the sales table without filtering on date and then filters the results of that physical query by the dates from the physical query on the calendar table.

Maybe you are looking for

  • Adobe Cloud membership - I am stuck in the loop of Licensing VERY Frustrating!!!

    I have an Adobe Cloud membership - I am stuck in the loop of Licensing as well VERY Frustrating - I have a project due and have been troubleshooting for days - Un Installing - Re installing - NIGHTMARE  - Please someone help me!!! Thanks in advance -

  • How to update data from PSA to target in BI 7.0

    Hi all, can you pls tell me the procedure/process to load data from PSA to data target. We got a load failure while activating the data in DSO.We made necessary changes to the incorrect data in PSA and we saved. When i run the DTP again it gives me 0

  • I forgot my lock pass code? How do I do open my iPad?

    I forgot my lock pass code? How do I do open my iPad?

  • Moving files in icon view.

    Is there any easier way to move files in icon view? For example, say I have icon view open in the Finder window. And I want to move a file from the bottom of the window-one out of maybe two hundred. Presently I am clicking and dragging it aaaallllll

  • Attempt to install Flash CS6 stalled at 24%

    I have tried to install flash CS6, with the Aplication Manager, twice and both times it stalled at 24% so I had to abort. I was able to download & extract but it stalled on installation. This did not happen when I installed it on my laptop. Another s