Hi there,
Im looking for help to write the correct measure to pick the price based on the latest date and time.
A simplified version of my data set looks like this :
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Price[/TD]
[TD]Time[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]15,2[/TD]
[TD]21.05.2019 10:00[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]15,9[/TD]
[TD]21.05.2019 10:10[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]15,5[/TD]
[TD]21.05.2019 10:20[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]14,7[/TD]
[TD]20.05.2019 19:00[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]14,9[/TD]
[TD]20.05.2019 19:30[/TD]
[/TR]
</tbody>[/TABLE]
Im looking for the outcome where i write a measure, and it picks the latest observation, and in this case display the price 15,50 from the newest observation made 21.05.2019 at 10:20
Im looking for help to write the correct measure to pick the price based on the latest date and time.
A simplified version of my data set looks like this :
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Price[/TD]
[TD]Time[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]15,2[/TD]
[TD]21.05.2019 10:00[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]15,9[/TD]
[TD]21.05.2019 10:10[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]15,5[/TD]
[TD]21.05.2019 10:20[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]14,7[/TD]
[TD]20.05.2019 19:00[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]14,9[/TD]
[TD]20.05.2019 19:30[/TD]
[/TR]
</tbody>[/TABLE]
Im looking for the outcome where i write a measure, and it picks the latest observation, and in this case display the price 15,50 from the newest observation made 21.05.2019 at 10:20