Is there a Data Field that will tell me my 5k time by the latest 5k distance ran?

I am wondering if there is a Data Field, of which I can see my 5k time by distance ran, but not a race prediction by current pace?

For example, if I already ran for 7km, still running, and the data field would tell me my 5k time for the last 5k distance that I just ran. Instead of the total time for the whole 7km, nor a 5k race predictor that would tell me if I keep this pace I would finish my 5k in mm:ss time.
  • Hey, I'm unaware of any Connect IQ data field app that is purpose-built for that, but I have a CIQ data field that lets you type in the math formula of your choice, and it'll do pretty much what you want.

    The data field is called AppBuilder 5: https://apps.garmin.com/en-US/apps/f...e-3b7f39aa67c5

    Use the following app settings:
    Formula: if(distance_raw lt 5000, timer, timer - prevd(timer, 5000, 5000))
    Display Format: Time

    This will show you:
    - Up to and including the first 5k, your activity time (mm:ss)
    - Afterwards, your time for the last 5k

    If you want it to display nothing ("--") for the first 5k, change the formula to:
    timer - prevd(timer, 5000, 5000)

    I haven't had a chance to test this exact usage, so let me know if it works for you. (Assuming you're interested in doing it this way). Thanks!

    Note that currently this will only work if you don't pause the timer during the 5k in question. If you need it to work in this scenario, let me know because I'll have to make a couple of changes.

    Explanation:
    if(x, y, z):
    If x is true, returns y, otherwise returns z
    distance_raw: Activity distance in metres
    lt: Less than
    timer: Activity time in seconds
    prevd(x, d, n): The previous value of x, from d metres ago, with n samples. The number of samples controls how accurate prevd is. In this case, the accuracy is within 1 metre (5000/5000)

    For anyone else reading this, especially if you have a different watch:
    - Fenix 5X/5+ users can use this formula unchanged
    - For 645 Music, you need to change the second 5000 (number of samples) to 2000 or less, because of limited device memory. This means it will only be accurate to within 2.5 metres (5000/2000)
    - For other watches (e.g. 935, 645, VA3, Fenix 5, etc.), the number of samples will always be 10, because of very limited device memory. So this function will only be accurate to 500 metres (5000/10), which probably means it wouldn't be very useful for you.
  • Thank you so much. I will give that a try.
  • No worries!

    BTW, I went ahead and made a change which lets this to work even if you pause the timer. You need to add "1" as the 4th parameter to prevd(), which tells it not to reset its data when you pause the activity. If you already downloaded AppBuilder 5, please update it.

    if(distance_raw lt 5000, timer, timer - prevd(timer, 5000, 5000, 1))
    or
    timer - prevd(timer, 5000, 5000, 1)