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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a simple time series that shows closing stock value by date, I would like to return the value for the latest date. In the following sample, the lastest date is 12/12/18 with a value of 271
Date Value 12/12/18 271 12/11/18 261 12/10/18 260 12/07/18 264 12/06/18 274 12/05/18 264 12/04/18 275 12/03/18 266
Thanks!
Jim B
Solved! Go to Solution.
try:
Last Date = CALCULATE ( SUM ( Table1[Value] ), LASTNONBLANK ( Table1[Date], SUM ( Table1[Value] ) ) )
Thanks! Worked like a charm the first time.
try:
Last Date = CALCULATE ( SUM ( Table1[Value] ), LASTNONBLANK ( Table1[Date], SUM ( Table1[Value] ) ) )
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.