Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Inventory at risk of expiring



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? 



Community Support
Community Support

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,


Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.


I need to find qty of stock due to expire.


-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.

Super User I
Super User I


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

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!


The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.


Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.