datalens-tech/datalens

Aggregate markup function

Opened this issue · 0 comments

Goal - generate multiple links
Analogy with ALL_CONCAT, maybe ALL_MARKUP

Example:
Dataset:
image

Now we can create table chart - known property values:
image

Data = ALL_CONCAT([Value], "; ")
image

Currently, it is not possible to make transition to the dashboard for viewing groups that have this value.

    Data = ALL_MARKUP(
      URL(
        CONCAT("https://my_datalens/my_dashboard?Property=", [Property], "&Value=", [Value]),
        [Value]
      ),
      MARKUP("; ")
    )

or show each value on new line

    Data = ALL_MARKUP([Value], BR())