Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: rbeliz000I am looking for the simplest method to filter out the record with the max value in the iCount field.
In the below example it would be the Mississippi record.
any thoughts/suggestions would be much appreciated.
node:Static_Data
bretype:core::Static Data
editor:sortkey=5a5dfc937db65ab8
output:@40fe6c55598828e5/=
prop:StaticData=<<EOX
state:string
Mississippi
Louisiana
Pennsylvania
EOX
editor:XY=100,60
end:Static_Data
node:Filter
bretype:core::Filter
editor:sortkey=5a5dfcf471e21d5f
input:@40fd2c74167f1ca2/=Static_Data.40fe6c55598828e5
output:@40fd2c7420761db6/=
prop:Script=<<EOX
e=state.replace ("i","")
L1=strlen (state)
L2=strlen (e)
iCount=L1-L2
emit *, iCount
EOX
editor:XY=200,60
end:Filter
node:Output_Excel
bretype:core::Output Excel
editor:sortkey=5a5e10781087360f
input:@49e34a5e55c82040/=Filter.40fd2c7420761db6
prop:File=/lavastorm/data/RUNAREAS/xxxxxx/iCountfile.xlsx
editor:XY=350,60
end:Output_Excel