Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plain text formatted cells appear empty #267

Open
llamafilm opened this issue Sep 10, 2024 · 0 comments
Open

Plain text formatted cells appear empty #267

llamafilm opened this issue Sep 10, 2024 · 0 comments
Labels
type/bug Unexpected behavior or a feature is broken

Comments

@llamafilm
Copy link

In Google Sheets, I designate certain fields as "plain text" format, to ensure Google Sheets does not attempt to parse it as a number or date, etc. This causes a problem in Grafana. Apparently, any cell set to "plain text" appears blank in Grafana, and it also causes Grafana to interpret the column as a "number".

Example sheet: https://docs.google.com/spreadsheets/d/1Cl0Yqy_OSpuM5OUmv0-MUT2_iARp4ycJRqscx9fGiGc

Image

Image

Query inspector data:

{
  "traceId": "518c4180994f1fa55bd2a045173e6133",
  "request": {
    "url": "api/ds/query?ds_type=grafana-googlesheets-datasource&requestId=explore_5cd",
    "method": "POST",
    "data": {
      "queries": [
        {
          "refId": "A",
          "datasource": {
            "type": "grafana-googlesheets-datasource",
            "uid": "ddj4n7owk1n9ce"
          },
          "cacheDurationSeconds": 0,
          "spreadsheet": "1Cl0Yqy_OSpuM5OUmv0-MUT2_iARp4ycJRqscx9fGiGc",
          "range": "Sheet1!A:B",
          "datasourceId": 29,
          "intervalMs": 5000,
          "maxDataPoints": 846
        }
      ],
      "from": "1725929517708",
      "to": "1725933117708"
    },
    "hideFromInspector": false
  },
  "response": {
    "results": {
      "A": {
        "status": 200,
        "frames": [
          {
            "schema": {
              "name": "A",
              "refId": "A",
              "meta": {
                "typeVersion": [
                  0,
                  0
                ],
                "custom": {
                  "hit": false,
                  "range": "Sheet1!A:B",
                  "spreadsheetId": "1Cl0Yqy_OSpuM5OUmv0-MUT2_iARp4ycJRqscx9fGiGc",
                  "warnings": []
                }
              },
              "fields": [
                {
                  "name": "Issue",
                  "type": "string",
                  "typeInfo": {
                    "frame": "string",
                    "nullable": true
                  },
                  "config": {
                    "displayName": "Issue"
                  }
                },
                {
                  "name": "Room Name",
                  "type": "number",
                  "typeInfo": {
                    "frame": "float64",
                    "nullable": true
                  },
                  "config": {
                    "displayName": "Room Name"
                  }
                }
              ]
            },
            "data": {
              "values": [
                [
                  "Missing monitor",
                  "Missing monitor"
                ],
                [
                  null,
                  null
                ]
              ]
            }
          }
        ],
        "refId": "A"
      }
    }
  }
}
@ivanahuckova ivanahuckova moved this to Backlog in OSS Big Tent Sep 27, 2024
@ivanahuckova ivanahuckova added the type/bug Unexpected behavior or a feature is broken label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Unexpected behavior or a feature is broken
Projects
Status: Backlog
Development

No branches or pull requests

2 participants