News YTD, YTD LY, MTD measures in OBIEE repository

Hello All,
I wanted some help in creating the following kind of measures:
1) YTD LY
E.g if today is 25/12/2013
It should give the total of all sales from 01/01/2012 to 25/12/2012
2) YTD
E.g if today is 25/12/2013
It should give the total of all sales from 01/01/2013 to 25/12/2013
3) MTD
E.g if today is 25/12/2013
It should give the sum of all sales from 01/12/2013 to 25/12/2013
Thanks

If you have a properly defined time dimension which supports aggregation at year and month level, then provided you do not have future dated data (!) in your system the standard YTD measures created at the appropriate level of aggregation will do what you describe, but the L YTD would have to be done in the analysis itself.
BUT - usually end users ask for this kind of functionality and then subsequently add the requirement that they want to be able to run this 'for any point in time', for which the only way to go is parameters coupled with filter / case logic in the analysis.
regards,
Robert.

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • MTD Measure

    Hi,
    I am working on BPC 7.5NW SP03.
    When I try to select the member from MEASURE dimension, I can see only PERIODIC, QTD and YTD.  I do not see MTD measure.
    Can anyone let me know if MTD measure is SAP provided measure OR we need to customize it?
    How to get MTD measure?
    Please suggest.
    Regards,
    Rashmi

    Hi all!
    I just have found how add new member to Measures dimension, and I did it in following steps:
    1) Add new member in tblFormula and tblYTDFormula with needed logic
    2) Add new member in dimesion time with corresponding properties, which using in Statment tblFormula and tblYTDFormula ( LEVEL = DAY, LEVEL = WEEK for my Example). It's most important step.
    3) Process all Dimension in all App for your App Set
    4) Add to file \BPC\Data\Webfolders\"Your App Set"\System Files\"App",Measures.XML and  "App",Measures.DIM corresponding Measure Member ID and Description
    5) Refresh Dimension Members via eTools menu in Excel.
       That's all
    Thank a lot for all, who have tried to help.

  • How can you build time series measures in OBIEE without using TODATE AGO fu

    How can you build time series measures in OBIEE without using TODATE and AGO function?
    Please provide steps to build time series
    measures in OBIEE without using TODATE and
    AGO function. Dashboard results not storing
    in cache when using TODATE and AGO functions.
    eventhough its cached users queries not
    hitting cache because queries doesn't match
    exact date time when using TODATE and AGO
    functions. so I want to build queries using
    sysdate and some simple calculations. Please
    send your inputs/ideas for my questions..
    Thanks in Advance

    This can be using Msum function in answers. Use the following formula, here dollars is my metric. Change the formula based on your metric.
    Msum("Sales Measures".Dollars ,2) - "Sales Measures".Dollars
    the report will be cached and better performed compared with time series. check ti
    - Madan Thota

  • OBIEE Repository and webcatalog deployment with WLST

    Hi,
    Being novice in weblogic with integration of OBIEE 11G, i heard we have WLST (Weblogic Scripting Tool), is it something like UNIX scripting?, My references told me that we can do many administration tasks that are done in GUI consoles with help of WLST using OEPE (Oracle Enterpise Pack for Eclipse). Now my question is can we deploy OBIEE Repository, OBIEE catalog and start/restart/stop BI services using WLST?
    Thanks,
    Sreekanth

    Hi Sreekanth
    Have a look into the Oracle BI Systems Management API;
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10541/admin_api.htm
    http://www.rittmanmead.com/files/oow2011_rittman_chgmgmt.pdf
    http://www.rittmanmead.com/files/oow2011_rittman_sysman.pdf
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • Can anyone suggest me the OBIEE Repository/Answers best practice document?

    Hi,
    I'm looking for the OBIEE repository/answers/dashboard development best practice doument.can you suggest me where can i find this document?

    Hi,
    Below the links are helpful for you,
    Oracle BI Applications Installation and Configuration Guide
    http://download.oracle.com/docs/cd/E12104_01/books/AnyInstAdm/AnyInstAdmTOC.html
    Creating a Repository Using the Oracle Business Intelligence Administration Tool
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html
    Creating Interactive Dashboards and Using Oracle Business Intelligence Answers
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/saw/saw.html
    Hope its helpful for you and award points,
    Thanks,
    Balaa...

  • Data Security in OBIEE Repository

    I applied Data Security in OBIEE Repository,created testuser and assigned to Test group.Applied security in the Test group for specific column using Logical Fact.When i login using the testuser i am not able to see the applied data filter in the Test Group.Am i missing anything.
    Thanks in Advance

    I tried but still i don't see the security filter.Do i need to configure my NQSconfigfile.ini.Security filter status in Repository is Enable.We implemented fragmentation in logical fact,anyway that shouldn't matter as per my guess.

  • How to create obiee repository in solaris

    hi,
    I am trying to create obiee repository in obiee under solaris environments. i have find out that there is no administrator tool for obiee under solaris. How can i create repository in solaris if there is no administration tool.
    Kindly help
    regards
    Nick

    here is my instanceconfig.xml file and i have changed it path
    <WebConfig>
    <ServerInstance>
    <DSN>AnalyticsWeb</DSN>
    <CatalogPath>/u02/software/OracleBIData/web/catalog/birepository</CatalogPath>
    I have place the fold copied from the window in catalog but here is NQServer file out put
    2009-04-09 16:23:19
    [14058] Unloaded all subject areas.
    2009-04-09 16:23:25
    [36007] Loading repository /u02/software/OracleBI/server/Repository/samplesales.rpd.
    2009-04-09 16:23:26
    [14055] Loading subject area: Sample Sales ...
    2009-04-09 16:23:27
    [14056] Finished loading subject area: Sample Sales.
    2009-04-09 16:23:27
    [58002] Query Cache loaded with 0 entries from saved cache files.
    2009-04-09 16:23:27
    [43030] : Oracle BI Server started. Version: 10.1.3.4.0.080726.1900.
    its still loading the samplesales.rpd why?
    regards
    Nick

  • Can we have Cognos front end connect to OBIEE repository

    How Can we have OBIEE repository be taken as Input in Cognos Framework?
    Any suggestions?

    Hi,
    If your using Cognos version like MDX/XMLA then it should be possible. (on older cognos version you migth have to "reroute" trought an SSAS service.
    http://www.biblogs.com/2007/11/26/essbase-integration-with-obiee-101331/
    OBIEE with Essbase as datasource-what I need to know
    Just fyi...
    You can't connect directly to the Cognos cube, you have to go trough the Cognos Reporting server:
    OBIEE -> Cognos Reporting Server - > Cognos Cube
    or
    OBIEE -> MS - SSAS server - > Cognos Reporting Server -> Cognos Cube
    But if you are already on Cognos why do you want to transfer data to OBIEE? Cognos is NOT an ETL tool. A Cognos Cube File is only a data file for a Cognos Reporting server.
    Thanks
    Deva
    Edited by: Devarasu on Sep 29, 2011 2:08 PM

  • Change in YTD measure results change in other YTD measures in OBIEE 10g

    Hi,
    I am facing a strange issue where I do a code change for a Sales YTD measure and Investment YTD measure values increase. But the good thing is Sales YTD column results in correct values.
    I have checked Sales YTD code and Investment YTD code and there is no relation in RPD. And neither in the reports. Is there anything I need to check related to this behavior.
    Any inputs on this would be great help.

    Hi Debharati
    I have taken sales YTD and sales YTD modified as examples.
    Below is the physical query with 3 dimension columns and 2 YTD coloumns(Sales YTD and Sales YTD modified)
    If I run sales YTD and sales YTD modified individually along with 3 dimensions. I get the expected result.
    If I run both these measures on the same report Sales YTD modified is resulting expected result and Sales YTD values are going up.
    -------------------- Sending query to database named Oracle Data Warehouse ----------------------------------
    WITH
    SAWITH0 AS (select T66755.ROW_WID as c3,
    T66755.PER_NAME_YEAR as c4,
    ROW_NUMBER() OVER (PARTITION BY T66755.PER_NAME_YEAR ORDER BY T66755.PER_NAME_YEAR DESC) as c5,
    ROW_NUMBER() OVER (PARTITION BY T66755.PER_NAME_YEAR, T66755.ROW_WID ORDER BY T66755.PER_NAME_YEAR DESC, T66755.ROW_WID DESC) as c6
    from
    W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ),
    SAWITH1 AS (select Case when case SAWITH0.c5 when 1 then SAWITH0.c3 else NULL end is not null then Rank() OVER ( ORDER BY case SAWITH0.c5 when 1 then SAWITH0.c3 else NULL end ASC NULLS LAST ) end as c1,
    Case when case SAWITH0.c6 when 1 then SAWITH0.c3 else NULL end is not null then Rank() OVER ( PARTITION BY SAWITH0.c4 ORDER BY case SAWITH0.c6 when 1 then SAWITH0.c3 else NULL end ASC NULLS LAST ) end as c2,
    SAWITH0.c3 as c3,
    SAWITH0.c4 as c4
    from
    SAWITH0),
    SAWITH2 AS (select distinct min(SAWITH1.c1) over (partition by SAWITH1.c4) as c1,
    min(SAWITH1.c2) over (partition by SAWITH1.c4, SAWITH1.c3) as c2,
    SAWITH1.c3 as c3
    from
    SAWITH1),
    SAWITH3 AS (select T66755.PER_NAME_YEAR as c3,
    T66755.DAY_DT as c4,
    T66755.ROW_WID as c5,
    ROW_NUMBER() OVER (PARTITION BY T66755.PER_NAME_YEAR ORDER BY T66755.PER_NAME_YEAR DESC) as c6,
    ROW_NUMBER() OVER (PARTITION BY T66755.PER_NAME_YEAR, T66755.ROW_WID ORDER BY T66755.PER_NAME_YEAR DESC, T66755.ROW_WID DESC) as c7
    from
    W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ),
    SAWITH4 AS (select Case when case SAWITH3.c6 when 1 then SAWITH3.c5 else NULL end is not null then Rank() OVER ( ORDER BY case SAWITH3.c6 when 1 then SAWITH3.c5 else NULL end ASC NULLS LAST ) end as c1,
    Case when case SAWITH3.c7 when 1 then SAWITH3.c5 else NULL end is not null then Rank() OVER ( PARTITION BY SAWITH3.c3 ORDER BY case SAWITH3.c7 when 1 then SAWITH3.c5 else NULL end ASC NULLS LAST ) end as c2,
    SAWITH3.c3 as c3,
    SAWITH3.c4 as c4,
    SAWITH3.c5 as c5
    from
    SAWITH3),
    SAWITH5 AS (select distinct min(SAWITH4.c1) over (partition by SAWITH4.c3) as c1,
    min(SAWITH4.c2) over (partition by SAWITH4.c3, SAWITH4.c5) as c2,
    SAWITH4.c3 as c3,
    SAWITH4.c4 as c4
    from
    SAWITH4),
    SAWITH6 AS (select sum(case when T159345.W_STATUS_CODE = 'APPROVED' and T159301.W_XACT_TYPE_CODE <> 'Unspecified' then T159098.INV_DIST_AMT * T159098.GLOBAL1_EXCHANGE_RATE else 0 end ) as c1,
    sum(case when SAWITH5.c4 = cast(concat(concat(concat(concat(trim(both ' ' from cast(SAWITH5.c3 as CHARACTER ( 30 ) )), '/'), trim(both ' ' from cast(TO_NUMBER(TO_CHAR(TO_DATE('2013-05-29' , 'YYYY-MM-DD'), 'MM'), '99') as CHARACTER ( 30 ) ))), '/'), trim(both ' ' from cast(TO_NUMBER(TO_CHAR(TO_DATE('2013-05-29' , 'YYYY-MM-DD'), 'dd'), '99') as CHARACTER ( 30 ) ))) as DATE) then case when T159345.W_STATUS_CODE = 'APPROVED' and T159301.W_XACT_TYPE_CODE <> 'Unspecified' then T159098.INV_DIST_AMT * T159098.GLOBAL1_EXCHANGE_RATE else 0 end end ) as c2,
    T296168.TOP_LVL_PRODCAT_NAME as c3,
    T296168.L8ANC_PRODCAT_NAME as c4,
    T296168.L7ANC_PRODCAT_NAME as c5,
    SAWITH5.c3 as c6
    from
    W_PROD_CAT_DH T296168 /* Dim_W_PROD_CAT_DH_AUTO_PURCHASING_CATEGORY */ ,
    W_AP_INV_DIST_F T159098 /* Fact_W_AP_INV_DIST_F */ ,
    W_XACT_TYPE_D T159301 /* Dim_W_XACT_TYPE_D_AP_Spend_Classification */ ,
    W_STATUS_D T159345 /* Dim_W_STATUS_D_AP_Invoice_Approval_Status */ ,
    SAWITH2,
    SAWITH5
    where ( T159098.AUTO_PURCHASING_CATEGORY_WID = T296168.ROW_WID and SAWITH5.c1 = SAWITH2.c1 and T159098.APPROVAL_STATUS_WID = T159345.ROW_WID and T159098.SPEND_TYPE_WID = T159301.ROW_WID and T159098.INVOICED_ON_DT_WID = SAWITH2.c3 and T159098.DELETE_FLG = 'N' and T296168.TOP_LVL_PRODCAT_NAME = 'Facilities, Distribution Centers, and Stores' and SAWITH5.c3 = '2013' and T296168.L8ANC_PRODCAT_NAME <> 'Building Materials' and T296168.L8ANC_PRODCAT_NAME <> 'Construction Services' and T296168.L8ANC_PRODCAT_NAME <> 'Utilities' and (T296168.HIERARCHY_NAME in ('XYZ', 'Unspecified')) and SAWITH5.c2 >= SAWITH2.c2 )
    group by T296168.L7ANC_PRODCAT_NAME, T296168.L8ANC_PRODCAT_NAME, T296168.TOP_LVL_PRODCAT_NAME, SAWITH5.c3)
    select distinct SAWITH6.c3 as c1,
    SAWITH6.c4 as c2,
    SAWITH6.c5 as c3,
    SAWITH6.c1 as c4,
    case when SAWITH6.c6 = 'year(current_date)' then SAWITH6.c1 when SAWITH6.c6 <> 'year(current_date)' then SAWITH6.c2 else 0 end as c5,
    SAWITH6.c6 as c6
    from
    SAWITH6
    order by c1, c2, c3
    -------------------- Execution Node: Close Row Count = 24, Row Width = 752 bytes
    Can you please elaborate on checking logical level for each dimension has been set correctly. As I have checked for YTD measure column I did not find the content
    tab but checked in levels tab where I could see dimensions and levels where levels are empty for the all the dimensions
    Edited by: 949675 on May 31, 2013 6:44 AM
    Edited by: 949675 on Jun 2, 2013 9:29 PM

  • 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.

  • 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.

Maybe you are looking for