I'm seeking assistance with creating data expression for a table widget in ArcGIS Dashboard. I've been experimenting but haven't been able to achieve the desired outcome.
Here is my sample data:
Sample data

Only two fields are involved.
Here is the desired result:
Desired outcome in table widget

I've tried using Arcade expressions, but I'm unsure how to structure it.
Any guidance, examples, or resources would be greatly appreciated.