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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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