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
Anonymous
Not applicable

Group by?

Does anybody know how I only show the last/biggets value in a column, grouped by name. My table looks like this:

Joepvs_0-1668504132964.png

I only want to see the sonny de boer with the name p-5089 in this table. Now I see him 2 times.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

 Difficult to work out exactly how to Group correctly as I dont know the full data set, but you could try the below (used the sample data you gave above)

 

From this...

JamesRobson_0-1668523577254.png

 

To this...

JamesRobson_1-1668523653446.png

= Table.Group(#"Changed Type", {"Name"}, {{"Name2", each List.Max([Name2]), type nullable text}, {"Last Placement", each List.Max([Last Placement]), type nullable text}})

 

 

Hope that helps.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi,

 

 Difficult to work out exactly how to Group correctly as I dont know the full data set, but you could try the below (used the sample data you gave above)

 

From this...

JamesRobson_0-1668523577254.png

 

To this...

JamesRobson_1-1668523653446.png

= Table.Group(#"Changed Type", {"Name"}, {{"Name2", each List.Max([Name2]), type nullable text}, {"Last Placement", each List.Max([Last Placement]), type nullable text}})

 

 

Hope that helps.

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.