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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
LomXof
Regular Visitor

there is any method that can we use to calculate a cumulative sum without referring any dimension

Hi everyone , I just want to calculate a cumulative sum that can work with any filter not only the Time one, I know already the pattern used by Marco Russo, but this one works only when we filter on Date Dimension, has anyone an idea to do this ?

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @LomXof,

 

If your tables already contains relationships, you can direct use related columns in current table to apply filter effect.(allselected, values other functions as filter parameter) Otherwise you had to refer other tables.

 

BTW, share some sample data will help for clarify your scenario and code formula.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Greg_Deckler
Super User
Super User

Can you post sample data? Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

But, in general you can use something like SUMX(FILTER(ALLSELECTED() or ALLEXCEPT),<filter>),[column])


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors