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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
JamesRobson
Resolver II
Resolver II

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
JamesRobson
Resolver II
Resolver II

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors