Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi!
I have a table like the one of the picture, with 17 courses.
I'm working with Group By to unify by USERID. After I create that particular table called "NEW" I want to extract the names of the Curses of the columns created, remove the duplicates and combine them using some Concatenate function and separatethem without with the comma (",").
This dax works for the first column. I NEED HELP TO ADD THE REST OF THE COLUMNS (Course 2, Course 3, Course 4,...) in the same concatenated Column "NEW"
= Table.Group(#"Columnas quitadas", {"USERID"},
{
{"NEW", each Text.Combine(List.Distinct(_[Course 1]),",")}})
Solved! Go to Solution.
@geroagostini , I added two columns to group by and then manually changed the code
Table.Group(Source, {"Category"}, {{"Items", each Text.Combine(List.Sort(List.Distinct([Name])),","), type nullable text}, {"Brands", each Text.Combine(List.Sort(List.Distinct([Brand])),","), type nullable text}})
@geroagostini , I added two columns to group by and then manually changed the code
Table.Group(Source, {"Category"}, {{"Items", each Text.Combine(List.Sort(List.Distinct([Name])),","), type nullable text}, {"Brands", each Text.Combine(List.Sort(List.Distinct([Brand])),","), type nullable text}})
User | Count |
---|---|
123 | |
76 | |
62 | |
50 | |
50 |
User | Count |
---|---|
175 | |
125 | |
60 | |
60 | |
58 |