Unable to access data when using Mixed data sources


I’m having an issue when trying to extract measurement data from the HTMLCtrl panel object. I have 2 different data sources: SQL Server and OPC UA. Normally, if I query each data source on its own, I can read the data from ctrl.data array. But it isn’t working with Mixed data sources.

  • What Grafana version and what operating system are you using?
    v9.0.2 - Windows Server 2019

  • What are you trying to achieve?
    Getting data from the ctrl object for my custom HTML dashboard.

  • How are you trying to achieve it?
    I have queries from 2 data sources: SQL Server and OPC UA.

  • What happened?
    There’s an error in the HTMLCtrl object: “Cannot read properties of undefined (reading ‘length’)”

  • What did you expect to happen?
    Data should be embedded in the ctrl object.

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

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

  • Did you follow any online instructions? If so, what is the URL?
    Can’t seem to find any similar issues.

Hi @tamh

Can you please try to reproduce this same issue on https://play.grafana.org/ and then share the dashboard link so that we can view it?