Select distance column -> Column settings -> Format this column -> Advanced mode -> Add following codes.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "=[$TempInfo]"
}
You should use [$ColumnName] to reference another column, the ColumnName need to be the internal name instead of the display name. To check the internal name of the column, you could check it in the URL.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.