Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Combine rows with same ID / Split column transformation backward

Hi,

i want to create from these two columns only one in this format.

 

id, CategoryName

c7a..., Importing, NewOne

tim_m15_0-1608713833012.png

 

It is possible to make this transformation in QueryEditor? Nearly a split column-transformation backward. Thank you for your feedback.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I can not share sample data because i get an error. 


I have one table with dublicated rows. Dublicated becuase one id have different categories. And the goal is to combine the dublicated rows in one with the format you see in my first post. I hope this is understandable.

The challenge is like this:

https://stackoverflow.com/questions/61238999/how-to-combine-rows-with-the-same-id-into-a-list

tim_m15_0-1608715829334.png

 

I want to combine this two columns like this:

ID, Category

1, Green | Blue

 

It looks like the hint in this link works. I had a mistype in my codings earlier.
This is the solution. Anyway, thank you for your help.

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I can not share sample data because i get an error. 


I have one table with dublicated rows. Dublicated becuase one id have different categories. And the goal is to combine the dublicated rows in one with the format you see in my first post. I hope this is understandable.

The challenge is like this:

https://stackoverflow.com/questions/61238999/how-to-combine-rows-with-the-same-id-into-a-list

tim_m15_0-1608715829334.png

 

I want to combine this two columns like this:

ID, Category

1, Green | Blue

 

It looks like the hint in this link works. I had a mistype in my codings earlier.
This is the solution. Anyway, thank you for your help.

amitchandak
Super User
Super User

@Anonymous , You can do few operation there. What is the logic required ?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

The logic is that I have n-IDs and one ID can have n Categories (1-n)...

 

I have dublicate rows and want to combine these rows where the ID have more than one Category

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors