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 ?
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])
Proud to be a Datanaut!
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.