What Grafana version and what operating system are you using?
Grafana v10.4.2 and the OS am using is Ubuntu 22.04
What are you trying to achieve?
I have a dashboard with which takes the average of a field(selected_option_id_counter) that is either 0 or 1 to get a compliance score. This average than has filters such as Compliance_Shift(score by morning/evening), Compliance_Location(score by branch name), Compliance_Territory(score by City), Compliance_Question(score by question) which have been added as variables.
I have added these variables as data links and also included them in my query accordingly.
Thus, whenever, I click on a guage panel, the dashboard will reconfigure the visualization via filtering on that variable.
Below is what my data link looks like(cant add more pic due to limitation to upload):
/d/${__dashboard.uid}/${__dashboard}?orgId=${__org}&var-Compliance_Location=${__data.fields.location}&${Compliance_Territory:queryparam}&${Compliance_Shift:queryparam}&${Compliance_Question:queryparam}&from=${__from}&to=${__to}
What happened?
The variables and data links are working as expected for all the variables Compliance_Shift, Compliance_Territory, Compliance_Location, Compliance_Question.
But, for the data in Compliance_Location, when I click on any of the branch such as ‘Lake City’, the dashboard sets the Compliance_Location as ‘Lake City’ and sets the rest of the variables as ‘All’, this is as expected.
However, this does not always happen for some of the branches i.e when I click on branch such as ‘Khi # 8 Dolmen Tariq Road (DMTR-2)’, this does not happen for this particular case. For this case, it sets Compliance_Territory as ‘Islamabad’, Compliance_Location as ‘All’, Compliance_Shift as ‘Morning’ and Compliance_Question as ‘Shopping Bags are available and in place’ for no apparent reason.
What did you expect to happen?
I expected it to sets the Compliance_Location as ‘Khi # 8 Dolmen Tariq Road (DMTR-2)’ and sets the rest of the variables as ‘All’, but as said above, this did not happen for this case.
An unusual thing that am seeing is that this case happen only for branch in Compliance_Territory in Karachi
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
I am not receiving any errors
Did you follow any online instructions? If so, what is the URL?
Not Applicable