Chronograf: Setting up multiple template variables in dashboard

Hi,

We currently use Grafana to display data from influxDB.
01%20PM

The env gets populated based on timeframe selected in dashboard. The Jobname is dependent on Env selected and the build on Jobname.

How do I implement similar behavior in Chronograf?
I added the following template variable for Env
04%20PM

Jobname shows all values if I use the meta query,
58%20PM

How do I create a custom metaquery to fetch jobname values for selected Env?

Thanks,
Shruthi