M
Muse
Need to get the top diagnosis in terms of paid dollars for each member for
the data set below. I tried using MAX and group but it returns the records
that have the highest paid $ for each diag. I need it to return one line for
each member with the diag code that has the highest paid $. TIA.
MEM# DIAG PAID
123 XXA $150
123 XXB $25
124 XXD $200
124 XXD $100
124 XXE $250
Need the following Result Set:
the data set below. I tried using MAX and group but it returns the records
that have the highest paid $ for each diag. I need it to return one line for
each member with the diag code that has the highest paid $. TIA.
MEM# DIAG PAID
123 XXA $150
123 XXB $25
124 XXD $200
124 XXD $100
124 XXE $250
Need the following Result Set: