Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I have a table in specfic column (Site Code Merge Custom) contains the duplicated values, can someone advise how to create a new table that show like below? In column "Site Code Merge Custom" I only want the duplicated value show in one record, and the "Manufacturing Product Location Code" column value merge and use coma to separte out.
Thanks in advance.!
Solved! Go to Solution.
Hey @marry ,
You can combine the Row using Text.Combine function on Power Query.
First, you need to "group by whit sum" your table like the image bellow.
Then, that will generate an error
To fix the error, you need edit the M code like that:
Table.Group(#"Changed Type", {"Site Code"}, {{"Location Code.1", each Text.Combine([Location Code], ","), type nullable text}})
You will achieve your lines combine!
Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI
Hey @marry ,
You can combine the Row using Text.Combine function on Power Query.
First, you need to "group by whit sum" your table like the image bellow.
Then, that will generate an error
To fix the error, you need edit the M code like that:
Table.Group(#"Changed Type", {"Site Code"}, {{"Location Code.1", each Text.Combine([Location Code], ","), type nullable text}})
You will achieve your lines combine!
Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI
Hello @marcelsmaglhaes ,
Amazing!!!! Thank you so much!! It fully filfill my need. 🙂
Appreciated your help!
Best regards,
Mary Chen
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 55 | |
| 42 | |
| 41 | |
| 23 |
| User | Count |
|---|---|
| 167 | |
| 136 | |
| 120 | |
| 79 | |
| 54 |