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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MATSIW
Regular Visitor

Combining multiple rows for one id into one

Hi,

 

I am a beginner user. I would appreciate your guidance.

 

I have the data in this form:

MATSIW_0-1621433462799.png

and I would like it to look like this:

MATSIW_1-1621433488089.png

 

How I can do this easily and quickly on a large range of data?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @MATSIW ,

 

1.Select the following four columns at the same time, right-click to select the replace value. In the Replace values dialog box, leave Value to find blank. For Replace with, enter null.

2.png3.png

 

2.Fill up and fill down these four columns.

6.png5.png

 

3.Remove duplicates

7.png8.png

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @MATSIW ,

 

1.Select the following four columns at the same time, right-click to select the replace value. In the Replace values dialog box, leave Value to find blank. For Replace with, enter null.

2.png3.png

 

2.Fill up and fill down these four columns.

6.png5.png

 

3.Remove duplicates

7.png8.png

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

You can use the built-in grouping function, choosing "Table ID" as the group column, and "Max" as the aggregation on all of the columns.

--Nate 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors