Forum Discussion
Getting the latest Total value
- 6 years ago
Hi Anonymous ,
See below,
Let me know if you have any questions. I used a test in there so we didn't get zero.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
NathanielLatest time Total = var LateTime = CALCULATE(Max('Table'[Time]),'Table'[Completed]>0) var LatestValue = CALCULATE(MAX('Table'[Total]),'Table'[Time]=LateTime) return LatestValue
Hi Anonymous ,
See below,
Let me know if you have any questions. I used a test in there so we didn't get zero.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Latest time Total =
var LateTime = CALCULATE(Max('Table'[Time]),'Table'[Completed]>0)
var LatestValue = CALCULATE(MAX('Table'[Total]),'Table'[Time]=LateTime)
return LatestValue
- Anonymous6 years agoNot applicable
Thankyou Nathaniel_C
I changed the 'Table'[Completed] to 'Table[Total]
and i was able to achieve the total line when the last updated time was 9am
Nathaniel_C wrote:Hi Anonymous ,
See below,
Let me know if you have any questions. I used a test in there so we didn't get zero.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
NathanielLatest time Total = var LateTime = CALCULATE(Max('Table'[Time]),'Table'[Completed]>0) var LatestValue = CALCULATE(MAX('Table'[Total]),'Table'[Time]=LateTime) return LatestValue