Remaining distance for datafield during activity

Hi,

I would like to get remaining distance (km) during a running activity where workout set and display with value in a datfield. So lets say I create a 5km workout, and when it is active, I would like to retrieve the remaining distance and show in a datafield. 

May I ask if this possible now? (it wasnt 2 years ago)

Many thanks for your time and help!