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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
KB88
Frequent Visitor

Slow Moving Inventory

Hello,

I am currently trying to create an inventory dashboard for my company. The Data within my inventory query includes Division, Date, Material, Inv Price, Inv Quantity, Material class. I have 1000+ skus and every sku is updated on Fridays. So if Sku 101 has 100kg on 1/5/2024 and 100kg on 1/13/2024 this will be shown. I am trying to figure out how to show slow moving inventory based off this information. I do not have COGS in this query.

Thanks in advance for any help!

 

Edit: Slow mover is anything that has not been used in 6 weeks

1 ACCEPTED SOLUTION
AmiraBedh
Super User
Super User

If you need to determine if the inventory of each SKU has changed over the last six weeks you can do this 

by creating measures and columns that calculate the difference in inventory quantity over time.

 

You didn't provide enough information so I am assuming the following :

 

    - Current Inventory Quantity: A measure to get the latest inventory quantity for each SKU.

    - Inventory 6 Weeks Ago: A measure to get the inventory quantity from six weeks ago for each SKU.

    - Inventory Change: A calculated column to determine the change in inventory quantity over the past six weeks.

 

Latest Inventory Quantity = 

      CALCULATE(

          SUM(Inventory[Inv Quantity]),

          LASTDATE(Inventory[Date])

      )



    

      Inventory 6 Weeks Ago = 

      CALCULATE(

          SUM(Inventory[Inv Quantity]),

          DATEADD(Inventory[Date], -6, WEEK)

      )

      

      Inventory Change = [Latest Inventory Quantity] - [Inventory 6 Weeks Ago]

 

Then create another calculated column to flag slow-moving inventory :

Slow Mover = 
      IF(
          [Inventory Change] = 0,
          "Slow Moving",
          "Active"
      )

 

     


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

View solution in original post

1 REPLY 1
AmiraBedh
Super User
Super User

If you need to determine if the inventory of each SKU has changed over the last six weeks you can do this 

by creating measures and columns that calculate the difference in inventory quantity over time.

 

You didn't provide enough information so I am assuming the following :

 

    - Current Inventory Quantity: A measure to get the latest inventory quantity for each SKU.

    - Inventory 6 Weeks Ago: A measure to get the inventory quantity from six weeks ago for each SKU.

    - Inventory Change: A calculated column to determine the change in inventory quantity over the past six weeks.

 

Latest Inventory Quantity = 

      CALCULATE(

          SUM(Inventory[Inv Quantity]),

          LASTDATE(Inventory[Date])

      )



    

      Inventory 6 Weeks Ago = 

      CALCULATE(

          SUM(Inventory[Inv Quantity]),

          DATEADD(Inventory[Date], -6, WEEK)

      )

      

      Inventory Change = [Latest Inventory Quantity] - [Inventory 6 Weeks Ago]

 

Then create another calculated column to flag slow-moving inventory :

Slow Mover = 
      IF(
          [Inventory Change] = 0,
          "Slow Moving",
          "Active"
      )

 

     


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.