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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello guys,
I need help..
How can i used the last row of each group to use a min date for the next row?
Thank you
@Anonymous,
Try this measure:
Prev Date =
VAR vProdDate =
MAX ( Plants[Prod Date] )
VAR vPrevDates =
FILTER ( ALL ( Plants ), Plants[Prod Date] < vProdDate )
VAR vMaxPrevDate =
MAXX ( vPrevDates, Plants[Prod Date] )
RETURN
vMaxPrevDate
Proud to be a Super User!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.