Forum Discussion

vishaln's avatar
vishaln
New Member
6 years ago
Solved

Delete rows based on condition in M PoweQuery

Hi,   How can I delete the rows that do not contain highlighted cells? The highlighted cells contain the most recent order date for a particular customer id. I want to keep only the rows where the ...
  • Ashish_Mathur's avatar
    6 years ago

    Hi,

    In the Query Editor, right click on the first column and go to Group.  Select Max in the function there.

    Hope this helps.