i´m working on mutliple Grafana Dashboards and want to transfer one value from one Dashboard to another, in which I want to set a variable to that value. My Problem is, that the variable doesn´t get set and is empty and data gets shown. Pls help
So:
- I have a tbale customer with some customer information (e.g. name, Id, place…) and then I have a table with some product information for each customer.
- I have a variable in the product Dashboard to filter for certain customers.
- In my customer Dashboard I implemented a button to get directly to the product Dashboard.
- Now, I want to like set the variable value to the name of the customer which I just selected. So far so good.
- I´ve put a Data Link on my “Button” in my customer Dashboard table put in the url of the other Dashboard and then in the end I put:
<code>"&var-customer=${__data.field.KUNDE}"
</code>
<code>"&var-customer=${__data.field.KUNDE}"
</code>
"&var-customer=${__data.field.KUNDE}"
- When I click on the button, Grafana puts the right thing in end of the URL with like %20 for spaces and spacial characters.
- However in the product Dashboard it does not set the
var_customer
variable to the value provided in the URL.
New contributor
Lukas Blum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.