Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.
Solved! Go to Solution.
@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
__LastTons
Hi Greg, thanks for your reply.
Unfortunately it is repeating the first value found rather than updating them weekly, see below
@JB Whoops! Glad you got it figured out!
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
15 | |
7 | |
5 |