Forum Discussion
Anonymous
5 years agoNot applicable
powerquery merge ?
hello, sorry if this is too easy question. I would like to do like following in powerquery. Is there any way to do this on powerquery? or shoud I do this with dax?
- 5 years ago
Try :
= Table.Group(#"Changed Type", {"Id"}, {{"List of works", each Text.Combine([Work],", "), type text}}) - 5 years ago
Hi,
This M code works
let Source = Excel.CurrentWorkbook(){[Name="Data"]}[Content], #"Grouped Rows" = Table.Group(Source, {"Id"}, {{"All Work", each Text.Combine(List.Distinct([Work]), ", "), type text}}) in #"Grouped Rows"Hope this helps.
Ashish_Mathur
Super User
5 years agoHi,
This M code works
let
Source = Excel.CurrentWorkbook(){[Name="Data"]}[Content],
#"Grouped Rows" = Table.Group(Source, {"Id"}, {{"All Work", each Text.Combine(List.Distinct([Work]), ", "), type text}})
in
#"Grouped Rows"
Hope this helps.
- Anonymous5 years agoNot applicable
Ashish_Mathur Thank you ! worked😀
- Ashish_Mathur5 years ago
Super User
You are welcome.