Forum Discussion
pivoter
10 years agoNew Member
help: resetting a cumulative sum?
I am trying to create a measure that is much like a cumulative sum with a reset trigger that is meaured within the dataset. I have a status code that is tied to a datetime field. For example, sta...
Greg_Deckler
Community Champion
10 years agoHmm, I can get you around that problem with something like this:
BadCount = COUNTX(FILTER(goodbadugly,goodbadugly[Date]>goodbadugly[GoodStartDate]),goodbadugly[Date])
But, the problem that I am having is that it returns the COUNT of all "bad" rows so trying to figure that out. This even though my "GoodStartDate" measure is working and returning the correct date. Some kind of context issue.