I use an acrade script to create a popup that calcs two dates against each other. Seems like you could do the same for other fields. I got this template from a forum on here (sorry, I forgot where or I'd give them credit). Anyway, here's mine. Must be used in the new map viewer, so add this as one of your expressions, then in the popup add {expr/1} or whatever number it is:
// Access 'Inspections' table as a FeatureSet
var portal = Portal("PORTAL ADDRESS HERE")
var inspections = FeatureSetByPortalItem(portal,
"ITEM NUMBER HERE", <layer # in service here>, ['field1', 'field2',
'field3'])
// Filter related features by using a common attribute
var facilityid = $feature.parentID
var filterStatement = 'childID = @parentID'
// Related features as a variable
var relatedData = Filter(inspections, filterStatement)
// Sort related features by oldest to newest
var relatedDataSorted = Top(OrderBy(relatedData, 'field3 DESC'),1)
// Build the pop-up string by iterating through all related features
var popupString = 'Last Flushed Date: '
for (var f in relatedDataSorted){
popupString += Text(f.field3, 'MM/DD/YYYY')
}
DefaultValue(popupString, 'No measurements to show')