I have a report with data that resembles the following:
Pat ID Code
405377353-1 22255
405377353-1 63201
405377353-1 25894
405377353-2 0762
405377353-3 0651
There are a few other fields as well to the right that are not necessary to show here and many other Pat ID's, most with only one unique number and suffix, however, a few are like this.
The numbers after the "-" are simply suffixes to show a modified bill. What I am trying to do is to get an output that only gives me the Pat ID, and all its respective data, with the latest suffix.
Thus, in this case, the only line in the output should be
405377353-3 0651
Pat ID Code
405377353-1 22255
405377353-1 63201
405377353-1 25894
405377353-2 0762
405377353-3 0651
There are a few other fields as well to the right that are not necessary to show here and many other Pat ID's, most with only one unique number and suffix, however, a few are like this.
The numbers after the "-" are simply suffixes to show a modified bill. What I am trying to do is to get an output that only gives me the Pat ID, and all its respective data, with the latest suffix.
Thus, in this case, the only line in the output should be
405377353-3 0651