Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DennisV
Frequent Visitor

Forecasting supply and demand

Hello,

 

I'm pretty new to Power BI and i'm trying to create a forecasting tool, that calculates when i have shortages of items. 
I'm using 2 different files for this:

 

1. What's in my warehouse

 

NAMEVERSIONAVAILABLEAMOUNTWEEK OF DELIVERYDELIVERY AMOUNT
AER1Warehouse25  
STR1Warehouse60  
KLB1Warehouse55  
OPE1Warehouse10  
LZE1Warehouse40  
STR2Warehouse5  
KLB2Supplier010/2019100
OPE2Supplier06/2019100
AER2Supplier025/2019100


2. What's the forecast

NAMEVERSIONPERIODFORECAST
AER1125
STR21100
KLB1228
OPE2565
LZE1580
AER1323
STR12120
KLB2356
OPE2410
LZE2425
AER1236
STR1585
KLB1646
OPE11131
LZE2121

 

 Now I'm trying to see in a table when there will be issues with supply and demand that looks a little like this:

 

As you can see i will have an issue with product AER in period 3 but i get a delivery in week 25 (period 6) and then there will be enough stock again. 

Product STR will be out of stock in period 5 so i will have to account for that and order some more by then.

I haven't found a solution about how to do this yet, if anyone could help that would be very much appreciated.

(sorry for the english mistakes, it's not my main language)

 

Thanks Dennis

 NAME

123456789101112 <- PERIOD
AER00-23-59-5941414141414141  
STR65553535-50-50-50-50-50-50-50-50  
KLB5527127717125252525252525  
OPE101101101104545454545451414  
LZE19191919-61-61-61-61-61-61-61-61 

 

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @DennisV,

 

I'm still a little confused about your scenario. 

 

Is the first two table your data sample, and the last one is your desired output?

 

If it is, could you explain your logic in more details.


As you can see i will have an issue with product AER in period 3 but i get a delivery in week 25 (period 6) and then there will be enough stock again. 

Product STR will be out of stock in period 5 so i will have to account for that and order some more by then.

If not, please share your data sample and your desired output so that we could help further on it.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-piga-msft

 

Indeed the last table is the desired output. 

I will again take AER as example:

 

- The first table is the actual stock

AER1Warehouse25
AER2Supplier025/2019100

So I have 25 pieces in stock and ther will be 100 pieces delivered in week 25 (Period 6)

 

- The second table is te forecast by period

NAMEVERSIONPERIODFORECAST
AER1125
AER1323

 

AER1436

 

- The last table is the desired output

 

NAME

123456789101112 <- PERIOD
AER00-23-59-5941414141414141  

 

I have enough stock for period 1 and 2 (the 25 pieces in the warehouse) but I will not have enough in period 3. According to the forecast i will need another 23 pieces in period 3 but I have none left, in period 4 I will need another 36 pieces so the stock will be at -59. In period 6 i get 100 pieces delivered so then it will be back at +41.

 

Conclusion: I will need to order some more parts by period 3 or I will not be able to supply to my customers.

 

I hope this makes more sense now, if not don't hesitate to contact me.

 

Dennis

No one with a solution for this problem?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.