Embedding filters into a web app

Hi guys.
I am relatively new to mongodb. It would mean a lot if anyone could guide me with the issue I am facing when working with charts.

I created a dashboard on mongo charts. When I am trying to embed it on a web app, I am not getting all the filters I need. Also there is a necessity to use fields obtained from lookup as a filter. I am able to do that for individual charts but not the whole dashboard even though I am using the same base collection for all the charts.

Please help me out guys
Thank you.