Skip to main content

UNIQUE STRING

Use the UNIQUE STRING command to return unique labels from a particular group in a specified order.


FORMAT: UNIQUE STRING (group name, order) or UNIQUE STRING (instances, group_name, order)


DEFINITIONS:

instances
: (optional) Instances that are to be searched
group_name
: Only labels within this group name will be returned
order
: The number of the unique label to select. If set to 3, the 3rd unique label from that group will be returned

EXAMPLE 1:

show UNIQUE STRING (“Player”, 1)

This will show the first unique label from the group “Player” in the data source

EXAMPLE 2:

show UNIQUE STRING (“Player”, 4)

This will show the fourth unique label from the group “Player” in the data source

EXAMPLE 3:

$var01 = instances where row = “Passes”
show UNIQUE STRING ($var01, “Player”, 3)

This will show the third unique label from the group “Player” in the row “Passes”

EXAMPLE 4:

$var01 = “Team”.“Team A”
show UNIQUE STRING ($var01, “Player”, 1)

This will show the first unique label from the group “Player” and also contain the label “Team A”