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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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