Grafana-Influxdb

Grafana not able to show downsampled values from influxdb. After selecting the Retention policy, measurement and influxdb database in grafana the vales (tag values or field keys are not showing in grafana). the continuous query to downsample the metrics in influxdb is working and can see downsampled metrics in influxdb. Can anyone help me why grafana not able show the values which are available in influxdb database. is there anything i am missing . If i do toggle edit mode in grafana and type manually the values i can visualize the metrics in grafana (which makes visualizing data in grafana not easy). can the community help me with this . I cannot figure out the reason why is this happening.

grafana

You have no field selected