Forum Discussion
kramaswamy
5 years agoFrequent Visitor
M Function - Advanced Running Total logic
Hello, Let me preface this by saying I'm a complete newb as far as M is concerned. I am a fairly experienced developer generally speaking, though. Any assistance would be greatly appreciated. ...
mahoneypat
Microsoft Employee
5 years agoIt is possible to do this in M/query, but it is done much more easily as a DAX measure. That way, you are not storing an extra column of data too. It is good that you have learned enough M to do the above, but DAX is the way to go for these kind of calculations.
Cumulative total – DAX Patterns
Pat