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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.