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

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
V-pazhen-msft
Community Support
Community Support

@tomasv  

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

tomasv
Frequent Visitor

@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

@tomasv 

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

tomasv
Frequent Visitor

@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

@tomasv 
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
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
Top Kudoed Authors