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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
symun123
New Member

Group mulitple rows into one

I am wanting to group data from one column into distinct rows from another column, is this possible? I have tried the 'Group By' function but it doesn't seem to do what I want.

Here is a screenshot, you can see 'Issue' has multiple rows because the License column has seperated. What I want is one row for issue PCR-466 with all license grouped together in the same row. Is this possible?

symun123_0-1711709704207.png

 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

pls try this code in Power query

Screenshot_1.png

View solution in original post

6 REPLIES 6
Ahmedx
Super User
Super User

pls try this code in Power query

Screenshot_1.png

Thanks, got that working.
Next question if you could help again, instead of listing the licenses as a comma seperated list, is there a way to replace them with the word 'Global'? Tried Text.Replace but that didnt work

show the result you want, otherwise it’s not clear what you want

Hi @symun123 

just simply in your code use "Global" instead of ",".

 

Uzi2019_0-1711712093482.png

 

 

I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

This doesn't work as that just replaces the ',' with the word 'Global'. So I still have the list but with the word Global in between each license

can you share the output your getting and expected result result you want??

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.