Show only selected Columns of a Table Panel based on

  • What Grafana version and what operating system are you using?
    Grafana Version 6.7.4
    Windows 10 Operating System

  • What are you trying to achieve?
    I have filters/variables at the top of my dashboard which applies to all the panels. I want to filter the columns from one of the panel of type table based on the selected filter.
    For example - I have variable Country with Values ALL, US, UK, IRE, AUS.
    My Table panel has columns as - ID, US, UK, IRE, AUS
    If I select ALL then table should display data for all columns (ID, US, UK, IRE, AUS)
    If I select UK then the list of columns should be (ID, UK)
    If I select US, UK then the list of columns should be (ID, US, UK)
    So, the variable should drive the table format.
    Number of rows will be the same for all the columns.

  • How are you trying to achieve it?
    I have no clue.

  • What happened?

  • What did you expect to happen?

  • 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?