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
ComputerHabit
Helper II
Helper II

How do I merge a split row back into it's original form?

I am trying to split a column into rows, do a join to another column for lookups and then put everything back.
Copilot gave me:

ComputerHabit_0-1727712148347.png



I've gotten to step 4 but I don't understand what is happening.

It's saying group the table.  I am a little confused on this because it's adding a new column, I think.

Also I'm a little confused by the let in statements and how I'm supposed to add them to my already applied steps.

10 REPLIES 10
parry2k
Super User
Super User

@ComputerHabit can you post the structure of the other table, and what column these two tables will use for the lookup. it would make life easier if you post the sample data from both the tables with the expected output. Getting partial input doesn't help much.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

This is for a Sharepoint site.  I'm using the List connectors.

I have a people field that can contain multiple users.  The column shows as a List in Transforms.

ComputerHabit_0-1727718825899.png

I told it to extract the values.

ComputerHabit_1-1727718969031.png


now I can see the numbers.  I kind of know I could go straight to rows but I hadn't gone back.

Now that I have this column with each row containing a semicolon separate list of values I want to lookup the name of the 'person' related to the ID value.

ComputerHabit_2-1727719134405.png

 



parry2k
Super User
Super User

@ComputerHabit don't take me wrong, but what is the point of splitting at the first place 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

I am lost as to how to replace these numbered values with their text counterpart in another table.

From another table... a  LOOKUP .. It's so hard in M Query to figure this out

parry2k
Super User
Super User

@ComputerHabit I'm not clear after you split it to the rows what you are looking for. More details will be helpful.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

ComputerHabit
Helper II
Helper II

I have a column with list values.

ComputerHabit_0-1727713268298.png


I've expanded the column to show delimited values.

ComputerHabit_1-1727713313659.png



I split by row

ComputerHabit_2-1727713351084.png



Now I'm supposed to group.  But the button for Group just does SUMs and Counts which isn't what the instruction shows.  I'm trying to piece it together. 

I'm not used to the interface and what to do.



I give up on editing my last comment.  It gets messed up when tyring to edit.

I left out the merge with another table.

Now that it's merged I want to put it back to a comma separated values to undo the expansion of all the rows.

parry2k
Super User
Super User

@ComputerHabit not sure what you are trying to achieve but step 4 is taking the expanded table as a source, grouping it by id, and adding a new column that combines the textvalue column separated by a semicolon.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

I'm trying to get the split rows back unsplit.  The data should go back to its orginal look.

ComputerHabit_0-1727713771306.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors