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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.