Data overwrite in gauge

Hi,
I am using Grafana Dashboard to visualize the postgreSQL data.

There is dropdown list on the dashboard & data is populated on the gauge with the selection of element from dropdown list and it overwrite the previous data as shown in the image.

How can I resolve this problem ?
Thanks,
Muhammad Usman
grafana_issue