How to pipe results from one data view to other data view in KQL?

Hi, i have two data views in kibana one logs-apigee-* and other logs-epm-.
we have a field "type" in logs-apigee-
i want to get from logs-epm-* for a given date range with all type from logs-apigee-*.
is there any way that we can pass data from one data view to onther as filter/condition in KQL?
Thanks!