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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.