Conditional Include and Exclude Fields

I am using Terms Aggregation for x-axis.
and splitting the series on a specific condition.
some terms in x-axis dos not have the field on which split is applied. Can i order the aggregation in such a way that only the terms with that specific field shows up First in the axis or any way to conditionally remove them.

Can you use the exists query to remove docs without the secondary field?

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