Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have multiple columns that are stored in various ways, some of my data is [Record], [Table] and [Lists]. When i go to expand this out, as there are multiple values in the one row, by doing it manually by clicking the button "Expand" and selecting the heading i am after, it ends up duplicating my records.
Looks like this:
What is the best way using Power Query to expand the record/table or list and the join them by using the delimiter "," for concatenating values.
Previously i have used this below, however as some aren't tables they are [Records] & [Lists] this doesn't seem to work.
Any help would be greatly appreciated!!
Solved! Go to Solution.
You could use Group By function in power bi power query and then do a Text.Combine function to combine with delimeter
1 Group By function with desired Column
2 In the Grouped Data Create a custom cloumn which extracts the desired data from rows
3 Use Text.Combine() function to combine them concatinate them
4 Keep Only the concatinated result by flatening the grouped one
Or You can use Table.Transform column with To.List function and then use Text.combine function to concatinate
Hi @angiepowerbi99,
We would like to follow up to see if the solution provided by @Akash_Varuna resolved your issue. Please let us know if you need any further assistance.
If the user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Regards,
Vinay Pabbu
Hi @angiepowerbi99,
we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Regards,
Vinay Pabbu
Hi @angiepowerbi99,
May I ask if you have gotten this issue resolved?
If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.
Regards,
Vinay Pabbu
You could use Group By function in power bi power query and then do a Text.Combine function to combine with delimeter
1 Group By function with desired Column
2 In the Grouped Data Create a custom cloumn which extracts the desired data from rows
3 Use Text.Combine() function to combine them concatinate them
4 Keep Only the concatinated result by flatening the grouped one
Or You can use Table.Transform column with To.List function and then use Text.combine function to concatinate
Replace the Table.Column by
Then do an add column with Text.Combine([FieldName], ",")
I am not at my laptop, so I can't test.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
9 | |
7 | |
5 | |
5 | |
5 |
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
6 |