While assessing grafana business table I am wondering whether this plugin allow for a flexible/variable number of columns depdending on query results (which is a standard behaviour in the basic table).
As per my understanding and tests columns need to be identified in the dashboard configuration and cannot automatically adapt to the resultset.
Is this understanding correct ?
Is there any plan to allow this kind of flexibility in business tables ?
What Grafana version and what operating system are you using? Grafana 13.1
What are you trying to achieve?
Build/display tables with dynamic number of columns depending on data fetched through an opensearch query
How are you trying to achieve it?
Use a grafana business table to display results of an opensearch ppl query that would return in variable number of columns/information depending on context (context being defined through a dashboard variable populated through a data link when opening dashboard from another dashboard)
What happened?
I cannot find a way to configure the business table to display all columns/fields returned by the query
What did you expect to happen?
Being provided with all avaialble fields in te business table
Can you copy/paste the configuration(s) that you are having problems with?
N/A
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
N/A
The native Table panel’s built in pagination is client-side → it fetches the full query result and paginates the rows in the browser. The pagination setting doesn’t limit the data returned by the query.
Business Table has a Query pagination mode that fetches only the records needed for the current page. It uses dashboard variables (pageIndex, offset and pageSize, depending on your data source), which your query must use to implement pagination. A Total Count Field setting lets the panel show the number of pages. See the
Business Table pagination documentation
For your requirements →
Native Table: adapts to the fields returned by the query, but its built in pagination is client side. Business Table: supports query-driven server side pagination, but its columns must be configured in advance.
If you need server side pagination, Business Table is worth testing with your OpenSearch PPL query. The current version (3.6.8) requires Grafana 12.3.0 or later, so it covers your 13.1.