Hi Community folks,
I have an interesting problem. I am new to Arcade, so this may be a simple fix. I have a Survey123 feature service that has several attributes that have multiple entries. I am working on a Dashboard to report out these results. For example, one field has entries of CG, JR, TB, WB, and can include anywhere from one to all of them, separated by commas. I want the Dashboard to report out the sentence of what they mean. CG = Co-Governance, JR = Just Responsibility, TB = Targeted Benefits, and WB = Wealth Building. Then list them with a <br> under a heading. I have used REPLACE to get the list effect with other entries
I have tried IIF, WHEN and DECODE, but these seem to just list the first true statement and only one instance of it (if it is the sole entry), and then ignore the rest.
Any help would be appreciated! Thanks!

Results: (the CG, TB etc in the heading are what should show)

