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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
vigneshkumarkr
Regular Visitor

closing stock calculation

i need to calculate the closing stock by adding the previous month clsoing stock, current month receipt, production and subracting the demand.

vigneshkumarkr_0-1656438481579.png

 

1 ACCEPTED SOLUTION

See if this works for you

result.png

 

 

I've attached the sample PBIX file





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

6 REPLIES 6
PaulDBrown
Community Champion
Community Champion

Please share actual data (not an image).. Thanks!





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






See if this works for you

result.png

 

 

I've attached the sample PBIX file





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Closing stock is already there in the data sheet.  What more do you want.  Elaborate.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I have calculated the closing stock using you method from your one of the previous post, but while applying the same in the matrix table closing stock is wrong, it didnt add the previous month closing stock...

 

pls check the excel data

https://1drv.ms/x/s!AsL9U5y3wlvev08WgqIqlp0oKuNi?e=K51gSx

 

pbix file: https://1drv.ms/u/s!AsL9U5y3wlvev05GIyc65oEnvU6z?e=cOBnUB

I believe Paul has already answered your question.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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