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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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