Hi,
Below is a sample data set (apologizes, I am unable to load a sample mini-sheet) of a much large dataset (with more coloumns) I am using.
My goal: For a specific 'training' value ('Heights' in the example), if a 'name' ('Scott' in the example) has both a 'Completed' and 'Approved' row, then remove the 'Approved' row.
I have a hunch this may be able to be achieved through the 'group by' and 'merge query' functions; however, I've had no luck so far trying this.
Is anyone able to help with some steps to achieve the above goal? I'm trying to learn steps and M code amending rather that asking for the code so I can trouble shoot queries in future. Thanks!
Below is a sample data set (apologizes, I am unable to load a sample mini-sheet) of a much large dataset (with more coloumns) I am using.
My goal: For a specific 'training' value ('Heights' in the example), if a 'name' ('Scott' in the example) has both a 'Completed' and 'Approved' row, then remove the 'Approved' row.
I have a hunch this may be able to be achieved through the 'group by' and 'merge query' functions; however, I've had no luck so far trying this.
Is anyone able to help with some steps to achieve the above goal? I'm trying to learn steps and M code amending rather that asking for the code so I can trouble shoot queries in future. Thanks!