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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

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 5
Anonymous
Not applicable

@Anonymous  

Please show your logic with reasonable sample data to get the expected "121","164", etc. 

 

Read this post to describe your sample:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

 

Paul Zheng _ Community Support Team

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

@Anonymous 

Please include the expected results as well as column

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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
Fowmy
Super User
Super User

@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

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors