Forum Discussion
Pikachu-Power
Impactful Individual
5 years agoget value for last date
hello all, For the measure = CALCULATE(SUM(Table[Value]), Table[Name] = "Amount") i get following results: How can I get the value for the latest existing Calcdate? (in example just ...
Tahreem24
Super User
5 years agoTry this below DAx:
CALCULATE(Sum(Table[Value]),FILTER(Table,CalcDate = MAX(CalcDate)))
- Pikachu-Power5 years ago
Impactful Individual
Thats what I tried first 🙂 I get BLANK then because beside Name = Amount I have other Name`s with CalcDate 19.01.2021. So in your formula MAX(CalcDate) = 19.01.2021 and there no values exist for Name = Amount.
May possibe to Filter only Table[Name] for MAX?