Help Needed in creating multiple Area charts with multiple filter in single visualization

Hello,

I have Purchase orders in system. I want to create single area chart which shows how many POs are coming and how many are closed in a single visualization.

Single area chart i tried as below:
Y-Axis
Sum of Total
Buckets
X-Axis
Date Histogram by Arrival time field
Kql filter 'METRIC_TYPE : PO_ARRIVED'

Now i want to add second overlap area to show PO_CLOSED filter. Not sure how to do. Can anyone help on this?

Add another bucket aggregation as "Split series" of type filter and specify the two filters there:
METRIC_TYPE : PO_ARRIVED METRIC_TYPE : PO_CLOSED.

This will give you two separate series in the same chart for the documents matching each filter.

Thank You..Its working fine