I know how to add an Arcade expression to a popup, but those expressions are not visible in a table view. Is it possible to add a dynamically calculated field there?
My goal is to show (and order by) a calculated field in a Table Frame on a Page Layout, so if there's another way to do that, I'd also be grateful for any suggestions.
This question is probably the same, but already >5 years old
Update: I've posted this as an idea
What platform are you working in? Hub, Experience Builder, Dashboard, etc.
I thought this was the ArcGIS Pro Questions section? So, ArcGIS Pro it is
Sorry, '...Page Layout...' had me thinking it was something else. I don't know of a way to do that in the table frame itself. That's a map element, not a layer for Arcade to work on. You might be able to do something with the source table itself, maybe with contingent values or similar. Arcade calculated fields in popups are essentially creating temporary data/fields on the fly. Maybe what you're looking for can be done, but if so, I don't know how. Good luck!
The usual suggestion for Arcade based fields in Pro is an Attribute Rule to calculate into a premade field. Is this excessive to add a simple calculation to a table in a limited context? Absolutely! I can't find an obvious Ideas post that suggests this type of "Arcade Field" so it's worth making one.
Not sure if this'll work, but because you're in a layout you can try working with the Report tools to built your table, there may be ways to calculate your field in there.
Thanks, I looked into reports, but the table sorting options seem to be the same as in a page layout. That is, I can add an Arcade expression, but it does not show in the list of fields to sort by