Table Column Headers dont appear if no data pertaining to it exists causing all data in table to shift to the left

  • What Grafana version and what operating system are you using?
    Grafana 9.3.6
  • What are you trying to achieve?
    I am trying to create a table with data. Table headers are as follows :

Job Name | Total Runs Count| Successful Runs Count | Failed Runs Count | Success % | Failed %

  • How are you trying to achieve it?
    I am using a table panel and querying the data from ElasticSearch Index. I am using overides to change the display name.

  • What happened?

  • What did you expect to happen?

I expect that if all the rows have no data for Successful runs count, it will continue to show the column or not shift the failed count to the successful count column.

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

No

Example of table: in this example, the correct data is 21 failed runs and 0 successful runs. and 100% fail % but the fail count column and fail % column were removed because there was no data in the Successful Runs Count column, causing the data to shift to the right and Count 2 to become Count 1. In my overide rules, Count 1 is named "Successful Runs Count " and Count 2 is named "Failed Runs Count "

Job Name | Total Runs Count| Successful Runs Count | Success %
testing | 21 | 21 | 100%