How to use sum aggregation in scripted field

HI, for example when i create a bar visualisation i can do the sum aggregation for specific field but when i do a control visualisation he can take just the field not sum of field so my problem is i need to create a scripted field with sum aggregation and after that use it in control visualisation?
Any way to do that please??or any other solution ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.