Forum Discussion
Cumulative sum IMPOSSIBLE?
Dear Power BI Community,
NEED YOUR HELP!
I want to create a measure for cumulative total of the EarlyOccurences data (shown below).
I have attempted to use following the DAX formula to create a measure for cumulative total. It doesn't work. What is the problem with it? and what is the right formula to use?
Thanks,
Gdexter
- Anonymous8 years ago
Hey gdexter
Similar to what jthomson said, you shouldn't have an opening parentheses before the ALL function. The filter should look like:
FILTER( ALL('Date'[Daily]), 'Date'[Daily] <= MAX('Date'[Daily]) )Hope this helps,
Parker
4 Replies
- jthomson
Solution Sage
First guess is too many brackets
- AnonymousNot applicable
- gdexterFrequent Visitor
Thanks a lot for the super fast reply! Was in fact too many brackets. I'm new to DAX, had no idea they could mess things up
- AnonymousNot applicable
A good trick to follow is that if Intellisense does not allow you to type the function you want, then you either have a syntax error or you can't use the function where you are trying to use it!