Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Solved! Go to Solution.
Hi @SandraGDS
Please use this measure:
Timestamp =
VAR CurrentCase = 'Export Worksheet'[TRAY_NO]
VAR CurrentIndex = 'Export Worksheet'[STTN_NO_R]
VAR PreviousIndex =
CALCULATE (
MAX ( 'Export Worksheet'[STTN_NO_R] ),
REMOVEFILTERS ( 'Export Worksheet' ),
'Export Worksheet'[TRAY_NO] = CurrentCase,
'Export Worksheet'[STTN_NO_R] < CurrentIndex
)
RETURN
CALCULATE (
SELECTEDVALUE ( 'Export Worksheet'[AMD_DATE] ),
REMOVEFILTERS ( 'Export Worksheet' ),
'Export Worksheet'[TRAY_NO] = CurrentCase,
'Export Worksheet'[STTN_NO_R] = PreviousIndex
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @SandraGDS
Please use this measure:
Timestamp =
VAR CurrentCase = 'Export Worksheet'[TRAY_NO]
VAR CurrentIndex = 'Export Worksheet'[STTN_NO_R]
VAR PreviousIndex =
CALCULATE (
MAX ( 'Export Worksheet'[STTN_NO_R] ),
REMOVEFILTERS ( 'Export Worksheet' ),
'Export Worksheet'[TRAY_NO] = CurrentCase,
'Export Worksheet'[STTN_NO_R] < CurrentIndex
)
RETURN
CALCULATE (
SELECTEDVALUE ( 'Export Worksheet'[AMD_DATE] ),
REMOVEFILTERS ( 'Export Worksheet' ),
'Export Worksheet'[TRAY_NO] = CurrentCase,
'Export Worksheet'[STTN_NO_R] = PreviousIndex
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.