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
matteomatilde
Frequent Visitor

How to calculate stock rotation index through movements?

Hi, I'm new to the forum and I'm Italian so sorry for the bad English.

However, I want to calculate the stock rotation index for the items of my warehouse.

 

The available tables are:

 

  • FACT_STOCK: the current stock for the items in each warehouse is periodically measured and registered here
STK_IDSTK_ITM_IDSTK_WHS_IDSTK_QTYSTK_DATE
1I0001WH1401 Jan 18
2I0001WH1402 March 18
3I0001WH1375 June 18
4I0002WH2302 March 18

The table does not contain the stock quantity of each item. Some of them are missing.

 

  • FACT_MOV: contains all the movements (sales, transfers, returns) and the correspondent quantity and date
STK_IDMOV_CAUMOV_ITM_IDMOV_WHS_IDMOV_QTYMOV_DATE
A1SaleI0001WH11212 Dec 17
A2SaleI0001WH12420 Dec 17
A3SaleI0001WH1310 April 18
A4ReturnI0001WH1108 Jul 18

 

The update of the stock is not immediate: for example, on 2nd March 2018 the stock level of I0001 was of 40 pieces; in the next month (10th April 2018) 3 pieces were sold and in the next month (5th June 2018) the stock level was updated.

 

  • MASTER_ITEM: each item belongs to a group of product and each group belongs to a specific category 

ITM_ID

ITM_GROUPITM_CATEGORY
I0001WineBlue
I0002MilkBlue
I0003BeerRed

 

How can I calculate the stock rotation index as total quantity sold divided by average stock? 

2 REPLIES 2
lbendlin
Super User
Super User

total quantity sold by what? by month?

Yes, by month 

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