Display name in table

Hello,

i have a table in grafana (based on SQL query), and need to split the header display name with new lines, for example :
original header name:
“aa_bb_cc”
wanted header name:
“aa
bb
cc”

is it possbile in grafana ?

thanks

which database?

most db’s have a substring function where you can extract portions of strings based on position and separator characters, so using the underscore to substring aa_bb_cc into 3 columns. then you can pivot your data from columns into rows, so it’s possible to use the database to do the work and not grafana

1 Like