Show timestamp of first activity and last activity

I have the following fields, among others, in my index,


createdOn
activityType
userName

Is it possible to display the following in Grafana table?

username|first_activity|first_activity_timestamp|last activity|last_activity_timestamp

TIA