I want to include only distinct teams in the current query which aggregates the teams
CONCAT_VIEW_AGGR(FORMATWIKI(T1.'Team', " \n")) AS 'Teams',
---
The formatting is retained but duplicates are present -- CONCAT_VIEW_AGGR(FORMATWIKI(DISTINCT T1.'Scrum Coach', "\n")) AS 'Scrum Coaches1',
The duplicates are not there but the formatting is lost.
SUM(DISTINCT T1.'Scrum Coach' + "; ") AS 'Scrum Coaches',