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
SebSchoon1
Post Patron
Post Patron

Equlibrate quantites between shops

Hi guys,

 

i have a quesion concerning quantities to equilibrate between shops with criterias.

 

I have a table with quantity of each product in each shop like this

 

ProductquantitiesWarehouseSizeType
A1XXLT Shirt
A2XMT Shirt
A1YXLT Shirt
A2ZXLT Shirt

And a table with simple stats concerning sales.

 

warehousetypeSize% of sales 
XT ShirtXL45%
YT ShirtXL25%
XT ShirtM100%
ZT shirtXL18%
WT ShirtXL12%

I would liek to equilibrate quantities according to stats

 

==> where new warehouses are maybe containing goods for the first time.

==> where stok levels must be 1 at least if possible according to stats.

==> Not have twice quantities of same size in warehouse.

 

What i did is first group by product to know the total quantities on each product, watever size

Divide quantity by number of warehouse.

If number is integer then set quantity to 1 everywhere

ex with non integer repartition (product A ==>  4/3 = 1,33333

So set 1 everywhere ok i have my min stock in each shop)

 

then substract min  (1 ) to total of items ==> 4-3 = 1 

 

if (like this example)  6/3 = 2 Then Set 1 also

6-5 = 1 

 

Create a rank according to Sales. 

 

Then if the quantity is < or equal to rank then set value to 1

 

Like this everything is distibuted with min stock and according to stats

 

(i resume in mode easy since then i divide result by stats values  5 / %Sales of size in shop X    by example) and do some other operations but here is to facilitate understanding.

 

However if I continue and says, according to my results. (without warehouse W since this item is not authorized there anymore but this has been take into account at previous step)

 

productquantity required in warehousewarehouse 
A3X 
A2Y 
A1Z 

 

i must then know which size i send where.

 

For this i follow my table ( which have a bit more informations in real, but i need the logic behind) and check stats.

 

I must send 3 quantities of Product A to Warehouse X  However i don't want the same sizes to be shipped at the same place.

How could i do this?

since Item A needs to be shipped in three different sizes size in warehouse X for a total of 3 

                     A needs to be shipped in two different sizes in Warehouse Y for a total of 2

                       A needs to be shipped in one quantity in wareHouse Z for a total of 1 item.

 

These sizes must follow Statistics but first been represented at most places as possible.

 

Isn't it feasible using List.Accumulate? 

 

I do not really understand that function and any help would be appreciated even using another method 🙂

 

Thanks guys !!

 

 

 

 

 

1 ACCEPTED SOLUTION

Hello, in fact as you said 

I would like to have a report concerning the goods to be moved from one location to the other according to some criteria.

 

If I'm not wrong there are biod in function concerning forecasting.

 

Is power bi a forecasting tool?

 

Nope, but it can do it anyway.

 

I'll redo my question in another way.

 

Like this it'll be not considered as you said. As an inventory management..

 

 

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Power BI is a reporting tool. It is not an inventory management tool.

Hello, in fact as you said 

I would like to have a report concerning the goods to be moved from one location to the other according to some criteria.

 

If I'm not wrong there are biod in function concerning forecasting.

 

Is power bi a forecasting tool?

 

Nope, but it can do it anyway.

 

I'll redo my question in another way.

 

Like this it'll be not considered as you said. As an inventory management..

 

 

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.

Top Solution Authors
Top Kudoed Authors