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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.