label(labeled: link) -> string

Returns the display string label for a labeled reference value.

For a link-typed argument, label resolves the linked row's label field (introducing a lookup when needed). For a dataset-reference argument, it resolves that dataset's configured label. See set_link and dataset reference documentation for how labels are defined.

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

filter label(^cluster) = "apiserver"

Filters rows by comparing the linked row's display string from label against a literal cluster name.