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

return max date

Hi Everyone,

 

 I need help

 

I want to retrieve  max date for every user from using edited Query "advance editor ", before load data into the data model 

I want to remove duplicate  based on data and remaining just last data

like the scenario below in tables   :


er100.JPG                                    er101.JPG

 

I want show data jsut inside table after loading  table 

Regards,

 

1 ACCEPTED SOLUTION
kcantor
Community Champion
Community Champion

@Anonymous 

If you want to complete this in the Query Editor, you would simply choose to "Group By" and then Group by ID with the agregation of Max Date.

Group by will be on the Transform Tab. When you select it, put your ID in the Group by selection. Below that, rename your column "Max Date" or what ever you prefer. The operation would be "Max" and the select the final column of Data. This will leave the results you are looking for.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
kcantor
Community Champion
Community Champion

@Anonymous 

If you want to complete this in the Query Editor, you would simply choose to "Group By" and then Group by ID with the agregation of Max Date.

Group by will be on the Transform Tab. When you select it, put your ID in the Group by selection. Below that, rename your column "Max Date" or what ever you prefer. The operation would be "Max" and the select the final column of Data. This will leave the results you are looking for.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.