Not sure why the MAX function is not working. I am pulling a date field based on ID, for some IDs there are more than 1 date. So i want to take the max one.
As you can see for items 15 , 16 and 17 it is not taking the max date. What is the wrong with my function?