in reply to How to concatenate in a "join"

I really have no idea what you're asking. Can you give an example of what's in @fields and what you expect to produce at the end?

Perhaps it would be simpler to make two joins, or one join and one concatenation in separate steps?