I have a JSON document like this
{
"EmpDetails" : {
"emplid" : "32444"
"sickdays" : "3"
"batch_id": "22-04"
},
"EmpDetails" : {
"emplid" : "32445"
"sickdays" : "3"
"batch_id": "22-04"
},
"EmpDetails" : {
"emplid" : "32446"
"sickdays" : "3"
"batch_id": "22-04"
},
"EmpDetails" : {
"emplid" : "32444"
"sickdays" : "3"
"batch_id": "22-05"
},
"EmpDetails" : {
"emplid" : "32445"
"sickdays" : "3"
"batch_id": "22-05"
},
"EmpDetails" : {
"emplid" : "32446"
"sickdays" : "3"
"batch_id": "22-05"
},
}
I am trying to create a filter by getting the max batch id, it can go from 22-01 to 22-12 and it is a text field