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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DAX

I would like to create a cummutlative sum formulas in PowerBI

 

Here is the sample file : https://github.com/jangam4u/PowerBI-sample

 

kindly help me the DAX formulas of below measures.

 

Est Days of Cases
Est Months of inventory
1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 
Sorry for late reply, had busy days.

excel to dax.JPG

 

Workfile is here: https://qiuyunus-my.sharepoint.com/:u:/g/personal/paul_qiuyunus_onmicrosoft_com/Eb-xKbgP5PlBuTLFMSeyzqMB8gLQg6A324x7gC5uxRw7Sw?e=f62Dmv

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

7 REPLIES 7
Greg_Deckler
Community Champion
Community Champion

Use the Running total quick measure. Right click a table, New quick measure


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Running total is fine. But there are a few other measures to be calucated. Would need your help.

Anonymous
Not applicable

@Anonymous 

I see plenty of numbers in the excel. Can you clarify what are the existing columns, and what are the expecting measures with logic. You cannot just say I have this, and I want that.


Read this post to describe your sample:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

Anonymous
Not applicable

I was looking two formuals.

Est Days of Cases - This is calcuating based on cases in and out values. Calucating average of the first and second month cases out multiply by est days of inv
Est Months of inventory  - this is calculating based on cases out ( average of fist and next month average)

Anonymous
Not applicable

Here is the snapshot of the sample data.

Sample.JPG

 

 

 

Anonymous
Not applicable

@Anonymous 
Sorry for late reply, had busy days.

excel to dax.JPG

 

Workfile is here: https://qiuyunus-my.sharepoint.com/:u:/g/personal/paul_qiuyunus_onmicrosoft_com/Eb-xKbgP5PlBuTLFMSeyzqMB8gLQg6A324x7gC5uxRw7Sw?e=f62Dmv

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Anonymous
Not applicable

Can some one assist me on this DAX. This is very urgent and need to close ASAP.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.