YTD calculation at product level

Hi Friends,
Am not sure if this is the right forum to post a BW question.
I have a requirement to calculate YTD, however the way this has to be calculated is a different.
We have multiple products, but for each product we have different periods(start and end period), Start period is August for all products, however the end period for each product varies.
Product     Start period     End period
ABC          AUG               APR
BCD          AUG               MAR
CDE          AUG               FEB
The requirement is that when the user runs a report, in the selection screen if he/she selects for example a period(month) as 02.
Then the report should show  YTD calculation from AUGUST to FEB as a total.
Also if there are any additional values beyond the end period they should be displayed  in their respective month columns.
Please see the example below how the report out put should be.
Product
Month
No entries
YTD
ABC
AUG
100
700
SEP
100
OCT
100
NOV
100
DEC
100
JAN
100
FEB
100
MAR
100
APR
100
MAY
100
JUN
100
JUL
100
BCD
AUG
10
80
SEP
10
OCT
10
NOV
10
DEC
10
JAN
10
FEB
10
MAR
10
APR
10
MAY
10
JUN
0
JUL
0
Can someone please let me know how to do the above?.
I have gone thru the forum and read threads reagrding YTD, looks like this requirement is different then the standard YTD calculations. Hence posting this.
Regards
BN

Hi Kumar,
Please tell me are the start and end periods are coming as transaction values(i.e in Target) and all the months data is available or not like continuity in the months,there should be any record with jan'14 data,no feb'14 data Mar'14 data like that.
Regards,
Rambabu

Similar Messages

  • SSAS Multidimensional Time Intelligence YTD calculation showing BLANK for Date level

    Hi there,
    I am working with SSAS Multidimensional Cube, basically I have defined a Time Intelligence calculations for just YTD in the Cube, the calculation was created in the Calculations tab of the cube as follows:
    /*Year to Date*/
        [Dimension Dim Time].[Calendar Dimension Dim Time Calculations].[Year to Date],
    [Dimension Dim Time].[Year].Members, 
        [Dimension Dim Time].[Date].Members   
      =
      Aggregate(
                 { [Dimension Dim Time].[Calendar Dimension Dim Time Calculations].[Current Dimension Dim Time] } 
                 PeriodsToDate(
                                [Dimension Dim Time].[Calendar].[Year],
                                [Dimension Dim Time].[Calendar].CurrentMember
    My Calendar hierarchy is as follows:
    Year -> Quarter -> Month -> Week -> Date
    The problem I have is that when I am at Date level I am not getting the cumulative YTD value, instead I am just getting blank cells:
    Could anyone help me defining a Time Intelligence YTD calculation that works for all levels including the Date (highlighted in yellow above)?
    Thanks and best regards,
    Joss

    The only strange thing is the MDX script, I would have used this one instead (sse below) - but if this is not the issue, I would suggest you to isolate the issue in a simpler MDX script removing any other calculation.
    Also take a look at the DateTool solution for these calculations - I really don't like the wizard provided by the development environment, it has other issues but not something that should affect your calculation:
    http://www.sqlbi.com/articles/datetool-dimension-an-alternative-time-intelligence-implementation
    /*Year to Date*/
        [Dimension Dim Time].[Calendar Dimension Dim Time Calculations].[Year to Date],
        [Dimension Dim Time].[Calendar].Members, 
        [Dimension Dim Time].[Date].Members   
      =
      Aggregate(
                 { [Dimension Dim Time].[Calendar Dimension Dim Time Calculations].[Current Dimension Dim Time] } 
                 PeriodsToDate(
                                [Dimension Dim Time].[Calendar].[Year],
                                [Dimension Dim Time].[Calendar].CurrentMember
    Marco Russo http://ssasworkshop.com http://www.sqlbi.com http://sqlblog.com/blogs/marco_russo

  • APO SNP macro working at a product level (across locations)

    I am using APO V5.1.
    I have a macro requirement where I want to perform calculations at a product level (ie for a given product, look across all relevant locations).
    I can do this interactively by selecting a product.
    But in a background job I can only select the 9AMALO level of aggregation.
    Does anyone know how I could get round this?...

    Hi,
    Could you please give some more details of your exact requirement?
    Since you mentioned about 9AMALO, I would assume that you want something to be done in SNP, but it's not clear what you could do in interactive SNP which you are not able to achieve in background job.
    If something is possible in foreground, most likely it would be available in background as well, and we can give you the solution after you give some more details.
    Thanks - Pawan

  • Variance calculation for production order with settlement receiver as SDI

    Hi...
    I have one query reference to Variance calculation for production order with settlement receiver as SDI(Sales document item).
    I am working on Varaint configuration with strategy 25(Make-to-order for configurable material) with requirement class 046.
    I have created sales order ref. to configurable material,subsequently created planned order & then converted to production order.
    In production order settlement receiver is SDI(Sales document item).
    While doing production confirmation ,variance has been created.
    Now during variance calculation KKS2, I have got error message as no suitable settlement rule found for object Order no.
    Is there any way to come out of this?Or variance calculation KKS2 is not applicable with settlement receiver as SDI(Sales document item).
    Pl. guide
    Redards
    Tushar

    Hi
    In case of non valuated material, concept of variance does not apply...
    Variance is Actual Cost - Cost of Goods receipt posted in stock.. If the later value is zero, your entire actual cost is variance... That is one way of saying it
    But, in SAP, var not calculated in case of non valuated material and that makes sense as well.. Since you are in MTO scenario, it would make sense to analyse costs vs revenues @ sale order level as each SO will be unique in itself
    Regards
    Ajay M

  • How to maintaing E-Business suite with latest product levels and bug/securi

    Hi All,
    How to maintaing E-Business suite with latest product levels and bug/security fixes?
    backup strataegies for database and E-BS suite?
    what is mean by gather user requirements?
    Please some one explain briefly...........
    Thanks

    Please post your question in the appropriate forum.
    E-Business Suite
    http://forums.oracle.com/forums/category.jspa?categoryID=3
    Thanks,
    Hussein

  • Separate CIN (excise) GL accounts required at product level and plant level

    Hi
    Our client have one plant. It have two division - A and B. But excise registeration is one.
    In SAP we have created two separate plants and two separate profit centers for two divisions A and B.
    There are three products in A and two products in B. I believe that all CIN related settings and excise group can be assigned to a plant and not at a product level.
    Now my client want product-wise stock and duty paid amount with PLA, RG23A and RG23C. Further they want to separately show clearance made without duty separately. Right now they are able to post product-wise JV in excise GL accounts so they have separate GL accounts at product level.
    In SAP i believe that i cannot create separate CIN GL accounts separately for each products.
    Please help. How to satisfy client's requirement.

    Hi,
    You can develop a new report with the help of ABAPer and provide it to the client.
    Regards,
    Hansa Chechani

  • How is YTD calculated in bex ?

    we have a requirement to calculate YTD for revenue in a report. Just want to understand if YTD is always the current year restricted to KF or we need to consider the value from the user like 0fiscper and adjust YTD, as per the user input. I mean for example if user enter input 002.2013, then the YTD will have 2013 value or still 2014 value because YTD is current year to date.
    My reporting requirement is as below. red are colmns.
    customer           YTD revenue              Feb 2013 ( user input value- revnue will be fetch based on user input).
    But YTD will be always for current year right ? Does it depend on the user requirement ? Should I ask user or its generic, Please confirm.
    Thanks
    DR

    The reason I put this thread is to find out how is YTD calculated normally in a report. Will it be always the current year data to be displayed or it depends on the requirement. Hope you would have handled YTD in your reports, can you please clarify.
    Anyways' thanks a lot Anshu and Suman. You guys are experts and always provide prompt respone to me. and provide different approaches even on weekends. I appreciate it. Have awarded you guys full points. I will try your approach on monday will post you questions. I got the clear picture to display text for column heading and restrict 0fiscper for the data column. Will try YTD after you confirm or more inputs from the user.
    Thank You once again.
    DR

  • Actual activity price calculation for production order

    Hi
    Can any one guide me in how many ways we can assign actual activity price calculation for production order?
    I knew only one way by assigning PPP2 costing variant?
    I have another doubt is: if we don't mention any material valuation indicator (moving average, standard) in valuation variant, how system will calculate material prices? is there any other way, to recognize the prices by system?
    regards,
    Ramesh B

    Dear,
    Costing variant PPP2 is linked to some valuation variant inn OPL1
    System will check the valuation of material and activity according to this valuation variant
    For material valuation there are many stg acceding to which system will take the price the raw material,
    Valuation strategy for material component
    Strategy sequence that determines the valuation of the materials used in the cost estimate.
    Use
    The materials are valuated using the price in the material master record or the values calculated in a material cost estimate.
    Procedure
    You can enter a single strategy, or you can enter multiple strategies in the form of a strategy sequence. If you enter multiple strategies, the priority of the strategy determines what price or what values are selected.
    Examples
    Assume that the following strategy sequence is entered for material valuation:
    1. Planned price 1
    2. Standard price
    3. Moving average price
    If the system finds a value in the Planned price 1 field (costing view), this value is taken as the value for valuating the material.
    If the system does not find a value, the value in the Standard price field (accounting view) is used.
    If the material does not have a standard price, the system uses the value from the Moving average price field.
    if you have not mentioned, then system will give error that "valuation stg not found"
    Valuation strategy for internal activities and processes-
    Strategy sequence that determines how internal activities and processes are valuated in costing.
    Use
    The activities and business processes used are valuated with the prices from Cost Center Accounting or Activity-Based Costing to determine the production costs or process costs. The prices can either be calculated iteratively through price calculation, or entered manually by the user.
    Procedure
    You can enter either a single strategy or more than one strategy in the form of a strategy sequence. If you enter more than one strategy, the priority of the strategy determines which price is selected.
    Examples
    The following strategy sequence is entered:
    1. Actual price of the previous period
    2. Plan price of the previous period
    3. The most current plan price
    If the system finds a price for the activity type, this price is used for valuating the internal activities. If no price was calculated for the previous period, the plan price from the previous period is used to valuate the activity type.
    If the system cannot find a plan price for the previous period, it looks for a future plan price, using the next price in the posting period to valuate the internal activities. For example, if plan prices have been entered for periods 2 and 3, and a plan price is calculated in period 1 for period 4, the system uses the price from period 3 in accordance with the valuation strategy Most up-to-date plan price.
    Again if you have not mentioned, then system will give error that "valuation stg not found".
    You can use any costing variant for actual (PPP2)and planned(PPP1) according to your requirement.. check in OPL1

  • Calculations at query level

    HI Experts,
    I need some calculations at query level,
    find the below user requirement.
    And one more thing we are not authorised to use Customer exits.
    SELECT
    [FA No] As [FA No],
    [FA Description] As [FA Description],
    Sum( CASE WHEN [Posting Date] < @fromDate THEN Amount ELSE 0 END) AS [Starting Balance],
    Sum( CASE WHEN [Posting Date] >= @fromDate AND [Posting Date] <= @toDate  THEN [Debet Amount] ELSE 0 END) AS [Debet Amount],
    Sum( CASE WHEN [Posting Date] >= @fromDate AND [Posting Date] <= @toDate  THEN [Credit Amount] ELSE 0 END) AS [Credit Amount],
    Sum( CASE WHEN [Posting Date] <= @toDate THEN Amount ELSE 0 END) AS [Ending Balance],
    Sum( CASE WHEN [Posting Date] >= @fromDate AND [Posting Date] <= @toDate  THEN [Amount] ELSE 0 END) AS [Net Change]
    FROM FA06data
    GROUP BY [FA No], [FA Description]
    Please help as early as you can.
    Thanks,
    Naveen

    Thanks for your responce.
    we are using Sql with the query designer.
    what we can use? like calculated key figure.

  • Aggregation of the Forecast to product level

    Hi,
    In the Demand Planning We have a requirement that say there are 2 products A and B. We will execute the forecast   at the product level  and  we get forecast say 200 ifor product A and 300 ifor product B for next month.
    Now i will run the forecast at the product group level(taking these 2 products in one selection) and i will get the forecast say 500. Now the requirement is that this forecast is to be disaggregated to 200 for product A and 300 for product B . Client do not like to run the forecast at the product level.If we run at the product group level,this should be disaggregated to the product level in such a way it shhould equal to the forecast when we run at product level.  Forecast profile is same for product and product group level. All the other parameters such as historical period,forecast periods etc are same at the product and product group level.
    Please advise what are the settings required.
    Thanks
    Siva

    Hi Siva,
    If I understand correctly what you need is either you forecast at aggregate level or details level, forecast at details level should be same in both case.
    This is more of chicken or egg come first situation. If you really like the forecast at the aggregate level to disaggregate same as forecast at detail level than I would suggest to forecast at lower level.
    Reason being, Even though you use same forecast profile you will get different forecast numbers at lower level and aggregate level due to different sale pattern (Sales history) at detail level in case you are using complex forecast strategy.
    You may take following approach to get some what near by results if not exact.
    1. calculate "detail proportion factor" for all periods you want to forecast.
    2. Forecast at product group level and dis aggregate based on this detailed proportion factors.
    Hope this helps.
    Regards,
    Harshil Desai

  • Costing calculation using production bom

    Dear experts,
    In CK11n,under what circumstance, do we need to create costing bom?
    in order confirmation, plan cost is calculated from production bom or costing bom?
    actual cost is calculated from production bom or costing bom?
    Thanks

    Hi
    If your organization does not want to calculate Cost based on Prod BOM (Say you want to ignnore scrap in the Prod BOM), then create a Costing BOM and use it for Costing
    In an ideal world, both must be the same as far as possible
    br, Ajay M

  • How to have a production level subscription trigger a copy response (Asset)

    I am trying to have a production level metadata value trigger a copy response to all the Assets in a specific production folder. I tried having a match up between a production level field value and a asset level field value and it does not appear to work.
    Any suggestions?
    I would imagine others would find this valuable?
    I deal with world productions, I need to be able to pass assets to different regions via a copy response to a FTP device.
    Thanks in advance.

    Hi there,
    I think I would add a metadata field on the production level (as an admin) named something like "copy production including related assets to" and then add a popup with a choice of something like "siteA, siteB,…".
    You could then add a response which finds related assets and copies them over to the server of choice.
    I am going to publish a little paper on archiving and backing up Final Cut Server / Xsan systems with Archiware PresSTORE within the next days, which describes a part of this workflow, too.
    But if you need somebody to implement the whole thing, I guess Nicholas is the right person to help you doing this.
    Regards,
    André

  • YTD calculation from BEx is not working in Advance Analysis for OLAP/OR Office

    I have AA for OLAP based on BEx. There are YTD calculation in BEx Designer: User enters Period in variable, and in user exits, the Period Range is populated as "1 ~ UserEnteredValue" in second variable. In BEx, YTD is calculated based on the Restrictive KF for the period range, calculated in User Exit. This is working fine in BEx Analyzer, however in Advance Analysis (for OLAP OR in Ofice), the YTD value is not coming up they way it is in BEx Analyzer...
    Anybody has any clue, why??
    Thanking all of you in advance  

    Hello Sharma
    If something is working for BEx Analyzer but not for Analysis OLAP or Analysis Office then this typically (but not always) indicates an issue with the BICS (BI Consumer Services) component.
    I would suggest you contact support about this so the appropriate logs can be captured and the issue investigated by the BICS team.
    Regards
    Ian

  • 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

  • How to create default MTD,YTD prompts at universe level.

    I want to create default prompts for mtd and ytd at universe side.
    Please  help me on this issue.

    Hi
    If the universe source is bex query, as per the best practice you can define all Predefined Time Periods like,
    LY        Last Year
    MTD     Month To Date
    YTD      Year To Date
    MTG     Month To Go
    at the Bex query level. so complexity will be decreased while developing the universe  and performance also increase.

Maybe you are looking for

  • How to disable Print button on WebDynpro ABAP ALV

    In WebDynpro ABAP, a standard menu appears around the ALV,  that has a PRINT button and an EXPORT button. Is there anyway to disable those buttons???? Thanks John

  • Big problem with ipod nano

    It won't switch on unless you plug it into a computer but when you do it flicks between 3 screens before turning itself off. Its brings the apple screen for 1 second, the do not disconnect for 1 second and then then folder and exclamation screen for

  • Automati-payment

    in automatic payment programme we can use the house banks:- as like this:- SBI                   ICICI                   HSBC                   CITI BANK  MY REQUIREMENT IS THE I HAVE ONLY PAYMENT FOR THE HSBC is it possible or not if possible how (g

  • How do I make Smart Quotes in iMovie 11

    I'm trying to make a title in iMovie 11 and don't see a way to make "smart" (typographers) quotes. Anyone know how?

  • I have an iPad and an iPod. Both are using one apple id. How do I get a different id for the iPod?

    How can I create another user id so that both my ipad and ipod will not share the same id?