Forum Discussion

Clint's avatar
Clint
Helper V
6 years ago
Solved

Problem finding just the latest value in a column

I've got a dataset that looks like the below table and I'm trying to write a measure that will return the last ABD value based. I've tried using this dax:
Remaining Scope =
CALCULATE(
SUMX('Burndowns2',[ABD]),FILTER('Burndowns2',LASTNONBLANK('Burndowns2'[ABD],MAXX('Burndowns2',[Week])
))
)
 
But this just gives me the sum of all ABD instead of "116" which is the latest value. any insight is appreciated.

4 Replies