Forum Discussion
JB
3 years agoHelper II
Calculated column repeats value until it is updated
Hi, I'd like a calculated column that repeats the last given value until it is updated. See below for an example. Many thanks for your help.
- 3 years ago
Greg_Deckler
Fixed it, just needed to change MINX to MAXX.Thanks.
Greg_Deckler
3 years agoCommunity Champion
JB Try:
Last updated tons column =
VAR __Date = [Week Ending Date]
VAR __LastDate = MINX( FILTER( 'Table', [Tons] <> BLANK() && [Week Ending Date] <= __Date ), [Week Ending Date] )
VAR __LastTons = MINX( FILTER( 'Table' [Week Ending Date] = __LastDate ), [Tons] )
RETURN
__LastTonsJB
3 years agoHelper II
Hi Greg, thanks for your reply.
Unfortunately it is repeating the first value found rather than updating them weekly, see below