Skip to main content

I have field COST like below

SN.sFruitCOSTQuantity1Apple20per Peace2Banana3per Peace3Orange8per Peace4Mango50Per KG5Cherry250Per KG6Papaya40Per KG7Graps80Per KG8Dragon200Per KG9Kiwi30per Peace10CustedApple60Per KG11Fine Apple40per Peace12Green Apple25per Peace

 

And i have to read MAX value in Cost field

If you just want the max, the simplest way is to sort by COST in descending order and then use a sampler to sample the first feature. This will be the feature with the max value and the value in COST will be the max


If you just want the max, the simplest way is to sort by COST in descending order and then use a sampler to sample the first feature. This will be the feature with the max value and the value in COST will be the max

could please brief in


could please brief in

You just need to change the Sampling Type to "First N Features" and keep the sampling rate as 1


Reply