How to apply aggregation filter instead of query filter from dashboard in Kibana 4?

I would like to know how to apply aggregation filter from dashboard instead of query filter. I have nested documents which doesn't get filter using query filter, so I need to apply aggregation filter instead of default query filter. Any idea or hack which can help me in solving this problem?

Thanks in advance,
Ankit