Forum Discussion
Persons in the same team
Let's assume your table is called "Teammates" with columns "Name" and "Team". You want to add a calculated column named "Teammates List" that lists all teammates in the same team.
create a calculated column as below:
Teammates List =
VAR CurrentTeam = Teammates[Team]
RETURN
CONCATENATEX (
FILTER ( Teammates, Teammates[Team] = CurrentTeam ),
Teammates[Name],
", "
)
If this helped, Follow this blog for more insightful information about data analytics
https://analyticpulse.blogspot.com/
Please Subscribe AnalyticPulse on YouTube for future updates:
https://www.youtube.com/@AnalyticPulse
Please subscribe CogniJourney On Youtube For Daily fun facts:
https://www.youtube.com/@CogniJourney
- BENJO2 years agoRegular Visitor
Hey AnalyticPulse,
thanks for the quick response.
What do you mean with calculated column? Custom Column? I get an error here
Solution for BerLIN: autumn,AAAAY, Lysoar, Life
Solution for autumn: BerLIN,AAAAY,Lysoar,Life
- AnalyticPulse2 years agoSolution Sage
calculated columns means the on eyou add in data view mode from data modeling tab, not inn power query
- BENJO2 years agoRegular Visitor
Thanks, that worked. But I want the Name in the row to not be in the Teammates List. Is that possible?
I also would like to do it within the power query editor, is that possible aswell?