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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Sdhn420
Helper IV
Helper IV

Inventory at risk of expiring

Hi, 

 

I need to provide inventory which is at risk of expiring every month from July- Dec.

 

I have the average sales from the last 3 months and inventory expiry dates per product and batch. 

 

How can I go about achieving inventory which is at risk of expiring? 

 

 

4 REPLIES 4
Anonymous
Not applicable

Hi @Sdhn420 ,

 

What's your expected result, to add a flag to mark the inventory which is at risk?

Please show some sample data and expected result to us.

 

Best Regards,

Jay

@Anonymous  

I need to find qty of stock due to expire. 

 

https://drive.google.com/file/d/1toYuwNTYtF1rJza6dgzSq54daZHskraf/view?usp=sharing

 

-Each product has different batch. Each batch has different products.

 

- if the average sales for the last 3 months of that product is more than the qty then check if that product is available in other batches and is not expired. If yes, then take qty from that batch.

 

-if we are taking qty from other batch, then display the updated qty

 

-if there is qty left which will not be sold and cant be used - that is what needs to flagged.

VijayP
Super User
Super User

@Sdhn420 

https://community.powerbi.com/t5/Desktop/Inventory-calculation-Based-on-expiry-date/m-p/769510

I hope this thread may help you! Let me know if it resolves your issue!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Thanks! But doesn't solve my issue. 

I need it to be monthly from Jul-Dec and batch wise for each product.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.