I think that the only way is this:
Set(varTagsAlreadyIn, "");
ForAll(
Sort(DataSource, ID, Descending),
If(!(Tag in varTagsAlreadyIn),
//IT IS THE FIRST ONE
Set(varNewTag, varTagsAlreadyIn & " ," & Tag);
Set(varTagsAlreadyIn, varNewTag),
//IT IS NOT THE FIRST
)
I am creating 2 vars because you cant self reference in Power Apps.
You can always try with Concat or Concatenate but I am not sure how to do it
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!
Best regards,
Gonçalo Nogueira
Check my LinkedIn!
Buy me a coffee!
Check my User Group (pt-PT)!
Last Post on Community
My website!