Forum Discussion

heiligbd's avatar
heiligbd
Icon for Helper I rankHelper I
3 years ago
Solved

Material Requirements Planning Bucket By Date/Week

Good day,

 

I am working on material requirements planning for a complex capital intensive product with significant variability in requested finished good product. I have a table of sales orders by the finished good part #, requested date and qty. I have a connection table with the finished good part # and the internal top level part #. Finally I have a multiple level Bill of Materials Required table with the internal top level part # and the required raw materials per FG part #. Examples below. I would like to create a table or matrix (see below first table example of request) in which I segment out the required raw materials by week for each of the raw materials so that I can correctly material plan. Our manufacturing process/system is limited to just several days and I want to forecast out for several months of on hand orders by weekly buckets to correctly order raw materials for manufacturing. I also have a full dates table as well to tag the week for the weekly bucketing. Not sure if I need to do this via DAX or calculated columns in a particular table either. Thanks in advance for your help as any help is much appreciated! Detail example tables below. 

 

REQUESTED SOLUTION TABLE/MATRIX:

Child Part# Week 1Week 2Week 3 
A1231143
A4561143
B12352 
B45652 
C12335 
C45635 
C78935 

 

SALES ORDER TABLE EXAMPLE

Sales Order #Line #FG Material #Request DateRequest Qty
115522122228/1/20231
115522244448/1/20233
115522333338/1/20235
116633144448/8/20237
116633222228/8/20238
117744122228/15/20233
118855144448/24/20234
119966122228/8/20236
119966233338/8/20235

 

CONNECTION HEADER TABLE

FG Material #Top Internal Parent Material #
2222AAAA
3333BBBB
4444CCCC

 

BOM REQUIREMENTS TABLE

Top Internal Material Parent #Child Part #Child Qty Required
AAAAA1231
AAAAA4561
BBBBB1231
BBBBB4561
CCCCC1231
CCCCC4561
CCCCC7891
  • Hi,

    Please download the PBI file.  In the Calendar Table, write a calculated column formula to calculate week number and drag that week number column to the visual.

    Hope this helps.

6 Replies

  • Hi,

    For B123 and B456, shouldn't the answer be 5 for week 2?  If my understanding is correct, then share a Calendar table with a week number column.

    • heiligbd's avatar
      heiligbd
      Icon for Helper I rankHelper I

      Yes, apologies,  I may have made a mistake in hast of trying to get this posted. However, I would like to have this in table format instead of matrix because of other things that need to added/addressed. Therefore, I am assuming that I am going to need a variable written of some sort for this MRP like function. Any help with that would be much appreciated!

       

      Thanks, Bryant 

  • Apologies, misunderstood. See below Date Table example. 

     

    DateWeek #
    8/1/231
    8/8/232
    8/16/233
    8/24/234
  • Hi,

    Please download the PBI file.  In the Calendar Table, write a calculated column formula to calculate week number and drag that week number column to the visual.

    Hope this helps.

  • Thanks so much! I will have a look and get back to you! Cheers, Bryant