Step to calculate YTD and MTD in OBIEE

Hi Experts
I need to calculate YTD and MTD in OBIEE reports. Please tell me the steps how can i calculate .
Thanks in advance
Regards
Frnds

Hi..
Sorry to say this, i am unable to write steps,
but go through these links.. hope you can understand, if any problem occurs then post here.. we will check
http://www.rittmanmead.com/2007/04/30/obi-ee-time-dimensions-and-time-series-calculations/
http://oraclebizint.wordpress.com/2007/11/15/oracle-bi-ee-101332-understanding-todate-and-ago-achieving-mago-qago-and-yago/
http://oraclebizint.wordpress.com/2007/11/05/oracle-bi-ee-101332-understanding-todate-and-ago-achieving-ytd-qtd-and-mtd/
If you have any problem after doing these (i mean if any errors), then follow these...
http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/time-series-functions-in-obiee-please-asap-1654886
http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/help-with-todate-and-ago-time-series-functions-in-obiee-2347570
Thanks & Regards
Kishore Guggilla

Similar Messages

  • Prior Year YTD and MTD Sales Figure

    Hi,
    I am working on a report where I need to YTD  and MTD figure for current and previous year:-
    I have followed following steps for current year MTD and YTD figures:-
    Create 3 Date variables for Sales on Date with manual input, MTD and YTD on Date characetristics with Customer Exit input. After that I created 3 RKF where I restricted Sales value by each of these date variables.
    Now my question is, Do I need to create two more variables for Prior year MTD and YTD figures with customer exit and then create two more RKF's wherein I will restrict Sales figure with respective variable.
    Is that correct?
    Regards

    Hi,
    you can eighter use the -365 preset  but i suggest creating  2 seerate variables to avoid problems.
    regards
    Ashwin

  • YTD and MTD

    HI experts,
    I have to design a open hub and the requirement sheet only gives couple of field, which i can relate with DSO on which I am building my Open Hub but for amount, it says amount in two fields as:
    MTD amount,
    and YTD amount.
    But in DSO the field it will be get mapped is Amount in Document currency.
    Please help how to achive these two field.

    Hi Rajiv,
    YTD and MTD means: Year to Date and Month to Date.
    You need to write some user exits to get the YTD and MTD for the amount.
    With Regards,
    Ravi Kanth

  • How to calculate YTD and Last year YTD on Date in Bex

    Hi,
    I have a requirement in which I need to show the report as following format.
    I need to show    Year>monthday as Hierarchy. user will drill down on Month to Date.
                 Del Qty              Ord Qty              Del  Qty LY              Del Qty YTD                  Del Qty  L YTD
    Year
    > Drill Down to Months
            Jan
            Feb
            Mar
              ---> 1.03.2010
              ---> 2.03.2010
              ---> 3.03.2010
            Dec
    I have Calday, Calmonth, Calyear all three objects.
    Now my question is how I can achive this? On which i need to create hierarchy?
    and how to calculate the YTD at day level.
    Note:- in the selection calyear is mandatory. User wants to display as per year.   So What infoobject I need to take in selection?
    and the way to calculate YTD on Day (in the case also ,where user doesn't give the date in selection)
    Plz reply asap its uregent !!!
    Thanks in advance,
    Amit

    Hi,
    As per my understanding I think YTD means JAN to current date result. I means say if user enter 062005 then result in YTD should be from 012005 to 062005.
    And to do this you need to write a customer exit variable where LOW field of internal table you will put JAN year and HIGH will contain month year entered by user.
    Hope this will help you.
    Suneel

  • How to create YTD and MTD reports using Sql Server 2008 r2 report builder 3.0

    Hi All,
    How can I create YTD report from the below data. please help me
    ProdA     ProdB     ProdC     Month     Year
    10       50        40          January      2012
    Data for full Year i.e. from Jan - December 2012
    50       90       100        January       2013
    Data for full Year i.e. from Jan - December 2013
    90       40         30        January        2014
    Data for full Year i.e. from Jan - Till Date 2014
    MercuryMan

    You can use a correlated subquery to calculate YTD in query behind. You can use APPLY operator for that
    so something like
    SELECT *
    FROM Table t1
    CROSS APPLY (SELECT SUM(ProdA) AS TotA,SM(prodB) AS TotB,SUM(prodC) AS TotC
    FROM Table
    WHERE Year = t.Year)t1
    And show TotA,TotB and TotC in the required total row
    Another method is to add required totals in SSRS by clicking on relevant group and choosing Add Total option
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Regarding YTD and MTD

    Hi Experts,
    Could you please any one can explain what is YTD, MTD, and TTD and how to calculate them. Is there any documentation for this?
    Please provide me......
    Thanks in Advance
    Ravi

    Hello Sai,
    YTD - Year to date - is a cumulative sum of that wage type in that year till that date.
    MTD - Month to date - is a cumulative sum of that wage type in that month till that date.
    TTD - Total to date - is a cumulative sum of that wage type in all time periods till that date. (Not 100% sure with TTD though - please verify)
    The SAP help portal would have the documentation for these.
    Thanks.

  • YTD and MTD for different scenarios

    Hello,
    i'm looking for a possibility to upload actual figures as YTD value and Forecast figures as MTD value.
    The point is that i don't want to have another dimension to defferentiate between two ways of data input (we have already 12 dimensions :-( )
    Does anyone have any idea how to solve my problem.
    any suggestions are highly appreciated.
    Many thanks,
    Ilias

    There are a number of ways this could be done, but it will depend on what the users/requesters want to forecast against. For example (simple example), it could be added to an "account" dimension, but if they want to see MTD and YTD against balances then that will not work.

  • How to do YTD and MTD

    Hi all,
    Can anyone please explain me how to get the sum of the value of measure till the current date?
    FOr ex jan value is 100, feb it is 200 etc now if date of today is slected all should be summed up and shown in the table view.
    I tried running sum but its different as it does running sum for the months selected in the prompt.
    Regards
    Ashish

    Hi
    Use time-series related metrics created in rpd then make them use in front-end
    http://www.rittmanmead.com/2007/04/obi-ee-time-dimensions-and-time-series-calculations/

  • YTD,QTD & MTD values for variable under 0CALMONTH

    Hi Gurus,
    I need to calculate YTD,QTD & MTD values for a KF based on the value that the user enters in the variable under 0CALMONTH.
    I have the code for how it can be done using 0CALDAY but not sure for 0CALMONTH.
    Can you share the ABAP code for this requirement.
    Your help will be greatly appreciated.
    Thanks
    Arvind

    Hi,
    Based on the month entered by the user, take First day of the month in teh exit,
    1. YTD :  Take SY-DATUM and calculate YTD
    2. QTD :  Based on the Month you calculate Quarter
    3. MTD :  Take SY-DATUM and calculate MTD
    *Note: * If they give only Month want to date meanes, only SY-DATUM will be accepeted, because they are not passing 0CALDAY
    Thanks
    Reddy

  • Ytd , qtd and mtd

    Hi All,
    I am facing the problem when creating the ytd,qtd and mtd . I have 3 levels in my period dim table like year , quarter and month. I have a doubt on which leve i have specify the Chronology key.
    In this dim table i have a composite primary key on two columns . Those are year and monthkey. How can i define to the lowest level .
    Pls advise me , I would be very thank ful to you.

    In my period dim they have taken year and monthkey is the primary key. That's why we call it as a composite primar key. right.
    But here i am confusing shall i take these two column in the lowest level of hierachy or not
    I am getting the quaters for all the years the same result.
    Pls advise me

  • Issue in using rpd and webcat of OBIEE 11.1.1.5 on 11.1.1.6

    Hi All,
    I went through many topics on forums on how to upgrade the rpd and webcat from 11.1.1.5 to 11.1.1.6,it was mentioned that :
    The obiee11.1.1.5.0 RPD,Catalog are supporting in obiee11.1.1.6.0 version. but should deployee it via Weblogic EM(FMW)
    http://obiee11gqna.blogspot.com/2011/05/obiee-11g-deploy-rpd-create-new-catalog.html
    I tried using the same rpd and webcat from obiee 11.1.1.5 and followed the above steps but after services are successfully started I cannot open the rpd in online mode it throws the error:
    Successful completion of init block 'FndGetSecContext' is required.
    could not connect to the bi server instance
    and also on opening webcat its not accepting the paassword which earlier it had accepted.
    Can someone please let me know what could be the cause for the above issues.
    Thanks in Advance.
    Regards,
    Amrit

    Hi,
    befor deploying your obiee11.1.1.5.0 RPD file just open as offile mode via obiee11.1.1.6. rpd then try check the
    metadata gloable consistency (ctrl+k) then make sure no error i hope there is some issues on your init block its making problem just fix it then try deploy it and refresh GUID then try to login analytics it should work.
    Note: there are some init block (I hope this init block FNDGetSecContext having problem just double check )
    are failed just make sure and delete unused variables and init block and one more thing are u integrated with EBS?
    thanks
    Deva
    Edited by: Devarasu on Jun 21, 2012 1:53 PM

  • P & L report for current period,YTD and previous YTD

    I am trying to create a P & L report with the columns for current period,YTD and previous YTD,  I have include the measures as the key of columns, which by using period or YTD we can retrieve the current period and YTD column, is there as easy way to get the previous YTD? although I can get it  by using evtim to het every month and calculate the previous YTD.

    resolved, just need to bring both time and measures in the columns

  • How to calculate difference and percentage in matrix report dynamic columns in SSRS 2008

    Hi Friends,
    I need to calculate Difference and Percentage In matrix report SSRS 2008
    1) Row grouping based On Product
    2) Column Grouping Week and Fiscal Year Current week  and Previous Year same Weeks 
    3)Data Invnetory(Value fileld)
    Example:
    If value1 and Value2 Available we need to calculate Percentage and Difference.Otherwise Not required NA I need to Show.
    For example If Particular week,Current year data is available,Previous year  week data is not available No
    need to cal Diff and Percentage we need to show Empty.
    Below Code is working for If two values is available.
    If any one of the fiscal year week data is not there it's taking some garbage values.
    I tries with If condition in GetPCT() and GetDiff() It's not working.
    Can some one please help me on this.
    I am using the custom code 
    Public Shared Value1 as String
    Public Shared Value2 as String
    Public Shared previous as string
    Public Shared previousweek as string
    Public Shared Function GetValue(Value as String,partner as String,Week as String) as String
    If partner =previous and Week =previousweek Then
    Value2=Value
    Else
    previous=partner
    previousweek=Week
    Value1=Value
    End If
    return Value
    End Function
    Public Shared Function GetDiff()
    return Value2-Value1
    End Function
    Public Shared Function GetPct()
    return (Value2-Value1)/Value1
    End Function
    How to handle this.
    Thank You, Manasa.V

    Hi veerapaneni,
    According to your description, if one of the fiscal year week doesn’t have data, the custom code returns false results.
    For your requirement, if NULL value exists in the database, we should replace it as zero then perform calculate. So within the code, we should judge whether the value is NULL. To achieve your goal, please refer to the steps below:
    1. Create a table like below.
    create table dif4
    ([Product Group] varchar(50),
    [Week] varchar(50),
    [Fiscalyearweek] varchar(50),
    value int
    insert into dif4 values
    ('Desktops','W01','FY14W01',0),
    ('Desktops','W01','FY15W01',45),
    ('Desktops','W02','FY14W02',null),
    ('Desktops','W02','FY15W02',30),
    ('Desktops','W03','FY14W03',12),
    ('Desktops','W03','FY15W03',50),
    ('Notebooks','W01','FY14W01',35),
    ('Notebooks','W01','FY15W01',56),
    ('Notebooks','W02','FY14W02',45),
    ('Notebooks','W02','FY15W02',87),
    ('Notebooks','W03','FY14W03',75),
    ('Notebooks','W03','FY15W03',105),
    ('Tablets','W01','FY14W01',34),
    ('Tablets','W01','FY15W01',46),
    ('Tablets','W02','FY14W02',49),
    ('Tablets','W02','FY15W02',96),
    ('Tablets','W03','FY14W03',42),
    ('Tablets','W03','FY15W03',113)
    2. Add the custom code in the Report Properties.
    Public Shared Value1 as Integer
    Public Shared Value2 as Integer
    Public Shared previous as string
    Public Shared previousweek as string
    Public Shared Function GetValue(Value as Integer,product as String,Week as String) as Integer
    If Value=Nothing Then
    Value=0
    End If
    If product =previous and Week =previousweek Then
    Value2=Value
    Else
    previous=product
    previousweek=Week
    Value1=Value
    End If
    return Value
    End Function
    Public Shared Function GetPct()
    If Value1=0 Then
    return 0
    Else
    return (Value2-Value1)/Value1
    End If
    End Function
    Public Shared Function GetDiff()
    return Value2-Value1
    End Function
    3. Design the matrix like below.
    4. Then get the expected results.<o:p></o:p>
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • To calculate the 90th percentile in OBIEE

    Hi All,
    Can anyone help me how to calculate the 90th percentile in OBIEE.
    Thanks in advance;
    Rajeev.

    Hi,
    Expand the Dimensional Hierarchy that you have created and at the level where you need to stop the drill down-->open that level-->in general-->uncheck the 'Supports rollup to higher level of aggregation' and this should solve your problem.
    Otherwise if you need only till 4th level, then create till 4th level for hierarchy.
    Hope this should solve your problem.
    Regards
    MuRam

  • Migrate OBIEE 11.1.1.3 rpd and catalog to OBIEE 11.1.1.5

    Is there is any upgrade process to follow (if so, what they are) to use OBIEE 11.1.1.3 rpd and webcatalog with OBIEE 11.1.1.5 installation.
    Is there anything extra needs to be done apart from just about moving them to 11.1.1.5 installed machine and deploy/specify path through Oracle EM Fusion Middleware Control.
    Thanks in advance for the inputs.

    Hi,
    Refer section 1.6 in below link,
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e16452/bi_plan.htm#CACEHADC
    Look for step 10 in the above link , "Updating Oracle Business Intelligence Catalogs"
    Rgds,
    Dpka

Maybe you are looking for