Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Overstock Bracket Value

Hi,

 

I wonder someone can help.

 

I am working on Inventory Health to acertain overstocks.

I worked out my stock weeks cover by simply looking at my balance on hand devided by average week sales. I than created a new column to ascertain the following 'overstock brackets':

- 12-16 weeks

- 16-26 weeks

- 26-56 weeks

- 56+ weeks

- No Demand

 

I now need to ascertain what porpotion of balance on hand quantity is associated to each of the above bracket.

I am mindful that one bracket can overlap other bracket; meaning I can have portion of balance on hand in bracket 16-26 weeks and 26-56 weeks.

 

Can anyone help how to work this out in PowerBI?

 

Thank you.

Tomas

5 Replies

  • Anonymous 
    I believe that you can use the groupby function to achieve this. If you could provide dummy or sample data to workout the solution it will be very useful

  • Anonymous's avatar
    Anonymous
    Not applicable

    Fowmy 

    thanks for your feedback.

     

    Please see below sample data for all overstock scenarios.

    It's worth noting that 'no demand' bracket is generated if ProductID have no sales.

     

    ProductIDPrice/Unit (£)Balance on HandAvg Wk Sale (Units)Avg Wk Sale (£)Wks CoverOverstock Bracket
    126.7122571781194.3812.712-16
    335.6439219107.1620.616-26
    6720.8989120.898956+
    11627.221557141238434.641.1 
    13392.4341001000000No Demand
    1890.39451817166.6926.426-56
    • Fowmy's avatar
      Fowmy
      Super User

      Anonymous 

      Please include the expected results as well as column

      • Anonymous's avatar
        Anonymous
        Not applicable

        Fowmy  

         

        Please see below results. - it's driven by basic if statement to identify stock on hand that is associated to each overtock criteria.

         

        ProductIDPrice/Unit (£)Balance on HandAvg Wk Sale (Units)Avg Wk Sale (£)Wks CoverOverstock Bracket12-1616-2626+5656+No Demand
        126.7122571781194.3812.712-161210000
        335.6439219107.1620.616-261640000
        6720.8989120.898956+142649330
        11627.221557141238434.641.1 00000
        13392.4341001000000No Demand000041
        1890.39451817166.6926.426-56239472000