Grafana - Datasource variable with multiple selected only returns data for first datasource

  • What Grafana version and what operating system are you using?
    AWS Managed Grafana, I see version v9.4.7 on the UI.

  • What are you trying to achieve?
    Show a panel with data summed across multiple datasources.

  • How are you trying to achieve it?
    I will use a datasource variable, which allows multi-select and all-select to select the datasources.
    I have a bar chart.

  • What happened?
    My datasource variable appears as a drop down on the UI. If I select exactly 1 datasource, the data returned is correct. If I select more than 1 datasource, I notice the data returned is for only the first datasource selected as part of the variable.

  • What did you expect to happen?
    I expect to get data from all datasources selected within the datasource drop down.

  • Can you copy/paste the configuration(s) that you are having problems with?
    Here is my Query

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

  • Did you follow any online instructions? If so, what is the URL?