Concat(

    GroupBy(

        'CollectionName',

        "IdentityColumn",

        "GroupedData",

        "NameColumn"

    ),

    If(

        CountRows("GroupedData") = 1,

        "GroupedData[@NameColumn]",

        Concatenate(

            "GroupedData[@NameColumn]",

            ", ",

            "GroupedData[@NameColumn]",

            GroupedData,

            ", "

        )

    ),

    " "

)

Comments

Popular posts from this blog

Bulk update and delete using SPservice in SharePoint

Javascript function to populate from query string