Inventory Age Structure Analysis

Hi,
I am using PowerPivot of Excel 2013 and trying to accomplish an inventory age structure analysis.
I have got a snapshot table "stock_table" with daily updates for products on stock and a custom date table. The columns of the stock table are as follows:
date
product_key
units
I'd like to show a summary of products which are let's say <=30, >30 and <=90 days on stock. Products which are at query date not any more on stock should be excluded from the summary.
Example:
stock_table:
columns: date, product_key, units
01/31/2014, 4711, 200
02/28/2014, 4711, 200
03/31/2014, 4711, 100 (last entry, no units left at 04/03/2014)
01/31/2014, 4712, 100
02/28/2014, 4712, 100
03/31/2014, 4712, 100
04/03/2014, 4712, 100
03/31/2014, 4713, 300
04/03/2014, 4713, 300
Age analysis as per 04/03/2014 should show:
stock age <=30 days: 4713, 300 units
stock age >30 days and <=90 days: 4712, 100 units
4711 should not show up because it has zero units as per 04/03/2014
Can anyone give me a hint how to accomplish this analysis via dax?
Thanx
Chiemo

Hi Gerhard,
thank you very much for your excellent solution. Based on your file it was easy to adapt your solution to my real data.
One tiny and really minor point for other users of Gerhard's solution from my side to one formula where I got with my real data an error message: please replace in the formula of the calculated column "StockAge" in the table "Inventory"
the "<=" sign in the fourth row by a "<" sign. The formula that worked for me is
StockAge=CALCULATE(VALUES(StockAge[Stockage]);
FILTER(
    'StockAge';
    StockAge[StockMin] < [StockAgeDays]
    && [StockAgeDays] <= StockAge[StockMax]))
Thank you again, Gerhard!
Best regards
Chiemo

Similar Messages

  • Inventory Ageing report

    Hi
    I require Inventory (raw material) ageing report. Ageing date must be calculated from date of goods receipt.
    For example:
    I have 100 units of Raw Material A.
    Goods receipts date were as follows:
    30 units: 1st April 2009
    45 units: 1st July 2009
    25 units: 1st September 2009
    So inventory aging as on 30th September must be:
    (days calculated from GR date to 30th Sept)
    0 - 30 Days --> 25 units
    31 - 60 Days --> 45 units
    61 - 90 Days --> 30 units
    Let me know TCode from where i can get the inventory ageing as mentioned above or let me know the TCodes / Tables which be helpful for developing report.

    Hi,
    Check teh Standard Reports:
    MC.9 - INVCO: Material Analysis Selection, Stock
    MC.B - INVCO: Material Analysis Selection, Turnover
    MC40 - INVCO: ABC Analysis of Usage Values
    MC44 - INVCO:Analysis of Inventory Turnover
    MC49 - INVCO: Mean Stock Values
    MC50 - INVCO: Analysis of Dead Stock
    Regards,
    Kishore K

  • Inventory Ageing query performance

    Hi All,
       I have created inventory ageing query on our custom cube which is replica of 0IC_C03. We have data from 2003 onwards. the performance of the query is very poor the system almost hangs. I tried to create aggregates to improve performance but its failed. What i should do to improve the performance and why the aggregate filling is failed. Cube have compressed data. Pls guide.
    Regards:
    Jitendra

    Inaddition to the above posts
    Check the below points ... and take action accordingly to increase the query performance.
    mainly check --Is the Cube data Compressed. it will increase the performance of the query..
    1)If exclusions exist, make sure they exist in the global filter area. Try to remove exclusions by subtracting out inclusions.
    2)Check code for all exit variables used in a report.
    3)Check the read mode for the query. recommended is H.
    4)If Alternative UOM solution is used, turn off query cache.
    5)Use Constant Selection instead of SUMCT and SUMGT within formulas.
    6)Check aggregation and exception aggregation on calculated key figures. Before aggregation is generally slower and should not be used unless explicitly needed.
    7)Check if large hierarchies are used and the entry hierarchy level is as deep as possible. This limits the levels of the hierarchy that must be processed.
    Use SE16 on the inclusion tables and use the List of Value feature on the column successor and predecessor to see which entry level of the hierarchy is used.
    8)Within the free characteristics, filter on the least granular objects first and make sure those come first in the order.
    9)If hierarchies are used, minimize the number of nodes to include in the query results. Including all nodes in the query results (even the ones that are not needed or blank) slows down the query processing.
    10)Check the user exits usage involved in OLAP run time?
    11)Use Constant Selection instead of SUMCT and SUMGT within formulas.
    12)
    Turn on the BW Statistics: RSA1, choose Tools -> BW statistics for InfoCubes(Choose OLAP and WHM for your relevant Cubes)
    To check the Query Performance problem
    Use ST03N -> BW System load values to recognize the problem. Use the number given in table 'Reporting - InfoCubes:Share of total time (s)' to check if one of the columns %OLAP, %DB, %Frontend shows a high number in all InfoCubes.
    You need to run ST03N in expert mode to get these values
    based on the analysis and the values taken from the above  - Check if an aggregate is suitable or setting OLAP etc.
    Edited by: prashanthk on Nov 26, 2010 9:17 AM

  • Uregent inventory aging report.

    do anyone have the code for  batch aging analysis for inventory. plz fwd it to me i need it its urgent ....

    Dear Bharath
    An Inventory Aging report is based on the stock movements of material/material group/material type within different plants and depots in a company code.
    Suppose in a scenario you have n number of plants, depots and warehouses in your organization if you are keeping the track of stock through aging report you can save cost in production once you get to know that the particular material required for a sales order is present in plant b if not in other plants in this case you only need to spend the logistics cost.
    In other different cases you can utilize the old stock which is present in any plant or depot instead of producing new stock.
    You can also save your logistics cost if you are keeping track of the material through aging report in this case once you know that which plant or location is the nearest on to ship-to-party your logistical expenses would be saved.
    Regards,
    Ashu

  • Inventory aging report for vehicle parts

    Hello Guys,
    I need to prepare an inventory aging report for Vehicle parts.
    We already have new vehice ad used vehicle's inventory aging reports created by somebody else.
    I am very new to sap-bi.
    I am very confused about designing same cz i checked with the fields ad they are a ittle different from the fields which are there in above two reports.
    I have downloaded 0ic_c03 from business content but do not know how to prepare its datasource......
    Please tell me how should i go about it.
    Thanks & Regards,
    Dolly

    Hi Dolly,
    What is your question? It's almost impossible to provide an answer without any information.
    Perhaps you should try to ask in your company for some help.
    Cheers

  • Report for Inventory Ageing

    Our client wants a report for Inventory Ageing. (we are not using batch management)
    Use tried to sell Standard report MC46 but they are not convinced with the results.
    The issue is if the material is not consumed for last 399 days but today if some movement is there in that particular material, then the material is not shown as non moving. Actually the material was not at all used for last 399 days.
    In mc.5 report there are key figures like last consumption, last good issue etc but the same problem is there with it.
    We are trying to develop a customised report.
    Please help.
    Thanks in advance.

    Hi,
    The Stock Aging Report displays the description of material that are stocked for n-number of periods at particular inventory locations( may be trading plant or manufacturing Plant). The details, which are displayed, are about the aging period for the selected items.
    There are reports and T code are
    MC.A ,
    MC.9,
    MM5B,
    MMBE,
    MB5M,
    MC50 - Dead Stock ,
    MC46 - Slow-moving items,
    If the above reports not meet your requirement, you should develop your own ABAP program to meet your specific business requirement.
    This is define in overall stock on value based, suppose a material is received in Feb-month, same material is received in Jan-2007 , DEC-2007  also.The total value of this inventory is say 90 lakhs, ( 30 lakhs of each month) so  system will show inventory aging as below
    stock aging less than 30 days, 90 lakhs
    stock aging more than 30 days but below 60 days 60 lakhs
    stock ageing more than 60 days but below 90 days 30 lakhs
    Assuming that no issue taken place if issue is taken place, it will be deducted by default FIFO method.
    You may have to develop an ABAP report.
    However, look into the path: information system > logistics > inventory managment > material and explore all like MC.9,MC.A,MC.B & MC.C
    Regards,
    Biju K

  • Inventory Aging Report

    Hi Experts,
    I have a requirement to implement Inventory Aging report . The report should show total qty of inventory on hand in buckets of
    (0-30 days), (31-60 days) and so on upto a year for given plant and material .
    I also need to show value of inventory on hand in similiar buckets .
    Is it possible to fullfill this requirement using 2LIS_03_BX extractor ?
    I am assuming the distribution in buckets would need to be done at run time .  If so how to design the buckets in the query ?
    Thanks in advance
    Arun

    You can create this report using IC_C03 not just BX extractor. You need to do the ageing with reference to the materials and then sum to get the value at plant level. 
    For this report to work, its assumed that inventory is managed in FIFO method. The formula is derived with based ONLY on the receipt value. First you need to get the receipt values with reference to the time buckets (0 - 30, 31 - 60, 61 - 90 etc). So restrict the relevent movement types for the std KF - 0RECVS_VAL. Then do the offset in the Calendar day.
    Once you have all the receipt bucket values, then you can create the ageing formula using the if else condition in the query which goes like
    Ageing 0 - 30 ->    ((Receipt value 0 - 30 <= Closing Stock value ) * Receipt Value 0 - 30)+ ((Receipt value 0 - 30 > Closing Stock value ) * Closing Stock value))
    Ageing 31 - 60 ->    ((Receipt value 31 - 60 <= Closing Stock value + Ageing 0 - 30) * Receipt Value 31 -60 )+ ((Receipt value 31 - 60 + Ageing 0 - 30 > Closing Stock value ) * Closing Stock value- Ageing 0 - 30))
    The same formula can be extended up any time bucket you require (Eg Ageing 1Yr - 3 Yr, Ageing 3Yr - 5Yr, Ageing > 5 Yr  etc). provided you make the receipt buckets properly.
    The ageing formula is calculated during the run time, so the query performance can be slightly bad. However there is no standard R/ 3 report equvalent to this. Unless you make a abap report.
    Cheers
    Deepesh

  • All Inventories Value Report&Inventory Ageing Report& Current And as on Date Stock not matching

    Hello All,
    I am new to inventory. I need some help.
    After opening the periods of purchasing and inventory for the month of April'15. The below reports should match in costing.
    But they are not matching. Kindly help on this as its PROD.
    Inventory Ageing Report
    Current And as on Date Stock Statement With Value Report
    All Inventories Value Report - Average Costing
    Thanks
    RR

    MBEWH is the valuation history, this is only updated with the first movement after a period closure. And the period is a month.
    There is no table in SAP that holds the stock information on daily basis.
    You have to develope this yourself. Easiest method by copying a table like MBEW and MARD  daily to a Z-Table.
    A stock situation  at a certain date can be calculated with MB5B.
    Edited by: Jürgen L. on Aug 5, 2008 4:06 PM

  • Inventory aging report,  plz help me its very urgent

    Hi experts,
    i have a problem in reporting, yesterday i got requirement form uesrs for Inventory Aging report,
    the report fields Contains
    1) Plant
    2) Meterial
    3) Stock as on date( closing stock) with both  fields Quantity & value fields
    4) Average Useage in 6 months  with both fields Quantity & Value
    5) Month on Hand in units
    6)Inventory Aging  30 days with Units and quantity
                               60 days with Units and quantity
                               90 days with Units and Quantity
                               120 days
                                150days
                                 180 days
                                  270 days
                                   365 + days
    we are using bw 3.5 version
    note:  we are u using standard Business Content Cube ( 0IC_C03)  with is coming fron standard Business content DataSources 2Lis_03_BX, 2Lis_03_BF, 2Lis_03_UM
    please suggest me to make this report, please send process in clearly.
    i will assign full points
    Advance thanks,
    Sudheer

    hello Sudheer,
    I remember once creating an Inventory aging document whcih had somwhat the same requirment of going back 6weeks and the other was like 18 weeks from the current week.Do you have cubes regarding the diffrent types of orders, like Planned order, Purchase order, production order and purchase requistion or a multi on top of it.If so then create  query on top of this multiprovider like Inventory aging 30days, inventory aging 60days etc.then  in that query create a variable on calweek (Single value,mandatory and customer exit), this variable should be able to get the current week (depending on when your table was loaded in R3 and if you can get that info thru rfc in BI), this is so that you can determine current week and then specify variable off set in diffrent queries with diffrent requirements of going back, ex: -4 (for 4 weeks ie 1 month) etc, or just create your variable on calmonth and then you need to set an offset just one month back ex -1.
    Create APDs and then load the data in transactional DSOs.Excecute the APD one at a time into the diffrent cubes .Create a multiprovider if you want on top of it.
    Hope this can get you started....
    Krrish

  • Vendor due date analysis and vendor aging wise analysis

    Could u please explain vendor due date analysis and vendor aging wise analysis. what is the differnce between and with t code y specify

    Hi Venkatkumar,
    Vendor due date analysis refers to the date on which the bill becomes due for payment based on the payment terms and base date. It gives a detailed report of all vendors whose bill have become due for payment on a particular date (Key Date).
    Vendor agewise analysis refers to the grouping of amounts due to vendors for various periods, for e.g. 0-30 Days, 31-60 Days, 61-90 Days & so on.
    T code for Vendor due date analysis is S_ALR_87012078 - Due Date Analysis for Open Items.
    T code for Vendor agewise analysis S_ALR_87012084 - Open Items - Vendor Due Date Forecast
    Thank You.
    Regards,
    Ameet

  • Inventory Aging Report in BW 3.5

    Hi
    We are designing inventory aging report wherein we have inventory aging periods as 0-60,61-180,181-365,>365 and Non moving.
    The formula to calculate Inventory days is
    Inv.days=((Cummulative Inv.Value)/(Avg.consumption for 6months))*30
    Depending upon the inv. days we put inv.value in that particular inv. period bucket.
    Here when we drilldown materialwise the overall result that we get is correct i.e the inventory value in all the aging periods gets distributed properly.
    But when we remove materialwise drilldown the value gets stored
    in any of 1 particular bucket and remaing remains zero.
    Pls suggest incase what we have to do to get values as it is when we do materialwise drilldown (i.e after and before materialwise drilldown the value should remain the same).
    Pls. help.
    Thanks.
    Deepak
    Edited by: Deepak Sutar on Oct 14, 2008 7:15 AM

    I'll suggest you to go through below thredas....lotz of discussions are there on this:
    Ageing Report
    Re: Inventory ageing
    Thanks...
    Shambhu

  • Inventory Aging Report in SAP BI

    Dear All,
    Please let me know the best way to calculate the inventory aging report for materials in inventory management .
    Based on the Key date we have to calculate the inventory mangement report . And the key date will be may or may not the sy-date .,
    Please let me know possible way to achive this report.
    Thanks
    Regards,
    Sai.K

    Dear Sai
    Inventory Ageing is a subject by itself. Do you have the functional logic to derive the ageing of an inventory. I mean how does the business wants to define ageing. Is your material batch managed.
    Regards
    GN

  • Aging Structure

    Hi Experts,
    I have a case with aging structure from AR. The report must show aging structure for certain 
    key date and the data to be structured by months. I am using posting date for key date to limit the balance, but my problem is that one clearing document closes more than one invoice documents and the clearing has Billing date different than the invoices. It is very big problem form me and I hope that somebody can help me. Thanks in advance.

    Hi Guys,
    It seems that the problem was decided. The key was to use posting date <= from key date for Open posting, and posting date < = from key date and clearing date > from key date for Closed postings and the sum of both is the balance.

  • Inventory Aging Data, Duplication in SAP B1 8.81

    Hello Everyone,
    I have been working on Inventory Aging Report creation and has been facing with a problem. The data seems to get duplicated when i execute the
    report. I have attached the screen shot below for your reference.
    I have taken the following tables OPDN, PDN1, OITM and OITW for my report, and below is the query.
    SELECT T0.[DocNum], T0.[DocDate], T1.[ItemCode], T1.[Dscription], T1.[WhsCode], T3.[OnHand] FROM OPDN T0  INNER JOIN PDN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITW T3 ON T2.ItemCode = T3.ItemCode WHERE T3.[OnHand]  > 0
    Please help me.. Thank You.

    Hi Nagarajan,
    Thank You for your reply..
    But I am still facing the duplication, before it was duplicating three times, now two times it is getting replicated.
    Attached the new screenshot for your reference..
    Kindly view the total stock values in report and SAP....Appreciate your help..
    Thank you.

  • Inventory Ageing report required

    Hi SAP Experts
    I want to create an inventory ageing report which is based on FIFO valuation method and will be at company level.
    It should display time intervals like 0-30, 30-60, 60-90 etc but these intervals can be dynamic means we can change these time intervals as per our convenience. I am working on SAP 2007B PL22.
    Waiting for your valuable inputs.
    Regards
    Ashish

    Hi,
    There are loads of threads talking about the same issue. You have to dig in and find the correct query yourself which suits your requirement.
    Check following threads :
    inventory aging report
    Inventory Aging
    Query for Inventory Report
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for

  • Stock Statement Report

    Hi, I am trying to get a report with the following columns: Material Opening Balance Total Receipt Total Issue Closing Balance. Using MB5B, I am able to get the data. But we have come confusion over the data. For example, we do a MIGO (Mov Type 101)

  • My Program and Source Monitor Stopped Working: Premiere Pro 2014

    Heres how it all started. I got an error which said I didn't have the correct video modules, then came the ugly face of BSOD. I restarted, tried again, same result. I did a system restore with Windows, reinstalled Windows 8.1, reinstalled all of my p

  • Transfer Requirement with Inbound delivery.

    Hi Guys, I have the following problem: The Warehouse is HU managed. When I have a Purchase Order and I do a Goods Receipt the system is creating a Material Document and in addition a Transfer Requirement. But When I have a Purchase Order and I have a

  • Use of Methods in LSMW

    Hi Experts, I am trying to upload data into one of the custome table, ZTPT_DRIVER. And a method is created with ZCL_PT_Driver to upload the data using SE24. Can you please let me know, how can i upload data via LSMW into the custome table calling a m

  • How do I save my music in the cloud like my phone? (I have iTunes Match), How do I save my music in the cloud like my phone? (I have iTunes Match)

    My iPad 2 used almost 10 GB of memory yet I have iCloud, iTunes Match and it only uses 250 MB on my cell phone (with all the same music). How do I use iCloud like my iPhone 4S  and save all music there? Thx