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
EaglesTony
Post Prodigy
Post Prodigy

I need help to filter similar records based off the latest date

Hi,

 

  I have the following records as an example:

 

Key: ABC-123                 First Transition: 3/25/2023 1:27:13 PM    

Key: ABC-123                 First Transition: 6/29/2021 9:37:48 AM

 

In this case, I want to take the record 3/25/2023 1:27:13 PM or vice-versa (I want to see how to do either).

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @EaglesTony ,

 

Here's my solution. Below is my sample data.

vstephenmsft_0-1682578264397.png

Use Group by feature.

vstephenmsft_1-1682578299881.png

vstephenmsft_5-1682578436777.png

If other fields exist in your actual data, you can add a column as follows to keep all rows.

vstephenmsft_4-1682578418086.png

vstephenmsft_6-1682578464136.png

How to GROUP BY or summarize rows - Power Query | Microsoft Learn

                                                                                                                                                         

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

1 REPLY 1
Anonymous
Not applicable

Hi @EaglesTony ,

 

Here's my solution. Below is my sample data.

vstephenmsft_0-1682578264397.png

Use Group by feature.

vstephenmsft_1-1682578299881.png

vstephenmsft_5-1682578436777.png

If other fields exist in your actual data, you can add a column as follows to keep all rows.

vstephenmsft_4-1682578418086.png

vstephenmsft_6-1682578464136.png

How to GROUP BY or summarize rows - Power Query | Microsoft Learn

                                                                                                                                                         

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.           

 

 

 

 

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.