How to sum all values for numberDisplay, excluding a category
问题 I have set of data where I want to apply filters by default to a numberDisplay. The data is something like this. data = [{category:'A',value:10}, {category:'B',value:10}, {category:'C',value:10}, {category:'S',value:10}, {category:'C',value:10}, {category:'A',value:10}] I am trying to create a number display which will show sum of values other than category 'S', I tried using fake groups but they are failing. What would be the best method to achieve this ? 回答1: You don’t need a fake group for