Hi,
I’m having 2 datasource.
- Data Source that gets the protocol ID and total bytes.
- Data Source that maps protocol ID and protocol name.
I combined this 2 table with transformation and displayed using Pie Chart. I want to hide the protocol number beside the naming, but if i hide it, i can’t do the data link with protocol id.

Any help or advise on this would appreciated!
Are those two (protocol and protocol id) two different fields or one? Can you share how your data looks in table format (toggle above the chart Table view
). If there are some sensitive data, you can blur them out.
Hey,
Table A (from ntopng via clickhouse)
Table B (mapping csv)
Both are different field, but I join this 2 table with field “Protocol”
This is the transformation used
Alright, I think I know how (at least I hope so
). Can you try changing the field with protocol name (I think it’s Protocol_Name protocolname) to something more accessible (like Name
). Then in the display name config (Under standard options), paste ${__data.fields["Name"]}
and it should change the legend, leaving the protocol id intact.
(I was too lazy to write every protocol mapping thus undefineds and three mails
)
1 Like
This worked! I didn’t know the data field can be used this way in display name. Thanks you so much!
1 Like