Hi Kinson,
Here is a solution to filter items on client part(no matter is it JSON response service or XML response service, it's universal solution):
Open goal datasource.
Add "success" event handler with "Run javascript" action.
Populate this action with following JS code:
pre
//Here you should specify path to your response array.
var array = data.response.data.record;for(var i = array.length - 1; i = 0; i--){
//Here should be your condition to delete item from collection.
//Current condition just removes every odd item.
if(i % 2 == 0)
array.splice(i, 1);
};/pre
Order this event handler to be first in "success" section.
Details: http://prntscr.com/6tvfy9/directNote: you should change:
path to array - depends only on your service response.
condition to remove item - should be specified by your app logic.
Regards.