Forum Discussion

cmcgo3's avatar
cmcgo3
Helper II
2 years ago
Solved

Need Cumulative Measure

I am trying to create a new measure that will calculate a cumulative total in either a table or matrix as well as give correct total in a card.  In the attached pbix file the cumulative total for thi...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Give this a try:

    Cumulative = var endDate = MAX('Table1'[Day of Week ])
    RETURN
    CALCULATE(
    	[Verification counter],
    	ALL('Table1'[Day of Week ]),
    	'Table1'[Day of Week ] <= endDate
    )
  • cmcgo3's avatar
    cmcgo3
    2 years ago

    THANK YOU BOTH!  This works perfectly!!!  What a great resource this platform is!!