An URL parameter is not working properly in the grafana chart

  • What Grafana version and what operating system are you using?
    Grafana v10.3.3 ( 252761264e)

  • What are you trying to achieve?
    Dynamic chart render

  • How are you trying to achieve it?
    By creating a URL parameter and load the data based on the param value

  • What happened?
    Its always showing chart data for first result of query variable result

  • What did you expect to happen?
    Wanted to render the chart based on the URL param value

  • Can you copy/paste the configuration(s) that you are having problems with?
    select memory from lab_server where server_id = ${serverId}

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    NO

  • Did you follow any online instructions? If so, what is the URL?
    Dashboard URL variables | Grafana documentation