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
jay_patel
Helper IV
Helper IV

Not getting Cumulative value step by step for Diff Countries.

Hey Guys,

 

In my Power BI Report I want a cumulative value for every country, and from the next country it should starts based on the value for next country,  the attachments and the dax are mentioned below, Please reply for the same if anyone got the issue or dax as soon as possible. One more thing is that if i use the "Index" column instead of using "ActualMonth" I got proper values, but the problem is that when i load the countries around (45-50) it gives low memory space error,So i just want to get the exact Cumulative based on actualmonth in dax. 

 

 

Thanks in advance guys.This is my cumulative formula , which gives only single value in every row i.e, "100"This is my cumulative formula , which gives only single value in every row i.e, "100"Actualmonths for one countryActualmonths for one country

6 REPLIES 6
PhilipTreacy
Super User
Super User

@jay_patel 

In case you are interested in a solution using Power Query rather than DAX.  It's super fast

https://www.myonlinetraininghub.com/grouped-running-totals-in-power-query

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


I cant work on power query , because my major columns are calculated So i cant move them to power query editor.

amitchandak
Super User
Super User

@jay_patel ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

here I have selected a single countrycode, and as you can see the cumulative for  increase & decrease also addding values of other countries.here I have selected a single countrycode, and as you can see the cumulative for increase & decrease also addding values of other countries.

Icey
Community Support
Community Support

Hi @jay_patel ,

 

It is needed to create a measure. Please share me some sample data and your desired result for test.

 

Reference: How to provide sample data in the Power BI Forum - Microsoft Power BI Community

 

 

Best Regards,

Icey

How can i share sample data, I mean can i upload any csv file or xls?

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.

Top Solution Authors
Top Kudoed Authors