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.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.