Hi @Masoud Sedighi ,
I read your requirement carefully, you want to auto populate maximum Rev value per Doc No in one sharepoint list column.
Unfortunately, per my knowledge, we can't achieve this function, we can't compare values in the same column, only with other columns. Thank you for your understanding and support.
Or you can create a view to sort them group by Doc No and maximum Rev, do you think this is feasible(As shown below)?
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.