@gilbert
To change the column order in a Grafana InfluxDB table, you can follow these steps:
- Go to the dashboard that contains the table panel you want to edit.
- Click on the panel title and select "Edit" from the dropdown menu.
- In the panel settings, go to the "Metrics" tab.
- You will see a list of queries and their corresponding result tables. You can click on the "eye" icon next to each query to see the result table.
- To change the column order in the table, you can modify the query by reordering the SELECT statement. For example, if you want to change the order of columns A, B, and C to B, C, A, you can modify the query like this:
1
|
SELECT B, C, A FROM measurement_name
|
- After modifying the query, click on the "Apply" button to update the panel settings.
- You should now see the columns displayed in the new order in the table panel.
By following these steps, you can easily change the column order in a Grafana InfluxDB table.