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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
PBI_1107
Frequent Visitor

Calculation for Cumulative Schedules and Inventory

Hello Everyone,
I am stuck with a calculation where
There is Current Inventory (2G3GCurrentInv), followed by months and the Schedules that are there for the specific ID's.

PBI_1107_1-1698762279611.png

 

I want a Running total which adds the 2G3GCurrentInv along with the months Schedules and give me values something like this :

PBI_1107_2-1698762349113.png

This table is showing the result like each months Schedules added with the 2G3GCurrentInv, for the next month the currrent value plus the Next months Schedules so and so forth.

Note : There are some ID which have no Schedules for certain Months I also want to be able to return no value for those months.
Any suggestions will be great.

Thank you all for your time and consideration.

 

Best,
PBI_1107

 



1 REPLY 1
PBI_1107
Frequent Visitor

I used this DAX Query :

PBI_1107_3-1698847837837.png

 

and got this Result :

PBI_1107_2-1698847659157.png

It is adding up the Schedules from the 2g3GCurrentInv, it does not have like a running total. 
It should be like Oct 23 Inv = Sep 23 Inv + Oct Schedules, Nov 23 Inv = Oct Inv + Nov Schedules, Dec 23 Inv = Nov 23 Inv + Schedules, Jan 24 Inv = Dec 23 Inv + Jan Schedules.... and so on and so forth.
Please let me know, 

Thanks,
PBI_1107


Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors