Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a table1 as below and it has around 20k rows. I want to create another table2 where every 3 rows of table1 will be added as comma separated value in one row in table2.
Table1
org name id
test 1
test 2
test 3
test 4
test 5
test 6
Table2
org name id
test 1,2,3
test 4,5,6
Solved! Go to Solution.
This will work:
Custom1 = Table.Split(PriorStepName, 3),
#"Converted to Table" = Table.FromList(Custom1, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Added Custom" = Table.AddColumn(#"Converted to Table", "Org ID", each Table.FirstValue([Column1]), type text),
#"Added Custom1" = Table.AddColumn(#"Added Custom", "Values", each [Column1][Index]),
#"Removed Columns2" = Table.RemoveColumns(#"Added Custom1",{"Column1"}),
#"Extracted Values" = Table.TransformColumns(#"Removed Columns2", {"Values", each Text.Combine(List.Transform(_, Text.From), ","), type text})
in
#"Extracted Values"
--Nate
This will work:
Custom1 = Table.Split(PriorStepName, 3),
#"Converted to Table" = Table.FromList(Custom1, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Added Custom" = Table.AddColumn(#"Converted to Table", "Org ID", each Table.FirstValue([Column1]), type text),
#"Added Custom1" = Table.AddColumn(#"Added Custom", "Values", each [Column1][Index]),
#"Removed Columns2" = Table.RemoveColumns(#"Added Custom1",{"Column1"}),
#"Extracted Values" = Table.TransformColumns(#"Removed Columns2", {"Values", each Text.Combine(List.Transform(_, Text.From), ","), type text})
in
#"Extracted Values"
--Nate
@Anonymous Thanks. you saved the day
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 14 | |
| 14 | |
| 10 | |
| 8 | |
| 8 |