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
lynnzrae
Helper I
Helper I

Merged Rows Created by Group By Doesn't Update when Refreshing Data

I did a group by to merge/concatenate rows that used the same ID and everything  looked great (the top table).  I refreshed my data and had a new row that needed to be brought  into the existing merged row b/c it had the same ID (the second row in the second table below) and it didn't bring it in.  It now has a separate row.  

The 7332 is the key. this is what it currently looks like with the first row being the result of the inital grouping:

 

This is what it looked like when I first did the group by

IDP NumberStore NumberFile NumberNames of Product
7332632573921, 34749Teflon Foot, Compensating Foot
 
This is what it looked like when I refreshed the data and now have three rows that have the same ID; only the rows already merged were merged, the third row, when brought in what the refresh did not automatically merge.
IDP NumberStore NumberFile NumberNames of Product
7332632573921, 34749Teflon Foot, Compensating Foot
7332632573925Piping Foot

 

This is what it should look like based after today's data refresh:

 

IDP NumberStore NumberFile NumberNames of Product
7332632573921, 34749, 3925Teflon Foot, Compensating Foot, Piping Foot

 

Do I have to regroup every time I have a data refresh?

2 REPLIES 2
HotChilli
Community Champion
Community Champion

Are you doing 'Group by' on only the ID column? What's the datatype of that column?  It looks like powerbi thinks it is a different value (possibly you have text datatype on column and there are spaces)

I think it was from another item that I didn't merge and the data was different so it separated the two rows out.  I'll keep an eye out if it does it again and report back.  Thank you for the suggestion!

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